[XeTeX] selecting feature in Devanagari MT with fontspec

Jonathan Kew jonathan_kew at sil.org
Sat Aug 6 18:41:03 CEST 2005


On 5 Aug 2005, at 5:49 am, Yves Codet wrote:

>
> Le 5 août 05, à 10:03, Will Robertson a écrit :
>
>
>> \newfontinstance\devanagarifont[Ligatures=Rare]{Devanagari MT}
>>
>
> I tried the above but this time I got this error:
>
> ! Font \zf at fonttwo=Devanagari MT/B at 10.0pt not loadable: ATSUI  
> font not found
> .
> \ifEqFonts ...fi \font \zf at fonttwo = "#2" at 10pt
>                                                   \edef \@tempb  
> {\fontname \...
> l.7 ...vanagarifont[Ligatures=Rare]{Devanagari MT}
>
> It seems to say that the boldface font is absent, it's there though.

The automatic selection of bold and italic faces using the /B and /I  
modifiers (rather than loading the fonts via explicit names) seems to  
fail in some cases, particularly non-Latin fonts. The workaround  
(until I fix XeTeX) is to use the fontspec BoldFont=... option to  
specify the bold font (check the fontspec documentation in case I  
haven't remembered this accurately).

J.



More information about the XeTeX mailing list