[XeTeX] Language-specific glyphs

Jonathan Kew jonathan_kew at sil.org
Thu Feb 14 00:01:57 CET 2008


On 13 Feb 2008, at 8:21 pm, Adam Twardoch wrote:

> Dragan Zlatkovic wrote:
>>>    \setmainfont[Script=Cyrillic,Language=Serbian]{Garamond  
>>> Premier Pro}
>>>
> What if you expliclitly enable the "locl" OpenType feature?

Yes, I think that's the missing piece; this feature is only enabled  
by default for CJK scripts.

I'm not sure offhand if there's a predefined fontspec keyword for  
this; if not, you could do it with

   \setmainfont[Script=Cyrillic,
                Language=Serbian,
                RawFeature={+locl}]{Garamond Premier Pro}

and you should get the Serbian forms.

JK



More information about the XeTeX mailing list