-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhussaini-nastaleeq.fea
55 lines (45 loc) · 2.43 KB
/
hussaini-nastaleeq.fea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
languagesystem arab dflt;
# fix teh marbuta dots clash in the words تختة, تخنة, تخئة, تخثة and تخٹة.
feature mark {
# ignore all marks except the dots we match against
@Dots = [twodotshorizontalabove dotabove hamzaabove threedotsupabove tahabove];
lookupflag UseMarkFilteringSet @Dots;
pos uni0628.8 [twodotshorizontalabove dotabove hamzaabove] uni06C1.1 twodotshorizontalabove' <0 650 0 0>;
pos uni0628.8 [threedotsupabove tahabove] uni06C1.1 twodotshorizontalabove' <0 1000 0 0>;
@DotsBelow = [dotbelow twodotshorizontalbelow threedotsdownbelow];
lookupflag UseMarkFilteringSet @DotsBelow;
pos [twodotshorizontalbelow threedotsdownbelow]' <200 0 0 0>
glyph107' <0 0 0 0>
[twodotshorizontalbelow threedotsdownbelow]' <-200 -150 0 0>;
pos dotbelow' <150 0 0 0>
glyph107' <0 0 0 0>
[twodotshorizontalbelow threedotsdownbelow]' <0 -150 0 0>;
} mark;
# یرِ
feature mark {
@TwoDotsAndKasra = [twodotshorizontalbelow uni0650];
lookupflag UseMarkFilteringSet @TwoDotsAndKasra;
pos uni0628.1 twodotshorizontalbelow' <150 0 0 0> glyph65 uni0650' <0 50 0 0>;
pos uni0628.1 twodotshorizontalbelow' <150 0 0 0> uni0650 glyph65 uni0650' <0 50 0 0>;
} mark;
# vowel marks above dots/shadda
feature mkmk {
markClass [uni064E uni064B] <anchor 20 -102> @mkmkA;
markClass [uni064F] <anchor -61 -122> @mkmkA;
markClass [uni0651 uni064C uni0657] <anchor 0 0 > @mkmkA;
markClass [uni0652 uni06E1] <anchor -10 -71 > @mkmkA;
markClass [uni0658] <anchor 51 30 > @mkmkA;
pos mark [dotabove twodotshorizontalabove] <anchor 0 500> mark @mkmkA;
pos mark [threedotsupabove] <anchor 0 800> mark @mkmkA;
pos mark [tahabove] <anchor -20 700> mark @mkmkA;
pos mark [uni0654 hamzaabove] <anchor 20 300> mark @mkmkA;
pos mark [uni0651] <anchor 50 350> mark @mkmkA;
} mkmk;
# vowel marks below dots/shadda
feature mkmk {
markClass [uni0650] <anchor 20 81 > @mkmkB;
markClass [uni064D] <anchor 20 153> @mkmkB;
pos mark [dotbelow twodotshorizontalbelow] <anchor 0 -500> mark @mkmkB;
pos mark [twodotsverticalbelow threedotsdownbelow fourdotsbelow] <anchor 0 -800> mark @mkmkB;
pos mark [uni0651] <anchor 10 -150> mark @mkmkB;
} mkmk;