[XeTeX] selecting feature in Devanagari MT with fontspec

Yves Codet ycodet at club-internet.fr
Sun Aug 7 07:40:28 CEST 2005


Le 6 août 05, à 18:41, Jonathan Kew a écrit :
>
> 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).

I had to use "BoldFont", "ItalicFont" and "BoldItalic" options to be 
able to typeset my file. The Sanskrit text is alright, but the French 
text doesn't appear.

Here is a longer sample showing that:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: conversation2.tex
Type: application/x-tex
Size: 4972 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20050807/e4a58ab7/conversation2.tex
-------------- next part --------------


With an OT font, such as "Sanskrit 2003", both Sanskrit and French are 
normally displayed in the output. But perhaps it has nothing to do with 
OTity; "Sanskrit 2003" includes Latin script, "Devanagari MT" doesn't.

Best wishes,

Yves


More information about the XeTeX mailing list