-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
3,265 additions
and
1,244 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,3 +161,4 @@ cython_debug/ | |
|
||
# scm file | ||
src/fontra_glyphs/_version.py | ||
.DS_Store |
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,56 @@ | ||
{ | ||
"unitsPerEm": 1000, | ||
"fontInfo": { | ||
"familyName": "Glyphs Unit Test Sans", | ||
"versionMajor": 1, | ||
"versionMinor": 0 | ||
}, | ||
"axes": { | ||
"axes": [ | ||
{ | ||
"name": "Weight", | ||
"label": "Weight", | ||
"tag": "wght", | ||
"minValue": 100, | ||
"defaultValue": 400, | ||
"maxValue": 900, | ||
"mapping": [ | ||
[ | ||
100, | ||
17 | ||
], | ||
[ | ||
200, | ||
30 | ||
], | ||
[ | ||
300, | ||
55 | ||
], | ||
[ | ||
357, | ||
75 | ||
], | ||
[ | ||
400, | ||
90 | ||
], | ||
[ | ||
500, | ||
133 | ||
], | ||
[ | ||
700, | ||
179 | ||
], | ||
[ | ||
900, | ||
220 | ||
] | ||
] | ||
} | ||
] | ||
}, | ||
"sources": {}, | ||
"customData": {} | ||
} |
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,12 @@ | ||
glyph name;code points | ||
A;U+0041 | ||
Adieresis;U+00C4 | ||
_part.shoulder; | ||
_part.stem; | ||
a;U+0061 | ||
a.sc; | ||
adieresis;U+00E4 | ||
dieresis;U+00A8 | ||
h;U+0068 | ||
m;U+006D | ||
n;U+006E |
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,237 @@ | ||
{ | ||
"name": "A", | ||
"sources": [ | ||
{ | ||
"name": "Light", | ||
"layerName": "Light (layer #0)", | ||
"location": { | ||
"Weight": 17 | ||
} | ||
}, | ||
{ | ||
"name": "Regular", | ||
"layerName": "Regular (layer #1)", | ||
"location": { | ||
"Weight": 90 | ||
} | ||
}, | ||
{ | ||
"name": "Bold", | ||
"layerName": "Bold (layer #2)", | ||
"location": { | ||
"Weight": 220 | ||
} | ||
} | ||
], | ||
"layers": { | ||
"Bold (layer #2)": { | ||
"glyph": { | ||
"path": { | ||
"contours": [ | ||
{ | ||
"points": [ | ||
{ | ||
"x": 733, | ||
"y": 0 | ||
}, | ||
{ | ||
"x": 555, | ||
"y": 700 | ||
}, | ||
{ | ||
"x": 205, | ||
"y": 700 | ||
}, | ||
{ | ||
"x": 20, | ||
"y": 0 | ||
}, | ||
{ | ||
"x": 253, | ||
"y": 0 | ||
}, | ||
{ | ||
"x": 356, | ||
"y": 470 | ||
}, | ||
{ | ||
"x": 385, | ||
"y": 470 | ||
}, | ||
{ | ||
"x": 491, | ||
"y": 0 | ||
} | ||
], | ||
"isClosed": true | ||
}, | ||
{ | ||
"points": [ | ||
{ | ||
"x": 600, | ||
"y": 268 | ||
}, | ||
{ | ||
"x": 162, | ||
"y": 268 | ||
}, | ||
{ | ||
"x": 154, | ||
"y": 103 | ||
}, | ||
{ | ||
"x": 596, | ||
"y": 103 | ||
} | ||
], | ||
"isClosed": true | ||
} | ||
] | ||
}, | ||
"xAdvance": 753 | ||
} | ||
}, | ||
"Light (layer #0)": { | ||
"glyph": { | ||
"path": { | ||
"contours": [ | ||
{ | ||
"points": [ | ||
{ | ||
"x": 548, | ||
"y": 0 | ||
}, | ||
{ | ||
"x": 321, | ||
"y": 700 | ||
}, | ||
{ | ||
"x": 275, | ||
"y": 700 | ||
}, | ||
{ | ||
"x": 45, | ||
"y": 0 | ||
}, | ||
{ | ||
"x": 65, | ||
"y": 0 | ||
}, | ||
{ | ||
"x": 289, | ||
"y": 679 | ||
}, | ||
{ | ||
"x": 307, | ||
"y": 679 | ||
}, | ||
{ | ||
"x": 527, | ||
"y": 0 | ||
} | ||
], | ||
"isClosed": true | ||
}, | ||
{ | ||
"points": [ | ||
{ | ||
"x": 467, | ||
"y": 225 | ||
}, | ||
{ | ||
"x": 128, | ||
"y": 225 | ||
}, | ||
{ | ||
"x": 123, | ||
"y": 207 | ||
}, | ||
{ | ||
"x": 472, | ||
"y": 207 | ||
} | ||
], | ||
"isClosed": true | ||
} | ||
] | ||
}, | ||
"xAdvance": 593 | ||
} | ||
}, | ||
"Regular (layer #1)": { | ||
"glyph": { | ||
"path": { | ||
"contours": [ | ||
{ | ||
"points": [ | ||
{ | ||
"x": 617, | ||
"y": 0 | ||
}, | ||
{ | ||
"x": 412, | ||
"y": 700 | ||
}, | ||
{ | ||
"x": 248, | ||
"y": 700 | ||
}, | ||
{ | ||
"x": 40, | ||
"y": 0 | ||
}, | ||
{ | ||
"x": 134, | ||
"y": 0 | ||
}, | ||
{ | ||
"x": 313, | ||
"y": 610 | ||
}, | ||
{ | ||
"x": 342, | ||
"y": 610 | ||
}, | ||
{ | ||
"x": 521, | ||
"y": 0 | ||
} | ||
], | ||
"isClosed": true | ||
}, | ||
{ | ||
"points": [ | ||
{ | ||
"x": 514, | ||
"y": 269 | ||
}, | ||
{ | ||
"x": 150, | ||
"y": 269 | ||
}, | ||
{ | ||
"x": 148, | ||
"y": 178 | ||
}, | ||
{ | ||
"x": 510, | ||
"y": 178 | ||
} | ||
], | ||
"isClosed": true | ||
} | ||
] | ||
}, | ||
"xAdvance": 657 | ||
} | ||
} | ||
}, | ||
"customData": { | ||
"com.glyphsapp.glyph-color": [ | ||
120, | ||
220, | ||
20, | ||
4 | ||
] | ||
} | ||
} |
79 changes: 79 additions & 0 deletions
79
tests/data/GlyphsUnitTestSans3.fontra/glyphs/Adieresis^1.json
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,79 @@ | ||
{ | ||
"name": "Adieresis", | ||
"sources": [ | ||
{ | ||
"name": "Light", | ||
"layerName": "Light (layer #0)", | ||
"location": { | ||
"Weight": 17 | ||
} | ||
}, | ||
{ | ||
"name": "Regular", | ||
"layerName": "Regular (layer #1)", | ||
"location": { | ||
"Weight": 90 | ||
} | ||
}, | ||
{ | ||
"name": "Bold", | ||
"layerName": "Bold (layer #2)", | ||
"location": { | ||
"Weight": 220 | ||
} | ||
} | ||
], | ||
"layers": { | ||
"Bold (layer #2)": { | ||
"glyph": { | ||
"components": [ | ||
{ | ||
"name": "A" | ||
}, | ||
{ | ||
"name": "dieresis", | ||
"transformation": { | ||
"translateX": 110, | ||
"translateY": 210 | ||
} | ||
} | ||
], | ||
"xAdvance": 753 | ||
} | ||
}, | ||
"Light (layer #0)": { | ||
"glyph": { | ||
"components": [ | ||
{ | ||
"name": "A" | ||
}, | ||
{ | ||
"name": "dieresis", | ||
"transformation": { | ||
"translateX": 110, | ||
"translateY": 230 | ||
} | ||
} | ||
], | ||
"xAdvance": 593 | ||
} | ||
}, | ||
"Regular (layer #1)": { | ||
"glyph": { | ||
"components": [ | ||
{ | ||
"name": "A" | ||
}, | ||
{ | ||
"name": "dieresis", | ||
"transformation": { | ||
"translateX": 128, | ||
"translateY": 220 | ||
} | ||
} | ||
], | ||
"xAdvance": 657 | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.