Skip to content

Commit 99be971

Browse files
committed
add test file
1 parent c35b35d commit 99be971

File tree

1 file changed

+191
-0
lines changed

1 file changed

+191
-0
lines changed
Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
--- tests/testfiles/Roboto-Regular.subset1.ttf 2019-09-05T14:04:24.748302-04:00
2+
+++ tests/testfiles/Roboto-Regular.subset2.ttf 2019-09-05T14:07:27.594299-04:00
3+
@@ -6,5 +6,5 @@
4+
<GlyphID id="0" name=".notdef"/>
5+
- <GlyphID id="1" name=".null"/>
6+
- <GlyphID id="2" name="uni0002"/>
7+
- <GlyphID id="3" name="uni0009"/>
8+
+ <GlyphID id="1" name="glyph00001"/>
9+
+ <GlyphID id="2" name="glyph00002"/>
10+
+ <GlyphID id="3" name="glyph00003"/>
11+
<GlyphID id="4" name="space"/>
12+
@@ -15,3 +15,3 @@
13+
<GlyphID id="9" name="percent"/>
14+
- <GlyphID id="10" name="dollar.smcp"/>
15+
+ <GlyphID id="10" name="glyph00010"/>
16+
</GlyphOrder>
17+
@@ -22,3 +22,3 @@
18+
<fontRevision value="2.138"/>
19+
- <checkSumAdjustment value="0x2c16bb4a"/>
20+
+ <checkSumAdjustment value="0x5813354c"/>
21+
<magicNumber value="0x5f0f3cf5"/>
22+
@@ -27,9 +27,9 @@
23+
<created value="Fri Sep 12 10:29:34 2008"/>
24+
- <modified value="Thu May 25 10:49:57 2017"/>
25+
- <xMin value="-1825"/>
26+
- <yMin value="-555"/>
27+
- <xMax value="4188"/>
28+
- <yMax value="2163"/>
29+
+ <modified value="Thu Sep 5 18:07:11 2019"/>
30+
+ <xMin value="68"/>
31+
+ <yMin value="-237"/>
32+
+ <xMax value="1411"/>
33+
+ <yMax value="1692"/>
34+
<macStyle value="00000000 00000000"/>
35+
- <lowestRecPPEM value="9"/>
36+
+ <lowestRecPPEM value="8"/>
37+
<fontDirectionHint value="2"/>
38+
@@ -44,6 +44,6 @@
39+
<lineGap value="0"/>
40+
- <advanceWidthMax value="4368"/>
41+
- <minLeftSideBearing value="-1825"/>
42+
- <minRightSideBearing value="-1034"/>
43+
- <xMaxExtent value="4187"/>
44+
+ <advanceWidthMax value="1500"/>
45+
+ <minLeftSideBearing value="69"/>
46+
+ <minRightSideBearing value="26"/>
47+
+ <xMaxExtent value="1411"/>
48+
<caretSlopeRise value="1"/>
49+
@@ -63,6 +63,6 @@
50+
<numGlyphs value="11"/>
51+
- <maxPoints value="232"/>
52+
- <maxContours value="22"/>
53+
- <maxCompositePoints value="84"/>
54+
- <maxCompositeContours value="7"/>
55+
+ <maxPoints value="60"/>
56+
+ <maxContours value="5"/>
57+
+ <maxCompositePoints value="0"/>
58+
+ <maxCompositeContours value="0"/>
59+
<maxZones value="1"/>
60+
@@ -74,4 +74,4 @@
61+
<maxSizeOfInstructions value="0"/>
62+
- <maxComponentElements value="6"/>
63+
- <maxComponentDepth value="2"/>
64+
+ <maxComponentElements value="0"/>
65+
+ <maxComponentDepth value="0"/>
66+
</maxp>
67+
@@ -133,6 +133,8 @@
68+
<mtx name=".notdef" width="908" lsb="100"/>
69+
- <mtx name=".null" width="0" lsb="0"/>
70+
<mtx name="dollar" width="1151" lsb="110"/>
71+
- <mtx name="dollar.smcp" width="1056" lsb="68"/>
72+
<mtx name="exclam" width="528" lsb="161"/>
73+
+ <mtx name="glyph00001" width="0" lsb="0"/>
74+
+ <mtx name="glyph00002" width="0" lsb="0"/>
75+
+ <mtx name="glyph00003" width="508" lsb="0"/>
76+
+ <mtx name="glyph00010" width="1056" lsb="69"/>
77+
<mtx name="numbersign" width="1261" lsb="119"/>
78+
@@ -141,4 +143,2 @@
79+
<mtx name="space" width="508" lsb="0"/>
80+
- <mtx name="uni0002" width="0" lsb="0"/>
81+
- <mtx name="uni0009" width="508" lsb="0"/>
82+
</hmtx>
83+
@@ -219,4 +219,2 @@
84+
</TTGlyph>
85+
-
86+
- <TTGlyph name=".null"/><!-- contains no outline data -->
87+
88+
@@ -272,3 +270,33 @@
89+
90+
- <TTGlyph name="dollar.smcp" xMin="68" yMin="-237" xMax="990" yMax="1395">
91+
+ <TTGlyph name="exclam" xMin="161" yMin="-12" xMax="380" yMax="1456">
92+
+ <contour>
93+
+ <pt x="361" y="1456" on="1"/>
94+
+ <pt x="348" y="411" on="1"/>
95+
+ <pt x="181" y="411" on="1"/>
96+
+ <pt x="167" y="1456" on="1"/>
97+
+ </contour>
98+
+ <contour>
99+
+ <pt x="161" y="93" on="1"/>
100+
+ <pt x="161" y="138" on="0"/>
101+
+ <pt x="216" y="200" on="0"/>
102+
+ <pt x="270" y="200" on="1"/>
103+
+ <pt x="323" y="200" on="0"/>
104+
+ <pt x="380" y="138" on="0"/>
105+
+ <pt x="380" y="93" on="1"/>
106+
+ <pt x="380" y="50" on="0"/>
107+
+ <pt x="323" y="-12" on="0"/>
108+
+ <pt x="270" y="-12" on="1"/>
109+
+ <pt x="216" y="-12" on="0"/>
110+
+ <pt x="161" y="50" on="0"/>
111+
+ </contour>
112+
+ <instructions/>
113+
+ </TTGlyph>
114+
+
115+
+ <TTGlyph name="glyph00001"/><!-- contains no outline data -->
116+
+
117+
+ <TTGlyph name="glyph00002"/><!-- contains no outline data -->
118+
+
119+
+ <TTGlyph name="glyph00003"/><!-- contains no outline data -->
120+
+
121+
+ <TTGlyph name="glyph00010" xMin="68" yMin="-237" xMax="990" yMax="1395">
122+
<contour>
123+
@@ -322,26 +350,2 @@
124+
125+
- <TTGlyph name="exclam" xMin="161" yMin="-12" xMax="380" yMax="1456">
126+
- <contour>
127+
- <pt x="361" y="1456" on="1"/>
128+
- <pt x="348" y="411" on="1"/>
129+
- <pt x="181" y="411" on="1"/>
130+
- <pt x="167" y="1456" on="1"/>
131+
- </contour>
132+
- <contour>
133+
- <pt x="161" y="93" on="1"/>
134+
- <pt x="161" y="138" on="0"/>
135+
- <pt x="216" y="200" on="0"/>
136+
- <pt x="270" y="200" on="1"/>
137+
- <pt x="323" y="200" on="0"/>
138+
- <pt x="380" y="138" on="0"/>
139+
- <pt x="380" y="93" on="1"/>
140+
- <pt x="380" y="50" on="0"/>
141+
- <pt x="323" y="-12" on="0"/>
142+
- <pt x="270" y="-12" on="1"/>
143+
- <pt x="216" y="-12" on="0"/>
144+
- <pt x="161" y="50" on="0"/>
145+
- </contour>
146+
- <instructions/>
147+
- </TTGlyph>
148+
-
149+
<TTGlyph name="numbersign" xMin="119" yMin="0" xMax="1235" yMax="1456">
150+
@@ -480,6 +484,2 @@
151+
152+
- <TTGlyph name="uni0002"/><!-- contains no outline data -->
153+
-
154+
- <TTGlyph name="uni0009"/><!-- contains no outline data -->
155+
-
156+
</glyf>
157+
@@ -530,29 +530,2 @@
158+
</name>
159+
-
160+
- <post>
161+
- <formatType value="2.0"/>
162+
- <italicAngle value="0.0"/>
163+
- <underlinePosition value="-150"/>
164+
- <underlineThickness value="100"/>
165+
- <isFixedPitch value="0"/>
166+
- <minMemType42 value="0"/>
167+
- <maxMemType42 value="0"/>
168+
- <minMemType1 value="0"/>
169+
- <maxMemType1 value="0"/>
170+
- <psNames>
171+
- <!-- This file uses unique glyph names based on the information
172+
- found in the 'post' table. Since these names might not be unique,
173+
- we have to invent artificial names in case of clashes. In order to
174+
- be able to retain the original information, we need a name to
175+
- ps name mapping for those cases where they differ. That's what
176+
- you see below.
177+
- -->
178+
- </psNames>
179+
- <extraNames>
180+
- <!-- following are the name that are not taken from the standard Mac glyph order -->
181+
- <psName name="uni0002"/>
182+
- <psName name="uni0009"/>
183+
- <psName name="dollar.smcp"/>
184+
- </extraNames>
185+
- </post>
186+
187+
@@ -759,3 +732,3 @@
188+
<SingleSubst index="0" Format="1">
189+
- <Substitution in="dollar" out="dollar.smcp"/>
190+
+ <Substitution in="dollar" out="glyph00010"/>
191+
</SingleSubst>

0 commit comments

Comments
 (0)