-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect 'Propagate Anchors' custom parameter
I've tested this by running ttx_diff on notofonts/arabic/sources/NotoSansArabic.glyphspackage and got these improvements: | COMPARISON | Before | After | | ------------- | ------- | --------- | | (mark / kern) | 29.249% | Identical | | GDEF | 56.062% | Identical | | GPOS | 87.500% | Identical | | ligcaret | 34.043% | Identical | (issue #889)
- Loading branch information
1 parent
968bcee
commit 5ec6f1a
Showing
3 changed files
with
111 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
.appVersion = "1364"; | ||
familyName = "New Font"; | ||
customParameters = ( | ||
{ | ||
name = "Propagate Anchors"; | ||
value = 0; | ||
} | ||
); | ||
fontMaster = ( | ||
{ | ||
ascender = 800; | ||
capHeight = 700; | ||
descender = -200; | ||
id = "89D5A646-9CD3-4D7D-B45A-59A2C21796F3"; | ||
xHeight = 500; | ||
} | ||
); | ||
glyphs = ( | ||
{ | ||
glyphname = A; | ||
layers = ( | ||
{ | ||
layerId = "89D5A646-9CD3-4D7D-B45A-59A2C21796F3"; | ||
paths = ( | ||
{ | ||
closed = 1; | ||
nodes = ( | ||
"254 183 LINE", | ||
"426 35 LINE", | ||
"97 20 LINE" | ||
); | ||
} | ||
); | ||
width = 600; | ||
} | ||
); | ||
unicode = 0041; | ||
}, | ||
{ | ||
glyphname = Aacute; | ||
layers = ( | ||
{ | ||
components = ( | ||
{ | ||
name = A; | ||
}, | ||
{ | ||
name = acutecomb; | ||
transform = "{1, 0, 0, 1, 38, -161}"; | ||
} | ||
); | ||
layerId = "89D5A646-9CD3-4D7D-B45A-59A2C21796F3"; | ||
width = 600; | ||
} | ||
); | ||
unicode = 00C1; | ||
}, | ||
{ | ||
glyphname = acutecomb; | ||
layers = ( | ||
{ | ||
anchors = ( | ||
{ | ||
name = "new anchor"; | ||
position = "{258, 593}"; | ||
} | ||
); | ||
layerId = "89D5A646-9CD3-4D7D-B45A-59A2C21796F3"; | ||
paths = ( | ||
{ | ||
closed = 1; | ||
nodes = ( | ||
"263 376 LINE", | ||
"308 456 LINE", | ||
"239 471 LINE", | ||
"217 385 LINE" | ||
); | ||
} | ||
); | ||
width = 600; | ||
} | ||
); | ||
unicode = 0301; | ||
} | ||
); | ||
unitsPerEm = 1000; | ||
versionMajor = 1; | ||
versionMinor = 0; | ||
} |