-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #385 from anthrotype/fix-leading-offcurves
GlyphPathBuilder: support contours starting with offcurves or without oncurves
- Loading branch information
Showing
8 changed files
with
572 additions
and
101 deletions.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,87 @@ | ||
{ | ||
.appVersion = "3208"; | ||
DisplayStrings = ( | ||
"", | ||
i | ||
); | ||
customParameters = ( | ||
{ | ||
name = "Disable Last Change"; | ||
value = 1; | ||
} | ||
); | ||
date = "2023-07-20 13:49:39 +0000"; | ||
familyName = "New Font"; | ||
fontMaster = ( | ||
{ | ||
alignmentZones = ( | ||
"{800, 16}", | ||
"{700, 16}", | ||
"{500, 16}", | ||
"{0, -16}", | ||
"{-200, -16}" | ||
); | ||
ascender = 800; | ||
capHeight = 700; | ||
descender = -200; | ||
id = m01; | ||
xHeight = 500; | ||
} | ||
); | ||
glyphs = ( | ||
{ | ||
glyphname = i; | ||
layers = ( | ||
{ | ||
layerId = m01; | ||
paths = ( | ||
{ | ||
closed = 1; | ||
nodes = ( | ||
"328 584 OFFCURVE", | ||
"364 620 OFFCURVE", | ||
"364 645 QCURVE SMOOTH", | ||
"364 670 OFFCURVE", | ||
"328 705 OFFCURVE", | ||
"302 705 QCURVE SMOOTH", | ||
"276 705 OFFCURVE", | ||
"239 670 OFFCURVE", | ||
"239 645 QCURVE SMOOTH", | ||
"239 620 OFFCURVE", | ||
"276 584 OFFCURVE", | ||
"302 584 QCURVE SMOOTH" | ||
); | ||
}, | ||
{ | ||
closed = 1; | ||
nodes = ( | ||
"241 0 LINE", | ||
"354 0 LINE", | ||
"354 500 LINE", | ||
"241 500 LINE" | ||
); | ||
} | ||
); | ||
width = 600; | ||
} | ||
); | ||
unicode = 0069; | ||
}, | ||
{ | ||
glyphname = space; | ||
layers = ( | ||
{ | ||
layerId = m01; | ||
width = 200; | ||
} | ||
); | ||
unicode = 0020; | ||
} | ||
); | ||
unitsPerEm = 1000; | ||
userData = { | ||
GSDontShowVersionAlert = 1; | ||
}; | ||
versionMajor = 1; | ||
versionMinor = 0; | ||
} |
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,121 @@ | ||
{ | ||
.appVersion = "3208"; | ||
.formatVersion = 3; | ||
DisplayStrings = ( | ||
"", | ||
i | ||
); | ||
customParameters = ( | ||
{ | ||
name = "Write lastChange"; | ||
value = 0; | ||
} | ||
); | ||
date = "2023-07-20 13:49:39 +0000"; | ||
familyName = "New Font"; | ||
fontMaster = ( | ||
{ | ||
id = m01; | ||
metricValues = ( | ||
{ | ||
over = 16; | ||
pos = 800; | ||
}, | ||
{ | ||
over = 16; | ||
pos = 700; | ||
}, | ||
{ | ||
over = 16; | ||
pos = 500; | ||
}, | ||
{ | ||
over = -16; | ||
}, | ||
{ | ||
over = -16; | ||
pos = -200; | ||
}, | ||
{ | ||
} | ||
); | ||
name = Regular; | ||
} | ||
); | ||
glyphs = ( | ||
{ | ||
glyphname = i; | ||
layers = ( | ||
{ | ||
layerId = m01; | ||
shapes = ( | ||
{ | ||
closed = 1; | ||
nodes = ( | ||
(328,584,o), | ||
(364,620,o), | ||
(364,645,qs), | ||
(364,670,o), | ||
(328,705,o), | ||
(302,705,qs), | ||
(276,705,o), | ||
(239,670,o), | ||
(239,645,qs), | ||
(239,620,o), | ||
(276,584,o), | ||
(302,584,qs) | ||
); | ||
}, | ||
{ | ||
closed = 1; | ||
nodes = ( | ||
(241,0,l), | ||
(354,0,l), | ||
(354,500,l), | ||
(241,500,l) | ||
); | ||
} | ||
); | ||
width = 600; | ||
} | ||
); | ||
unicode = 105; | ||
}, | ||
{ | ||
glyphname = space; | ||
layers = ( | ||
{ | ||
layerId = m01; | ||
width = 200; | ||
} | ||
); | ||
unicode = 32; | ||
} | ||
); | ||
metrics = ( | ||
{ | ||
type = ascender; | ||
}, | ||
{ | ||
type = "cap height"; | ||
}, | ||
{ | ||
type = "x-height"; | ||
}, | ||
{ | ||
type = baseline; | ||
}, | ||
{ | ||
type = descender; | ||
}, | ||
{ | ||
type = "italic angle"; | ||
} | ||
); | ||
unitsPerEm = 1000; | ||
userData = { | ||
GSDontShowVersionAlert = 1; | ||
}; | ||
versionMajor = 1; | ||
versionMinor = 0; | ||
} |
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