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 | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/fonts/amiri/sources/local.fea b/Master/texmf-dist/doc/fonts/amiri/sources/local.fea index c1f63929cc2..91ad54df610 100644 --- a/Master/texmf-dist/doc/fonts/amiri/sources/local.fea +++ b/Master/texmf-dist/doc/fonts/amiri/sources/local.fea @@ -1,16 +1,8 @@ +#ifndef QURAN lookup loclPunct { sub period by period.ara; - sub guillemotleft by guillemotleft.ara; - sub guillemotright by guillemotright.ara; - sub braceleft by braceleft.ara; - sub bar by bar.ara; - sub braceright by braceright.ara; - sub bracketleft by bracketleft.ara; - sub bracketright by bracketright.ara; - sub parenleft by parenleft.ara; - sub parenright by parenright.ara; - sub slash by slash.ara; } loclPunct; +#endif lookup loclUrduDigits { sub [uni06F4 uni06F6 uni06F7] by [uni06F4.urd uni06F6.urd uni06F7.urd]; @@ -21,38 +13,48 @@ lookup loclSindhiDigits { } loclSindhiDigits; feature locl { +#ifndef QURAN script arab; language ARA; lookup loclPunct; - sub at by at.ara; +#endif language URD exclude_dflt; lookup loclUrduDigits; +#ifndef QURAN lookup loclPunct; +#endif language SND exclude_dflt; lookup loclSindhiDigits; +#ifndef QURAN lookup loclPunct; +#endif } 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 +// 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; - sub at by at.ara; +#endif language URD exclude_dflt; lookup loclUrduDigits; +#ifndef QURAN lookup loclPunct; +#endif language SND exclude_dflt; lookup loclSindhiDigits; +#ifndef QURAN lookup loclPunct; +#endif } ccmp; |