[XeTeX] fontconfig and the same name fonts
Will Robertson
wspr81 at gmail.com
Sun Apr 29 04:40:54 CEST 2007
On 29/04/2007, at 11:50 , Nikola Lecic wrote:
> Is there any recommended method in situation when we have OTF and
> TTF font with the same name and need to have both installed? (GFS
> fonts are a good example: download any pair from http://
> www.greekfontsociety.org.) In such cases, fc-list lists only one
> name, despite inspecting and registering both files. How can we be
> sure what font file XeTeX actually uses and what fonts.conf or
> XeTeX directives can make such a situation clear?
It sounds like a funny idea to need to do this in the first place; if
you need both at once, presumably it's to test them against each
other. In which case, you could just load them without installing
them system-wide with
\font\x="[GFS Bodoni.ttf]" at 12pt% (without fontspec)
or
\newfontfamily\x[ExternalLocation]{GFS Dodoni.ttf}% (with fontspec)
Hope this helps,
Will
More information about the XeTeX
mailing list