-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathrect_picosvg.ttx
75 lines (63 loc) · 2.06 KB
/
rect_picosvg.ttx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="UTF-8"?>
<ttFont sfntVersion="\x00\x01\x00\x00">
<GlyphOrder>
<!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
<GlyphID id="0" name=".notdef"/>
<GlyphID id="1" name=".space"/>
<GlyphID id="2" name="e000"/>
</GlyphOrder>
<hmtx>
<mtx name=".notdef" width="100" lsb="5"/>
<mtx name=".space" width="100" lsb="0"/>
<mtx name="e000" width="100" lsb="0"/>
</hmtx>
<cmap>
<tableVersion version="0"/>
<cmap_format_4 platformID="0" platEncID="3" language="0">
<map code="0x20" name=".space"/><!-- SPACE -->
<map code="0xe000" name="e000"/><!-- ???? -->
</cmap_format_4>
<cmap_format_4 platformID="3" platEncID="1" language="0">
<map code="0x20" name=".space"/><!-- SPACE -->
<map code="0xe000" name="e000"/><!-- ???? -->
</cmap_format_4>
</cmap>
<loca>
<!-- The 'loca' table will be calculated by the compiler -->
</loca>
<glyf>
<!-- The xMin, yMin, xMax and yMax values
will be recalculated by the compiler. -->
<TTGlyph name=".notdef" xMin="5" yMin="0" xMax="45" yMax="100">
<contour>
<pt x="5" y="0" on="1"/>
<pt x="5" y="100" on="1"/>
<pt x="45" y="100" on="1"/>
<pt x="45" y="0" on="1"/>
</contour>
<contour>
<pt x="10" y="5" on="1"/>
<pt x="40" y="5" on="1"/>
<pt x="40" y="95" on="1"/>
<pt x="10" y="95" on="1"/>
</contour>
<instructions/>
</TTGlyph>
<TTGlyph name=".space"/><!-- contains no outline data -->
<TTGlyph name="e000"/><!-- contains no outline data -->
</glyf>
<SVG>
<svgDoc endGlyphID="2" startGlyphID="2">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<defs>
<path d="M2,2 L8,2 L8,4 L2,4 L2,2 Z" id="e000.0" fill="blue"/>
</defs>
<g id="glyph2" transform="matrix(10 0 0 10 0 -100)">
<use xlink:href="#e000.0"/>
<use xlink:href="#e000.0" x="2" y="2" opacity="0.8"/>
</g>
</svg>
]]>
</svgDoc>
</SVG>
</ttFont>