diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/amiri/sources/kerning.fea')
-rw-r--r-- | Master/texmf-dist/doc/fonts/amiri/sources/kerning.fea | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/fonts/amiri/sources/kerning.fea b/Master/texmf-dist/doc/fonts/amiri/sources/kerning.fea index 92a195b3631..063c81af158 100644 --- a/Master/texmf-dist/doc/fonts/amiri/sources/kerning.fea +++ b/Master/texmf-dist/doc/fonts/amiri/sources/kerning.fea @@ -12,7 +12,7 @@ @Kaf_1 = [@aKaf.init_KafHeh @aKaf.init_KafMemIsol]; @Kaf_2 = [@aKaf.init_KafBaaInit @aKaf.init_KafMemAlf]; -@Kaf_3 = [@aKaf.init @aKaf.init_KafLam]; +@Kaf_3 = [@aKaf.init @aKaf.init_KafLam @aGaf.isol]; @Kaf_4 = [@aKaf.init_KafYaaIsol]; @Kaf_5 = [@aKaf.init_KafMemInit @aKaf.init_KafRaaIsol]; @Raa_1 = [@RaaWaw @aDal.fina @aDal.isol @aDal.fina_BaaDal @aDal.fina_KafDal @@ -32,6 +32,17 @@ feature kern { pos @Dal_1' <-400 0 -400 0> @Kaf_4; } kern; +lookup YaaBari3Kern { + pos @aAyn.init <0 0 440 0>; + pos @aFaa.init <0 0 710 0>; + pos @aHeh.init <0 0 400 0>; + pos @aLam.init <0 0 955 0>; + pos @aMem.init <0 0 520 0>; + pos @aSen.init <0 0 150 0>; + pos @aTaa.init <0 0 150 0>; + pos uni06BE.init <0 0 400 0>; +} YaaBari3Kern; + feature kern { lookupflag IgnoreMarks; pos @RaaWaw' <-600 0 -600 0> @Kaf_5; @@ -52,6 +63,14 @@ feature kern { // +ve kern so that the tail of raa/waw does not touch the dot of baa pos @1st_2' < 170 0 170 0> @aBaaDotBelow; + + // increase advance width for first glyph in 3-letter Baree Yaa ligatures + pos [@aAyn.init @aFaa.init @aHeh.init @aLam.init + @aMem.init @aSen.init @aTaa.init uni06BE.init]' lookup YaaBari3Kern + @aBaa.medi_YaaBari; + + pos [@aAlf.isol @Alf_2]' <200 0 200 0> @aBaa.init_BaaNonIsol; + pos [@aAlf.isol @Alf_2]' <300 0 300 0> @aBaa.init_BaaRaaIsol; } kern; // we don't want to ignore marks here |