[XeTeX] Fwd: Re: [texhax] Defining a new font in Plain Tex

Khaled Hosny khaledhosny at eglug.org
Thu Jan 14 11:09:08 CET 2010


On Thu, Jan 14, 2010 at 10:59:50AM +0100, Ulrike Fischer wrote:
> Am Wed, 13 Jan 2010 20:22:35 +0000 schrieb Philip TAYLOR:
> 
> > Incidentally, it is also unclear to me whether one could
> > have two or more fonts of identical name but of different
> > technologies (say, Optima as TTF, OTF and Type-1) all
> > installed at the same time
> 
> This can be problematic. There has be a few discussion about it on
> this list, and there were also some message about people having
> problems because XeTeX choose the "wrong" font when two or more
> alternatives where in the search pathes. 
> 
> You can always force xetex to use a specific font with the "external
> location" syntax \font\myfont = [path/to/the/font]. 

Actually it is \font\myfont = "[path/to/the/font]", otherwise it will be
seen as TFM font and kpathsea will complain about "Invalid fontname ...
contains '['"

Regards,
 Khaled

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


More information about the XeTeX mailing list