Skip to content

Commit

Permalink
Hah
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Aug 22, 2024
1 parent 96b18e7 commit 37b01a7
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 2 deletions.
Binary file modified docs/assets/fonts/RaqqSura.woff2
Binary file not shown.
Binary file modified fonts/RaqqSura.ttf
Binary file not shown.
1 change: 1 addition & 0 deletions sources/RaqqSura.glyphspackage/fontinfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -1305,6 +1305,7 @@ m01 = {
"@MMK_L_feh.medi" = -3;
};
"@MMK_R_hah" = {
"@MMK_L_meem.medi" = -120;
_c.ain.meem = -39;
_c.ain.yeh = -40;
_c.hah.dal = -71;
Expand Down
106 changes: 106 additions & 0 deletions sources/RaqqSura.glyphspackage/glyphs/hah-ar.init.glyph
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ name = top;
pos = (57,236);
}
);
attr = {
colorPalette = 4;
};
backgroundImage = {
alpha = 80;
angle = -1.3;
Expand All @@ -42,6 +45,108 @@ shapes = (
{
closed = 1;
nodes = (
(615,0,l),
(631,25,o),
(666,68,o),
(703,108,c),
(600,109,o),
(249,85,o),
(101,292,c),
(77,256,o),
(34,208,o),
(5,187,c),
(50,135,o),
(107,91,o),
(167,63,c),
(173,110,l),
(-20,110,l),
(-20,0,l)
);
}
);
width = 703;
},
{
associatedMasterId = m01;
attr = {
colorPalette = 1;
};
backgroundImage = {
alpha = 80;
angle = -1.3;
imagePath = "images/MS-ADD-01116-000-00003.jpg";
locked = 1;
pos = (-2568,-3771);
scale = (5,5);
};
layerId = "5B35F2F0-09C9-4F9D-8483-5AF632161DA2";
name = "22 Aug 24 at 16:11";
shapes = (
{
closed = 1;
nodes = (
(610,10,l),
(624,32,o),
(651,65,o),
(680,98,c),
(558,97,o),
(247,88,o),
(101,275,c),
(79,244,o),
(46,207,o),
(20,186,c),
(59,141,o),
(108,104,o),
(159,78,c),
(162,100,l),
(-20,100,l),
(-20,10,l)
);
}
);
width = 703;
},
{
anchors = (
{
name = bottom;
pos = (250,-40);
},
{
name = damma;
pos = (38,142);
},
{
name = exit;
},
{
name = fatha;
pos = (406,177);
},
{
name = kasra;
pos = (478,-52);
},
{
name = top;
pos = (57,236);
}
);
associatedMasterId = m01;
backgroundImage = {
alpha = 80;
angle = -1.3;
imagePath = "images/MS-ADD-01116-000-00003.jpg";
locked = 1;
pos = (-2568,-3771);
scale = (5,5);
};
layerId = "00298238-1F99-4232-8533-2EE669AFDD51";
name = "22 Aug 24 at 16:09";
shapes = (
{
closed = 1;
nodes = (
(123,-1,o),
(433,6,o),
(576,6,cs),
Expand Down Expand Up @@ -75,6 +180,7 @@ nodes = (
);
}
);
visible = 1;
width = 703;
}
);
Expand Down
1 change: 1 addition & 0 deletions sources/RaqqSura.glyphspackage/glyphs/meem-ar.medi.glyph
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
glyphname = "meem-ar.medi";
kernLeft = meem;
kernRight = meem.medi;
layers = (
{
anchors = (
Expand Down
4 changes: 2 additions & 2 deletions tests/shaping.json
Original file line number Diff line number Diff line change
Expand Up @@ -4348,7 +4348,7 @@
"input": "حما",
"expectation": {
"default": "alef-ar.fina=2+101|_c.seen.beh=1+0|meem-ar.medi=1+380|_c.ain.meem=0@13,0+48|hah-ar.init=0@-39,0+664",
"RaqqSura.ttf": "alef-ar.fina=2+90|meem-ar.medi=1@-28,0+352|hah-ar.init=0+703"
"RaqqSura.ttf": "alef-ar.fina=2+90|meem-ar.medi=1@-28,0+352|hah-ar.init=0@-120,0+583"
}
},
{
Expand Down Expand Up @@ -10286,7 +10286,7 @@
"input": "التمنفحمد",
"expectation": {
"default": "dal-ar.fina=8+875|meem-ar.medi=7+380|_c.ain.meem=6@13,0+48|hah-ar.medi=6@-39,0+94|dotabove-ar=5@1,451+0|fehDotless-ar.medi=5@0,122+377|dotabove-ar.beh=4@8,416+0|_c.seen.beh=4@0,122+0|behDotless-ar.medi=4@0,122+128|_c.seen.beh=3@0,122+0|meem-ar.medi.round=3@0,122+425|twodotsverticalabove-ar.beh=2@-59,400+0|behDotless-ar.medi.round=2@0,122+108|_c.seen.beh=1@0,122+0|lam-ar.init.hah1=1@0,7+123|alef-ar=0@395,0+1053",
"RaqqSura.ttf": "dal-ar.fina=8+875|meem-ar.medi=7@-28,0+352|hah-ar.medi=6+133|dotabove-ar=5@1,451+0|fehDotless-ar.medi=5@0,122+377|dotabove-ar.beh=4@-15,419+0|behDotless-ar.medi=4@0,122+100|meem-ar.medi.round=3@0,122+425|twodotsverticalabove-ar.beh=2@-41,427+0|behDotless-ar.medi.round=2@-6,122+104|lam-ar.init.hah1=1@0,7+123|alef-ar=0+652"
"RaqqSura.ttf": "dal-ar.fina=8+875|meem-ar.medi=7@-28,0+352|hah-ar.medi=6@-120,0+13|dotabove-ar=5@1,451+0|fehDotless-ar.medi=5@0,122+377|dotabove-ar.beh=4@-15,419+0|behDotless-ar.medi=4@0,122+100|meem-ar.medi.round=3@0,122+425|twodotsverticalabove-ar.beh=2@-41,427+0|behDotless-ar.medi.round=2@-6,122+104|lam-ar.init.hah1=1@0,7+123|alef-ar=0+652"
}
},
{
Expand Down

0 comments on commit 37b01a7

Please sign in to comment.