[XeTeX] Getting completely the wrong glyphs when using characters from Latin Extended B
Khaled Hosny
khaledhosny at eglug.org
Mon Jan 18 23:51:26 CET 2010
On Mon, Jan 18, 2010 at 03:41:14PM +0000, Philip TAYLOR wrote:
>
>
> Akira Kakuto wrote:
>
> >Please try
> >\setmainfont{Lucida Sans Unicode}
> >without quotation, when you use fontspec.
>
> Khaled Hosny wrote:
>
> > You don't need the quotes here, fontspec already add them, I guess the
> > actual font definition will be now something like
> > \font\whatever=""Lucida Sans Unicode""
>
> Thanks Akira & Khaled, but now I am confused again ...
>
> In an earlier thread (see below), Joanthan Kew said
> that string quotes were necessary if one was trying
> to reference a TTF/OTF/Type-1 font rather than a
> TFM-based (TeX) font. How, then, does \setmainfont
> know whether I want a TTF/OTF/Type-1 font rather than a
> TFM-based (TeX) font if I am not permitted to use quotation
> marks to indicate that I want the former ?
AFAIK, fontspec doesn't support loading TFM based fonts, it doesn't make
much sense, so fontspec assumes that whatever you pass to fontspec
commands is a system font and the quotes are always added. If you want
TFM fonts then you've to use the good old LaTeX .fd files etc.
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the XeTeX
mailing list