Skip to content

Instantly share code, notes, and snippets.

@graphicore
Created April 25, 2014 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graphicore/11295701 to your computer and use it in GitHub Desktop.
Save graphicore/11295701 to your computer and use it in GitHub Desktop.
#! /usr/bin/env python
import json
from robofab import glifLib2
class Glyph (object):
def __init__(self):
self.outline = [];
def getPen(self):
return OutlinePen(self.outline)
class OutlinePen(object):
def __init__(self, commands):
self.commands = commands
def addPoint(self, point, **kwds):
kwds['point'] = point
self.commands.append(['point', kwds])
def addComponent(self, glyphName, transformation, **kwds):
kwds['glyph'] = glyphName
kwds['transformation'] = transformation
self.commands.append(['component', kwds])
def __getattr__(self, command):
return lambda : self.commands.append([command])
if __name__ == '__main__':
glyphSet = glifLib2.GlyphSet('/home/commander/Projekte/ufoJS/env/ufos/DemoFont.ufo/glyphs/')
glyphSet.rebuildContents()
glyphsData = {}
for k in glyphSet.keys():
glyph = Glyph();
glyphSet.readGlyph(k, glyph, glyph.getPen())
glyphsData[k] = glyph.__dict__
print json.dumps(glyphsData, sort_keys=True, indent=2, separators=(',', ': '))
##########################################################
### output:
{
"A": {
"name": "A",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": "top",
"point": [
243,
681
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": "top",
"point": [
243,
739
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": "bottom",
"point": [
243,
-75
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": "top",
"point": [
243,
739
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": "bottom",
"point": [
243,
-75
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
460,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
318,
664
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
169,
664
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
27,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
129,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
150,
94
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
328,
94
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
348,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
307,
189
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
172,
189
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
214,
398
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
239,
541
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
249,
541
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
264,
399
],
"segmentType": "line",
"smooth": false
}
],
[
"endPath"
]
],
"unicodes": [
65
],
"width": 487
},
"B": {
"name": "B",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": "top",
"point": [
201,
681
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
412,
474
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
412,
606
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
323,
664
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
170,
664
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
47,
664
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
47,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
170,
0
],
"segmentType": "line",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
340,
0
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
421,
70
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
421,
189
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
421,
265
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
358,
330
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
285,
330
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
285,
340
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
358,
340
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
412,
392
],
"segmentType": null,
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
151,
284
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
264,
284
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
314,
253
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
314,
189
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
314,
130
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
265,
95
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
151,
95
],
"segmentType": "curve",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
151,
569
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
259,
569
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
304,
551
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
304,
474
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
304,
409
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
261,
379
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
151,
379
],
"segmentType": "curve",
"smooth": false
}
],
[
"endPath"
]
],
"unicodes": [
66
],
"width": 460
},
"F": {
"name": "F",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": "top",
"point": [
213,
681
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
332,
350
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
151,
350
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
151,
560
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
379,
560
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
379,
664
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
47,
664
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
47,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
151,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
151,
250
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
332,
250
],
"segmentType": "line",
"smooth": false
}
],
[
"endPath"
]
],
"unicodes": [
70
],
"width": 417
},
"F_A_B": {
"name": "F_A_B",
"outline": [
[
"component",
{
"glyph": "A",
"transformation": [
1,
0,
0,
1,
0,
0
]
}
],
[
"component",
{
"glyph": "B",
"transformation": [
1,
0,
0,
1,
350,
0
]
}
],
[
"component",
{
"glyph": "F",
"transformation": [
0.965925826289,
-0.258819045103,
0.258819045103,
0.965925826289,
-50,
500
]
}
]
],
"width": 900
},
"G": {
"name": "G",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": "top",
"point": [
301,
681
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": "bottom",
"point": [
272,
0
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
446,
379
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
231,
379
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
231,
284
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
350,
284
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
350,
98
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
338,
95
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
300,
94
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
288,
94
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
197,
94
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
142,
130
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
142,
322
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
142,
514
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
177,
569
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
300,
569
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
324,
569
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
387,
567
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
417,
563
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
427,
653
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
401,
663
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
338,
674
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
300,
674
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
120,
674
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
37,
570
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
37,
322
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
37,
71
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
134,
-9
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
272,
-9
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
353,
-9
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
396,
-1
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
446,
18
],
"segmentType": "curve",
"smooth": false
}
],
[
"endPath"
]
],
"unicodes": [
71
],
"width": 494
},
"O": {
"name": "O",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": "top",
"point": [
259,
681
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": "bottom",
"point": [
257,
0
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
474,
332
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
474,
579
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
414,
674
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
257,
674
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
106,
674
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
37,
567
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
37,
332
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
37,
85
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
98,
-9
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
256,
-9
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
405,
-9
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
474,
98
],
"segmentType": null,
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
257,
574
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
336,
574
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
367,
511
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
367,
332
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
367,
163
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
332,
91
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
256,
91
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
176,
91
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
145,
153
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
145,
332
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
145,
501
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
180,
574
],
"segmentType": null,
"smooth": false
}
],
[
"endPath"
]
],
"unicodes": [
79
],
"width": 513
},
"R": {
"name": "R",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": "top",
"point": [
208,
681
],
"segmentType": "move",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
445,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
319,
249
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
380,
286
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
417,
349
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
417,
436
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
417,
590
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
315,
664
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
151,
664
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
47,
664
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
47,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
151,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
151,
208
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
180,
208
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
197,
210
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
221,
214
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
331,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
313,
436
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
313,
345
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
250,
303
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
151,
303
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
151,
569
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
251,
569
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
313,
535
],
"segmentType": null,
"smooth": false
}
],
[
"endPath"
]
],
"unicodes": [
82
],
"width": 463
},
"a": {
"name": "a",
"outline": [],
"unicodes": [
97
]
},
"a#condensed_bold": {
"name": "a#condensed_bold",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
363,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
363,
6
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
353,
11
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
350,
39
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
350,
74
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
350,
350
],
"segmentType": "line",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
350,
507
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
284,
544
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
188,
544
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
61,
544
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
28,
458
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
29,
382
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
163,
383
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
162,
415
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
166,
454
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
185,
454
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
207,
454
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
206,
414
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
206,
363
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
206,
345
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
57,
307
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
14,
227
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
14,
135
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
14,
43
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
55,
-12
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
134,
-12
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
177,
-12
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
198,
10
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
209,
20
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
212,
20
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
214,
14
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
218,
6
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
222,
0
],
"segmentType": "curve",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
206,
118
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
202,
103
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
194,
92
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
183,
92
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
169,
92
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
161,
113
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
161,
151
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
161,
193
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
174,
241
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
206,
256
],
"segmentType": "curve",
"smooth": false
}
],
[
"endPath"
]
],
"width": 370
},
"a#condensed_light": {
"name": "a#condensed_light",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
111,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
111,
3
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
107,
10
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
105,
36
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
105,
76
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
105,
339
],
"segmentType": "line",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
105,
510
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
98,
544
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
63,
544
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
30,
544
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
20,
485
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
19,
412
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
33,
412
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
33,
468
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
40,
531
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
62,
531
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
91,
531
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
92,
471
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
92,
364
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
92,
346
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
14,
307
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
14,
208
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
14,
125
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
14,
17
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
36,
-12
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
57,
-12
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
83,
-12
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
91,
16
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
93,
26
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
94,
26
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
95,
19
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
95,
5
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
99,
0
],
"segmentType": "curve",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
92,
58
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
86,
26
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
73,
0
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
57,
0
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
39,
0
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
28,
34
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
28,
125
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
28,
198
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
27,
295
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
92,
332
],
"segmentType": "curve",
"smooth": false
}
],
[
"endPath"
]
],
"width": 127
},
"a#wide_bold": {
"name": "a#wide_bold",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
706,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
706,
9
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
687,
20
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
684,
38
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
684,
86
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
684,
321
],
"segmentType": "line",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
684,
497
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
574,
544
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
397,
544
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
208,
544
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
127,
475
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
85,
400
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
274,
377
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
294,
415
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
329,
449
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
393,
449
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
469,
449
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
503,
415
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
503,
356
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
503,
340
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
153,
314
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
49,
255
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
49,
143
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
49,
48
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
131,
-12
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
305,
-12
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
390,
-12
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
466,
11
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
507,
38
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
510,
38
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
511,
22
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
515,
9
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
523,
0
],
"segmentType": "curve",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
504,
129
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
447,
96
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
380,
86
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
334,
86
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
266,
86
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
234,
114
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
234,
151
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
234,
209
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
307,
240
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
504,
257
],
"segmentType": "curve",
"smooth": false
}
],
[
"endPath"
]
],
"width": 784
},
"a#wide_light": {
"name": "a#wide_light",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
417,
0
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
417,
2
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
396,
27
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
393,
42
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
393,
90
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
393,
367
],
"segmentType": "line",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
393,
492
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
353,
544
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
234,
544
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
117,
544
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
73,
474
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
70,
405
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
82,
404
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
85,
468
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
130,
531
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
233,
531
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
347,
531
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
381,
477
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
381,
369
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
381,
346
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
154,
316
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
49,
257
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
49,
132
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
49,
51
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
88,
-12
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
217,
-12
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
262,
-12
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
339,
10
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
382,
65
],
"segmentType": "curve",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
382,
65
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
383,
39
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
387,
19
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
404,
0
],
"segmentType": "curve",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
381,
87
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
334,
17
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
255,
1
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
218,
1
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
92,
1
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
61,
63
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
61,
132
],
"segmentType": "curve",
"smooth": true
}
],
[
"point",
{
"name": null,
"point": [
61,
248
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
166,
304
],
"segmentType": null,
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
381,
332
],
"segmentType": "curve",
"smooth": false
}
],
[
"endPath"
]
],
"width": 478
},
"testglyph1": {
"name": "testglyph1",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
58,
443
],
"segmentType": "move",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
84,
667
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
313,
632
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
354,
380
],
"segmentType": "line",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
328,
238
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
328,
32
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
90,
29
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
87,
235
],
"segmentType": "line",
"smooth": false
}
],
[
"endPath"
]
],
"width": 500
},
"testglyph1.reversed": {
"name": "testglyph1.reversed",
"outline": [
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
354,
380
],
"segmentType": "move",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
313,
632
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
84,
667
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
58,
443
],
"segmentType": "line",
"smooth": false
}
],
[
"endPath"
],
[
"beginPath"
],
[
"point",
{
"name": null,
"point": [
328,
238
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
87,
235
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
90,
29
],
"segmentType": "line",
"smooth": false
}
],
[
"point",
{
"name": null,
"point": [
328,
32
],
"segmentType": "line",
"smooth": false
}
],
[
"endPath"
]
],
"width": 500
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment