diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/amiri/sources/local.fea')
-rw-r--r-- | Master/texmf-dist/doc/fonts/amiri/sources/local.fea | 67 |
1 files changed, 18 insertions, 49 deletions
diff --git a/Master/texmf-dist/doc/fonts/amiri/sources/local.fea b/Master/texmf-dist/doc/fonts/amiri/sources/local.fea index 7a13f60a9b6..f55b2163d7e 100644 --- a/Master/texmf-dist/doc/fonts/amiri/sources/local.fea +++ b/Master/texmf-dist/doc/fonts/amiri/sources/local.fea @@ -1,62 +1,31 @@ #ifndef QURAN -lookup loclPunct { - sub period by period.ara; -} loclPunct; -#endif - -lookup loclUrdu { - sub [uni06F4 uni06F6 uni06F7] by [uni06F4.urd uni06F6.urd uni06F7.urd]; - sub uni0657 by uni0657.urd; -} loclUrdu; - -lookup loclSindhi { - sub [uni06F6 uni06F7] by [uni06F6.urd uni06F7.urd]; - sub uni0657 by uni0657.urd; -} loclSindhi; +# The Quran font does not have a separate period.ara glyph, it is the default +# glyph. +lookup loclPeriod { + sub period by period.ara; +} loclPeriod; feature locl { -#ifndef QURAN script arab; + language ARA; - lookup loclPunct; -#endif + lookup loclPeriod; - language URD exclude_dflt; - lookup loclUrdu; -#ifndef QURAN - lookup loclPunct; -#endif + language URD; + lookup loclPeriod; - language SND exclude_dflt; - lookup loclSindhi; -#ifndef QURAN - lookup loclPunct; -#endif + language SND; + lookup loclPeriod; } locl; - - -// some implementations (e.g ICU) does not support ‘locl’ feature for Arabic -// script, so we work around this by using ‘ccmp’ registered for the needed -// languages, which should essentially give the same result. -// -// XXX: always sync with ‘locl’ feature above - -feature ccmp { -#ifndef QURAN - script arab; - language ARA; - lookup loclPunct; #endif +feature locl { + script arab; language URD exclude_dflt; - lookup loclUrdu; -#ifndef QURAN - lookup loclPunct; -#endif + sub [uni06F4 uni06F6 uni06F7] by [uni06F4.urd uni06F6.urd uni06F7.urd]; + sub uni0657 by uni0657.urd; language SND exclude_dflt; - lookup loclSindhi; -#ifndef QURAN - lookup loclPunct; -#endif -} ccmp; + sub [uni06F6 uni06F7] by [uni06F6.urd uni06F7.urd]; + sub uni0657 by uni0657.urd; +} locl; |