From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 06:36:34 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C303E1065673 for ; Thu, 3 Jun 2010 06:36:34 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 386BC8FC13 for ; Thu, 3 Jun 2010 06:36:33 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o536aAS0020658 Received: from kobe.laptop (188.4.35.31.dsl.dyn.forthnet.gr [188.4.35.31]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o536aAS0020658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 Jun 2010 09:36:17 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o536a5nt004110 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jun 2010 09:36:05 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o536a31q004107; Thu, 3 Jun 2010 09:36:03 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20100602230415.GA30913@thought.org> Date: Thu, 03 Jun 2010 09:36:03 +0300 In-Reply-To: <20100602230415.GA30913@thought.org> (Gary Kline's message of "Wed, 2 Jun 2010 16:04:20 -0700") Message-ID: <87y6ew1v3g.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@FreeBSD.ORG Subject: Re: two questions.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 06:36:34 -0000 On Wed, 2 Jun 2010 16:04:20 -0700, Gary Kline wrote: > guys, i just found a truckload of Just Outstanding fonts. at the CTAN > .org site there must be hundreds of these superb serif typefaces. in > my /home/kline/ directory, i have a ~/.fonts directory. but it's been > awhile since i've added to it. what's the magic to getting these > tex-gyre fonts can use them? i would like these to be available for > abiword, OOo, as well as my tex packages. clues, please. Installing fonts in ~/.fonts makes them available for all the programs that use fontconfig after you run: fc-cache -v TeX and a few other applications (e.g. groff) have their own way of handling fonts. You may have to install them using a TeX-specific set of commands. Newer TeX-live installations support XeTeX too. To use a Truetype font in XeTeX you will need to copy the fonts to a path that is visible during xetex/xelatex runs and add something like this in your document's preamble: \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text} \setmainfont[Scale=0.9, BoldFont={*-Bold}, ItalicFont={*-Italic}, BoldItalicFont={*-BoldItalic}] {DejaVuSerifCondensed} \setsansfont[Scale=0.9, BoldFont={*-Bold}, ItalicFont={*-Italic}, BoldItalicFont={*-BoldItalic}] {DejaVuSansCondensed} % Monospace DejaVu fonts have to be scaled down a bit more than % their serif or sans-serif equivalents to look "nice" in print % output. \setmonofont[Scale=0.85, BoldFont={*-Bold}, ItalicFont={*-Oblique}, BoldItalicFont={*-BoldOblique}] {DejaVuSansMono} \usepackage{xunicode} \usepackage{xltxtra} This is the preamble text I use to write XeTeX documents using the DejaVu family of fonts. The results are fantastic. A sample of what these fonts yield can be seen at: http://students.ceid.upatras.gr/~keramida/free.pdf This is one of the books I converted from their HTML source to XeLaTeX when I was learning to use TrueType and OpenType fonts in TeX. Copying the DejaVu fonts in the same directory as the TeX source makes them immediately available to XeLaTeX. This is nice because you can package both the TeX source *and* the necessary fonts in the same archive :-)