From owner-freebsd-questions@FreeBSD.ORG Tue Jan 21 11:45:32 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6603B6A9 for ; Tue, 21 Jan 2014 11:45:32 +0000 (UTC) Received: from eu1sys200aog123.obsmtp.com (eu1sys200aog123.obsmtp.com [207.126.144.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B72101398 for ; Tue, 21 Jan 2014 11:45:31 +0000 (UTC) Received: from mail-wg0-f44.google.com ([74.125.82.44]) (using TLSv1) by eu1sys200aob123.postini.com ([207.126.147.11]) with SMTP ID DSNKUt5d1LxwI0XSJ6SgGFkGKPK9iWtbAINS@postini.com; Tue, 21 Jan 2014 11:45:31 UTC Received: by mail-wg0-f44.google.com with SMTP id l18so7790685wgh.23 for ; Tue, 21 Jan 2014 03:45:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:reply-to :in-reply-to; bh=V80pIA13OEnrx3Cyb+l3mfSqytBase7ucrUZm+BGq5o=; b=cSXat/OTKwJowgiE5tbeyX1M/rEw1DG1WJppi+4owOBXCNNVv2bcfhk478tMMMLiZ+ Lkx3BjXAnwp7kMcO8+WhHr9Z1bifTL7foM+fzEg028ASl5fnJCinFcYbhQ4lmmn2zgzQ IQhmdCd1CxDtwVNoPw34NFWgnawkGtfpOqFcvvG6wUnqY+3/LL8UD23ef9qV1AhR2QLh o9M3Z1y/yQuREFDDXlTlwAD6R/rbIiLui2o5gsvv4P2pMEY7oHhuLbxNjF3dM105pu5+ R5vstxFoUoRkakyS2x4ZMjVPL8nu6CEc0V3XCKiHRNwnEPaUlgQOdAT2/ANTeZfFeQI3 rQVQ== X-Received: by 10.194.82.69 with SMTP id g5mr141230wjy.85.1390304238065; Tue, 21 Jan 2014 03:37:18 -0800 (PST) X-Gm-Message-State: ALoCoQlxxaIaCV60NU1a2s0n90jVxPlO81YY2Lr0I8ve1lhw322IGm8UUFZFKtg9X+TB36c2W7NlLfISA0tBRwcx1A2XAUGGQ/qOtNcfWi8izS3LVfxrhpNpszErHXV0SmaMZMp4oeb+/eBtz7VzhppEQh7GBBkELb2ySo9C967fpoKEeUvQS1JLBFkwm46ySUnMPiStXHfw X-Received: by 10.194.82.69 with SMTP id g5mr141221wjy.85.1390304237974; Tue, 21 Jan 2014 03:37:17 -0800 (PST) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id y13sm7248715wjr.8.2014.01.21.03.37.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jan 2014 03:37:17 -0800 (PST) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id s0LBbEGG017783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 21 Jan 2014 11:37:15 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id s0LBbEE9017782; Tue, 21 Jan 2014 11:37:14 GMT (envelope-from mexas) Date: Tue, 21 Jan 2014 03:37:17 -0800 (PST) From: Anton Shterenlikht Message-Id: <201401211137.s0LBbEE9017782@mech-cluster241.men.bris.ac.uk> To: cjr@cruwe.de, freebsd-questions@freebsd.org Subject: Re: texlive fonts configuration: cannot find Arial, Times In-Reply-To: <20140120135140.0aafbaaf@dijkstra.cruwe.de> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 11:45:32 -0000 >Date: Mon, 20 Jan 2014 13:51:40 +0100 >From: "Christopher J. Ruwe" >To: freebsd-questions@freebsd.org >Subject: Re: texlive fonts configuration: cannot find Arial, Times > >On Mon, 20 Jan 2014 11:40:40 +0100 >Polytropon wrote: > >> 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. :-) >> >> >> > >If by some reasons such as e.g. "customer demand" you are forced to >use fonts normally not available in common latex, you can try xetex. > >Then, you have all fonts available which are pulled in by fc-cache and >declare for instance > >\setmainfont[Ligatures=TeX]{Avenir LT Std 35 Light} > >Cheers, !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" ! ! The font "Avenir LT Std 35 Light" cannot be found. ! ! See the fontspec documentation for further information. ! ! For immediate help type H . !............................................... l.32 ...ont[Ligatures=TeX]{Avenir LT Std 35 Light} It seems fontspec cannot find this font. So do I only have availble what is returned by fc-list? Thanks Anton