[XeTeX] Aimwell font problem

Vafa Khalighi vafakh9 at gmail.com
Sun Jan 11 22:58:02 CET 2009


On Mon, Jan 12, 2009 at 5:22 AM, Jonathan Kew <jonathan at jfkew.plus.com>wrote:

> I downloaded one of these fonts, and ran OpenType-info.tex to see what
> features it showed. It does indeed have some OpenType features, but I
> notice that they are placed under the script tag 'dflt', rather than
> the expected 'latn'. This is why xetex is not applying them; it uses
> the Latin-script features by default, unless told otherwise with the
> 'script=....' option on the font name.
>
> When I load the font using
>
>   \font\tst = "Garava:script=dflt" at 12pt
>   \tst In this sample, ligatures like fi and fl work correctly.
>   \bye
>
> then the ligatures appear as expected.
>
> However, I'm not sure if there's a way to do this via fontspec at
> present. Anyway,



Would not

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newfontscript{DFLT}{dflt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%

work?

Then you can declare the font with the following control sequence

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setmainfont[Script=DFLT]{<font-name>}
%%%%%%%%%%%%%%%%%%%%%%%%%%%






-- 
VK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20090112/423ebf93/attachment.html 


More information about the XeTeX mailing list