Skip to content

Commit

Permalink
Use low final seen after teeth
Browse files Browse the repository at this point in the history
Fixes #23
  • Loading branch information
khaledhosny committed Jan 7, 2024
1 parent 51a2e84 commit 8d821fd
Show file tree
Hide file tree
Showing 8 changed files with 144 additions and 9 deletions.
Binary file modified docs/assets/fonts/Raqq.woff2
Binary file not shown.
Binary file modified fonts/Raqq.ttf
Binary file not shown.
Binary file modified fonts/Raqq.woff2
Binary file not shown.
14 changes: 10 additions & 4 deletions sources/Raqq.glyphspackage/fontinfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ lookup med_beh {
lookup low_seen {
sub seen-ar.medi by seen-ar.medi.low;
sub seen-ar.fina by seen-ar.fina.low;
} low_seen;
lookup rlig_teeth_1 {
Expand Down Expand Up @@ -565,10 +566,10 @@ lookup rlig_teeth_3 {
ignore
sub [behDotless-ar.init.high behDotless-ar.medi.high]
[behDotless-ar.init behDotless-ar.medi]'
[seen-ar.fina ain-ar.medi ain-ar.fina heh-ar.fina heh-ar.medi]
[ain-ar.medi ain-ar.fina heh-ar.fina heh-ar.medi]
;
sub [behDotless-ar.init behDotless-ar.medi]' lookup high_beh
[seen-ar.fina ain-ar.medi ain-ar.fina]
[ain-ar.medi ain-ar.fina]
;
sub behDotless-ar.init' lookup high_beh
Expand All @@ -585,11 +586,11 @@ lookup rlig_teeth_3 {
;
sub [behDotless-ar.init behDotless-ar.medi]' lookup med_beh
[seen-ar.medi]' lookup low_seen
[seen-ar.medi seen-ar.fina]' lookup low_seen
;
sub [fehDotless-ar.medi meem-ar.init meem-ar.medi hah-ar.init hah-ar.medi]
seen-ar.medi' lookup low_seen
[seen-ar.medi seen-ar.fina]' lookup low_seen
;
} rlig_teeth_3;
";
Expand Down Expand Up @@ -756,6 +757,11 @@ lookup rlig_sheen_dots {
[threedotshorizontalabove-ar]'
by [threedotshorizontalabove-ar.4]
;
sub [seen-ar.fina.low]
[threedotshorizontalabove-ar]'
by [threedotshorizontalabove-ar.5]
;
} rlig_sheen_dots;
@beh1_dots = [dotabove-ar twodotsverticalabove-ar threedotsupabove-ar
Expand Down
94 changes: 94 additions & 0 deletions sources/Raqq.glyphspackage/glyphs/seen-ar.fina.low.glyph
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
glyphname = "seen-ar.fina.low";
kernLeft = seen.isol;
kernRight = beh;
layers = (
{
anchors = (
{
name = entry;
pos = (487,0);
},
{
name = fatha;
pos = (298,324);
},
{
name = kasra;
pos = (343,-241);
},
{
name = top;
pos = (280,192);
}
);
layerId = m01;
shapes = (
{
alignment = -1;
pos = (0,-83);
ref = "noonghunna-ar";
},
{
closed = 1;
nodes = (
(500,0,l),
(500,110,l),
(485,110,o),
(485,139,o),
(479,271,cs),
(478,290,o),
(466,289,o),
(456,271,cs),
(439,241,o),
(428,207,o),
(390,195,cs),
(379,191,o),
(377,185,o),
(378,172,cs),
(380,126,o),
(382,120,o),
(409,83,c),
(408,111,l),
(377,146,o),
(347,197,o),
(327,258,cs),
(324,268,o),
(316,266,o),
(313,257,cs),
(293,202,o),
(271,180,o),
(245,167,cs),
(238,163,o),
(235,158,o),
(239,149,cs),
(263,94,o),
(274,76,o),
(291,51,c),
(265,128,l),
(252,133,o),
(241,140,o),
(231,152,c),
(231,0,l)
);
}
);
width = 487;
},
{
associatedMasterId = m01;
layerId = "0274AD99-FFA9-4811-AD80-170E3C36CBC7";
name = "4 Apr 23 at 00:00";
shapes = (
{
alignment = -1;
pos = (382,0);
ref = "behDotless-ar.medi";
}
);
width = 510;
}
);
metricLeft = "=noonghunna-ar";
metricRight = "=seen-ar.medi.low";
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
glyphname = "threedotshorizontalabove-ar.5";
layers = (
{
anchors = (
{
name = _top;
pos = (285,67);
}
);
layerId = m01;
shapes = (
{
angle = 9.4;
pos = (375,67);
ref = "dotabove-ar";
},
{
pos = (0,-31);
ref = "dotabove-ar";
},
{
angle = 11;
pos = (228,36);
ref = "dotabove-ar";
}
);
width = 467;
}
);
metricLeft = "=dotabove-ar";
metricRight = "=dotabove-ar";
}
2 changes: 2 additions & 0 deletions sources/Raqq.glyphspackage/order.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ space,
"reh-ar.fina",
"seen-ar",
"seen-ar.fina",
"seen-ar.fina.low",
"seen-ar.medi",
"seen-ar.medi.low",
"seen-ar.init",
Expand Down Expand Up @@ -166,6 +167,7 @@ dottedCircle,
"threedotshorizontalabove-ar.2",
"threedotshorizontalabove-ar.3",
"threedotshorizontalabove-ar.4",
"threedotshorizontalabove-ar.5",
"hamza-ar",
"hamza-ar.alt",
"hamza_fatha-ar",
Expand Down
10 changes: 5 additions & 5 deletions tests/shaping.json
Original file line number Diff line number Diff line change
Expand Up @@ -1567,7 +1567,7 @@
},
{
"input": "بش",
"expectation": "threedotshorizontalabove-ar.4=1@6,222+0|seen-ar.fina=1+510|dotbelow-ar=0@81,-46+0|_c.seen.beh=0+0|behDotless-ar.init.high=0+130"
"expectation": "threedotshorizontalabove-ar.5=1@-5,125+0|seen-ar.fina.low=1+487|dotbelow-ar=0@72,-46+0|_c.seen.beh=0+0|behDotless-ar.init.med=0+130"
},
{
"input": "بع",
Expand Down Expand Up @@ -1623,7 +1623,7 @@
},
{
"input": "حس",
"expectation": "seen-ar.fina=1+510|_c.hah.beh=0+7|hah-ar.init=0+703"
"expectation": "seen-ar.fina.low=1+487|_c.hah.beh=0+7|hah-ar.init=0+703"
},
{
"input": "حض",
Expand Down Expand Up @@ -2421,7 +2421,7 @@
},
{
"input": "بسٍ",
"expectation": "kasratan-ar.alt=1@268,-383+0|seen-ar.fina=1+510|dotbelow-ar=0@81,-46+0|_c.seen.beh=0+0|behDotless-ar.init.high=0+130"
"expectation": "kasratan-ar.alt=1@268,-383+0|seen-ar.fina.low=1+487|dotbelow-ar=0@72,-46+0|_c.seen.beh=0+0|behDotless-ar.init.med=0+130"
},
{
"input": "بشي",
Expand Down Expand Up @@ -3157,7 +3157,7 @@
},
{
"input": "ليس",
"expectation": "seen-ar.fina=2+510|twodotsverticalbelow-ar=1@14,-137+0|_c.seen.beh=1+0|behDotless-ar.medi.high=1+128|_c.seen.beh=0+0|lam-ar.init=0+123"
"expectation": "seen-ar.fina.low=2+487|twodotsverticalbelow-ar=1@17,-137+0|_c.seen.beh=1+0|behDotless-ar.medi.med=1+128|_c.seen.beh=0+0|lam-ar.init=0+123"
},
{
"input": "متا",
Expand Down Expand Up @@ -3365,7 +3365,7 @@
},
{
"input": "نفس",
"expectation": "seen-ar.fina=2+510|dotabove-ar=1@1,329+0|_c.feh.medi.beh=1+0|fehDotless-ar.medi=1+377|dotabove-ar=0@2,299+0|_c.seen.beh=0+0|behDotless-ar.init=0+130"
"expectation": "seen-ar.fina.low=2+487|dotabove-ar=1@1,329+0|_c.feh.medi.beh=1+0|fehDotless-ar.medi=1+377|dotabove-ar=0@2,299+0|_c.seen.beh=0+0|behDotless-ar.init=0+130"
},
{
"input": "نفض",
Expand Down

0 comments on commit 8d821fd

Please sign in to comment.