[XeTeX] Linux Libertine font problem
David Perry
hospes.primus at verizon.net
Thu Aug 6 04:22:50 CEST 2009
It doesn't matter what the actual font files are named, as long as the
internal tables use the same name. In other words, you could have four
files called dogs.ttf, cats.ttf, goldfish.ttf, and hamsters.ttf; but if
the fontmaker gave them all the name "Animals" in the fonts' name tables
and set the appropriate bits to indicate normal, bold, italic, and bold
italic, fontspec will find them. That's why fontspec requires you to
use the display name, which is the name used internally by the font,
rather than the actual font filename. Now, if you have something other
than the usual four suspects, then you have to specifically tell
fontspec (e.g., if you have an old font with small capitals in a
separate font, or you want to use a nonstandard family such as "Animals
Demi" as the boldface version for "Animals Light."
David
Alain Delmotte wrote:
> Isn't a problem that the font is in multiple files: Re, Bd, BI, It, C_Re
> Shouldn't they be called by something like:
> \fontspec[SmallCapsFont=Linux Libertine O Capitals,BoldFont=Linus
> Libertine O Bold,....]{Linux Libertine O}
More information about the XeTeX
mailing list