From owner-freebsd-questions@FreeBSD.ORG Mon Jan 20 10:41:12 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CCB273EC for ; Mon, 20 Jan 2014 10:41:12 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8F0461A36 for ; Mon, 20 Jan 2014 10:41:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-149-155.dynamic.qsc.de [92.195.149.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 4D3BC3CFCA; Mon, 20 Jan 2014 11:41:04 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s0KAeeQD004608; Mon, 20 Jan 2014 11:40:40 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 20 Jan 2014 11:40:40 +0100 From: Polytropon To: mexas@bris.ac.uk Subject: Re: texlive fonts configuration: cannot find Arial, Times Message-Id: <20140120114040.a69491ce.freebsd@edvax.de> In-Reply-To: <201401201022.s0KAMecZ005896@mech-cluster241.men.bris.ac.uk> References: <201401201022.s0KAMecZ005896@mech-cluster241.men.bris.ac.uk> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2014 10:41:12 -0000 On Mon, 20 Jan 2014 02:22:43 -0800 (PST), Anton Shterenlikht wrote: > Hi > > I'm starting to use texlive. > I installed texlive-full-20120701. > > I need to build a document with these > declarations: > > \usepackage{fontspec} > \usepackage{subfigure} > \setmainfont{Times New Roman} > \setsansfont{Arial} > > [...] > > I presume these basic fonts should be available > as part of the default installation, right? I don't think so. Those are fonts made by MICROS~1 to avoid licensing real fonts. :-) > So probably I haven't configured texlive fonts correctly? I'm not sure in how far TeXlive is able to pick up fonts installed on the system (usually fonts for use in X), but maybe you could try installing the "webfonts" package? It helps to make web pages look better when they have been "optimized" for use with "Windows" (i. e., explicitely requiring things like "Arial"). The results can then be found in the /usr/local/lib/X11/fonts/webfonts/ directory. > I've these directories: > > $ ls /usr/local/share/texmf-dist/fonts/ > afm enc misc ovf sfd truetype > cid fea ofm ovp source type1 > cmap map opentype pk tfm vf > > But not sure if this is enough. Those are the fonts to be used with Metafont. As I said, I'm not sure if those can interact in some way with other fonts in the systmm. Just as a sidenote: If you want a good-looking serif font, just use the CMR (Computer Modern Roman) that is the default font for many LaTeX cases. If you want a Helvetica-like font (which "Arial" is a poor replacement for), try this: \usepackage[T1]{fontenc} \usepackage[scaled]{helvet} \renewcommand{\familydefault}{\sfdefault} Note that I'm using this when I need a sans serif font, and it works in teTeX. Not sure if it will also work in TeXlive, but I assume this functionality has been kept. Also note that it isn't "the real Helvetica", but a very good variation that comes with ligatures and looks _much_ better than shabby "Arial". Maybe if you use \setmainfont{cmr} \setsansfont{helvet} you can get the same result? Again, note that I haven't tested this. But giving it a try isn't a hard exercise. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...