[XeTeX] XeLaTex and Armenian

Apostolos Syropoulos asyropoulos at yahoo.com
Tue Jul 13 23:10:52 CEST 2010


> Each OpenType feature has to be bound to a specific  set of scripts/languages,
> this has nothing to do with the  "Script/language  sensitivity" hint in the
> pages you are pointing  to.
 
No it has! One can bind more than one language/script to a particular
feature and kern and liga are exactly such features. For example, here
are the binding for the font you are mentioning:

liga: DFLT{dflt} cyrl{dflt} grek{dflt} latn{AZE ,CRT ,DEU ,MOL ,ROM ,TRK ,dflt}

kern: DFLT{dflt} cyrl{dflt} grek{dflt} latn{AZE ,CRT ,DEU ,MOL ,ROM ,TRK ,dflt}

But a quick search reveals that no feature is defined for  hebr{dflt}. 
Nevertheless, if 

the author of this font had defined

liga: DFLT{dflt} latn{dflt,AZE ,CRT ,DEU ,MOL ,ROM ,TRK } grek{dflt} cyrl{dflt} 
hebr{dflt}

then obviously your examples would produce identical output. In different words,
if a font includes glyphs for the Armenian script and the Latin script and the
kern and liga features are defined for both scripts, then there is no reason to
use different fonts. 

A.S.


----------------------
Apostolos Syropoulos
Xanthi, Greece


      



More information about the XeTeX mailing list