[XeTeX] Font nuisances

Khaled Hosny khaledhosny at eglug.org
Mon Oct 11 16:30:18 CEST 2010


On Mon, Oct 11, 2010 at 03:06:26PM +0100, Gareth Hughes wrote:
> Fr. Michael Gilmary wrote:
> > Oh, now I see what you're trying to do ... and what you've got here,
> > Gareth, works for me. You can also use:
> > 
> > \setmainfont[ItalicFont={BergamoStd-Italic},
> > BoldFont={BergamoStd-Bold},
> > BoldItalicFont={BergamoStd-BoldItalic}]{Cardo}
> 
> Yes, it looks like fontspec allows either the full name {Bergamo Std
> Bold Italic} or the PostScript name {BergamoStd-BoldItalic}. Oddly, it
> will allow the compromise of {Bergamo Std-Bold Italic}, with the full
> name with a PostScript-style hyphen between the family name and the
> subfamily name, and that's it. Trying to give the full family name with
> the PS subfamily name will not work.

This is done by the underlying engine (XeTeX), fontspec passes the names
(almost) unchanged to the engine.

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the XeTeX mailing list