[XeTeX] XeLaTex and Armenian
Khaled Hosny
khaledhosny at eglug.org
Tue Jul 13 23:31:14 CEST 2010
On Tue, Jul 13, 2010 at 02:10:52PM -0700, Apostolos Syropoulos wrote:
> > 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.
Good luck finding such font :)
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the XeTeX
mailing list