[tex-live] TeX Gyre in XeLaTeX on Linux
Will Robertson
wspr81 at gmail.com
Wed Nov 4 06:54:53 CET 2009
On 03/11/2009, at 10:01 PM, Zdenek Wagner wrote:
> how do I instruct XeLaTeX to use TeX Gyre fonts? kpsewhich finds them
> and otfinfo can show their properties:
If kpsewhich can find them, you'll always be able to load them with
\setmainfont
[
ExternalLocation,
BoldFont=texgyrepagella-bold.otf,
...
]
{texgyrepagella-regular.otf}
I want to add a feature so that any font name argument that ends
with .otf and .ttf gets "ExternalLocation" automatically. Hasn't quite
happened yet.
Because this will be the only way to load OpenType fonts in LuaLaTeX,
I'm considering adding a registry of font names to map "TeX Gyre
Pagella" to something like the above. (Especially so the bold/italic
fonts don't need to be explicitly selected.)
Funnily enough, that could even be useful in pdfLaTeX in order to load
tfm-based fonts with "normal" font names. I just never got around to
doing it, since at the time it didn't seem worth the effort (given the
relatively few number of TeX fonts around and the well-known ways to
use them anyway).
-- Will
More information about the tex-live
mailing list