xref: /aosp_15_r20/external/fonttools/Tests/cffLib/data/TestOTF.ttx (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1<?xml version="1.0" encoding="UTF-8"?>
2<ttFont sfntVersion="OTTO" ttLibVersion="3.41">
3
4  <GlyphOrder>
5    <!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
6    <GlyphID id="0" name=".notdef"/>
7    <GlyphID id="1" name=".null"/>
8    <GlyphID id="2" name="CR"/>
9    <GlyphID id="3" name="space"/>
10    <GlyphID id="4" name="period"/>
11    <GlyphID id="5" name="ellipsis"/>
12  </GlyphOrder>
13
14  <head>
15    <!-- Most of this table will be recalculated by the compiler -->
16    <tableVersion value="1.0"/>
17    <fontRevision value="1.0"/>
18    <checkSumAdjustment value="0x4e5f578f"/>
19    <magicNumber value="0x5f0f3cf5"/>
20    <flags value="00000000 00000011"/>
21    <unitsPerEm value="1000"/>
22    <created value="Thu Jun  4 14:29:11 2015"/>
23    <modified value="Sun Mar 26 22:38:12 2017"/>
24    <xMin value="50"/>
25    <yMin value="0"/>
26    <xMax value="668"/>
27    <yMax value="750"/>
28    <macStyle value="00000000 00000000"/>
29    <lowestRecPPEM value="9"/>
30    <fontDirectionHint value="2"/>
31    <indexToLocFormat value="0"/>
32    <glyphDataFormat value="0"/>
33  </head>
34
35  <hhea>
36    <tableVersion value="0x00010000"/>
37    <ascent value="900"/>
38    <descent value="-300"/>
39    <lineGap value="0"/>
40    <advanceWidthMax value="723"/>
41    <minLeftSideBearing value="50"/>
42    <minRightSideBearing value="50"/>
43    <xMaxExtent value="668"/>
44    <caretSlopeRise value="1"/>
45    <caretSlopeRun value="0"/>
46    <caretOffset value="0"/>
47    <reserved0 value="0"/>
48    <reserved1 value="0"/>
49    <reserved2 value="0"/>
50    <reserved3 value="0"/>
51    <metricDataFormat value="0"/>
52    <numberOfHMetrics value="6"/>
53  </hhea>
54
55  <maxp>
56    <tableVersion value="0x5000"/>
57    <numGlyphs value="6"/>
58  </maxp>
59
60  <OS_2>
61    <!-- The fields 'usFirstCharIndex' and 'usLastCharIndex'
62         will be recalculated by the compiler -->
63    <version value="4"/>
64    <xAvgCharWidth value="392"/>
65    <usWeightClass value="400"/>
66    <usWidthClass value="5"/>
67    <fsType value="00000000 00000000"/>
68    <ySubscriptXSize value="700"/>
69    <ySubscriptYSize value="650"/>
70    <ySubscriptXOffset value="0"/>
71    <ySubscriptYOffset value="140"/>
72    <ySuperscriptXSize value="700"/>
73    <ySuperscriptYSize value="650"/>
74    <ySuperscriptXOffset value="0"/>
75    <ySuperscriptYOffset value="477"/>
76    <yStrikeoutSize value="50"/>
77    <yStrikeoutPosition value="250"/>
78    <sFamilyClass value="2050"/>
79    <panose>
80      <bFamilyType value="2"/>
81      <bSerifStyle value="11"/>
82      <bWeight value="6"/>
83      <bProportion value="4"/>
84      <bContrast value="4"/>
85      <bStrokeVariation value="2"/>
86      <bArmStyle value="7"/>
87      <bLetterForm value="8"/>
88      <bMidline value="1"/>
89      <bXHeight value="4"/>
90    </panose>
91    <ulUnicodeRange1 value="10000000 00000000 00000000 00000001"/>
92    <ulUnicodeRange2 value="00000000 00000000 00000000 00000000"/>
93    <ulUnicodeRange3 value="00000000 00000000 00000000 00000000"/>
94    <ulUnicodeRange4 value="00000000 00000000 00000000 00000000"/>
95    <achVendID value="NONE"/>
96    <fsSelection value="00000000 11000000"/>
97    <usFirstCharIndex value="0"/>
98    <usLastCharIndex value="8230"/>
99    <sTypoAscender value="750"/>
100    <sTypoDescender value="-250"/>
101    <sTypoLineGap value="200"/>
102    <usWinAscent value="900"/>
103    <usWinDescent value="300"/>
104    <ulCodePageRange1 value="00000000 00000000 00000000 00000001"/>
105    <ulCodePageRange2 value="00000000 00000000 00000000 00000000"/>
106    <sxHeight value="500"/>
107    <sCapHeight value="700"/>
108    <usDefaultChar value="0"/>
109    <usBreakChar value="32"/>
110    <usMaxContext value="0"/>
111  </OS_2>
112
113  <name>
114    <namerecord nameID="0" platformID="1" platEncID="0" langID="0x0" unicode="True">
115      Copyright (c) 2015 by FontTools. No rights reserved.
116    </namerecord>
117    <namerecord nameID="1" platformID="1" platEncID="0" langID="0x0" unicode="True">
118      Test OTF
119    </namerecord>
120    <namerecord nameID="2" platformID="1" platEncID="0" langID="0x0" unicode="True">
121      Regular
122    </namerecord>
123    <namerecord nameID="3" platformID="1" platEncID="0" langID="0x0" unicode="True">
124      FontTools: Test OTF: 2015
125    </namerecord>
126    <namerecord nameID="4" platformID="1" platEncID="0" langID="0x0" unicode="True">
127      Test OTF
128    </namerecord>
129    <namerecord nameID="5" platformID="1" platEncID="0" langID="0x0" unicode="True">
130      Version 1.000
131    </namerecord>
132    <namerecord nameID="6" platformID="1" platEncID="0" langID="0x0" unicode="True">
133      TestOTF-Regular
134    </namerecord>
135    <namerecord nameID="7" platformID="1" platEncID="0" langID="0x0" unicode="True">
136      Test OTF is not a trademark of FontTools.
137    </namerecord>
138    <namerecord nameID="8" platformID="1" platEncID="0" langID="0x0" unicode="True">
139      FontTools
140    </namerecord>
141    <namerecord nameID="9" platformID="1" platEncID="0" langID="0x0" unicode="True">
142      FontTools
143    </namerecord>
144    <namerecord nameID="11" platformID="1" platEncID="0" langID="0x0" unicode="True">
145      https://github.com/behdad/fonttools
146    </namerecord>
147    <namerecord nameID="12" platformID="1" platEncID="0" langID="0x0" unicode="True">
148      https://github.com/behdad/fonttools
149    </namerecord>
150    <namerecord nameID="14" platformID="1" platEncID="0" langID="0x0" unicode="True">
151      https://github.com/behdad/fonttools/blob/master/LICENSE.txt
152    </namerecord>
153    <namerecord nameID="18" platformID="1" platEncID="0" langID="0x0" unicode="True">
154      Test TTF
155    </namerecord>
156    <namerecord nameID="0" platformID="3" platEncID="1" langID="0x409">
157      Copyright (c) 2015 by FontTools. No rights reserved.
158    </namerecord>
159    <namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
160      Test OTF
161    </namerecord>
162    <namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
163      Regular
164    </namerecord>
165    <namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
166      FontTools: Test OTF: 2015
167    </namerecord>
168    <namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
169      Test OTF
170    </namerecord>
171    <namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
172      Version 1.000
173    </namerecord>
174    <namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
175      TestOTF-Regular
176    </namerecord>
177    <namerecord nameID="7" platformID="3" platEncID="1" langID="0x409">
178      Test OTF is not a trademark of FontTools.
179    </namerecord>
180    <namerecord nameID="8" platformID="3" platEncID="1" langID="0x409">
181      FontTools
182    </namerecord>
183    <namerecord nameID="9" platformID="3" platEncID="1" langID="0x409">
184      FontTools
185    </namerecord>
186    <namerecord nameID="11" platformID="3" platEncID="1" langID="0x409">
187      https://github.com/behdad/fonttools
188    </namerecord>
189    <namerecord nameID="12" platformID="3" platEncID="1" langID="0x409">
190      https://github.com/behdad/fonttools
191    </namerecord>
192    <namerecord nameID="14" platformID="3" platEncID="1" langID="0x409">
193      https://github.com/behdad/fonttools/blob/master/LICENSE.txt
194    </namerecord>
195  </name>
196
197  <cmap>
198    <tableVersion version="0"/>
199    <cmap_format_4 platformID="0" platEncID="3" language="0">
200      <map code="0x0" name=".null"/><!-- ???? -->
201      <map code="0xd" name="CR"/><!-- ???? -->
202      <map code="0x20" name="space"/><!-- SPACE -->
203      <map code="0x2e" name="period"/><!-- FULL STOP -->
204      <map code="0x2026" name="ellipsis"/><!-- HORIZONTAL ELLIPSIS -->
205    </cmap_format_4>
206    <cmap_format_6 platformID="1" platEncID="0" language="0">
207      <map code="0x0" name=".null"/>
208      <map code="0xd" name="CR"/>
209      <map code="0x20" name="space"/>
210      <map code="0x2e" name="period"/>
211      <map code="0xc9" name="ellipsis"/>
212    </cmap_format_6>
213    <cmap_format_4 platformID="3" platEncID="1" language="0">
214      <map code="0x0" name=".null"/><!-- ???? -->
215      <map code="0xd" name="CR"/><!-- ???? -->
216      <map code="0x20" name="space"/><!-- SPACE -->
217      <map code="0x2e" name="period"/><!-- FULL STOP -->
218      <map code="0x2026" name="ellipsis"/><!-- HORIZONTAL ELLIPSIS -->
219    </cmap_format_4>
220  </cmap>
221
222  <post>
223    <formatType value="3.0"/>
224    <italicAngle value="0.0"/>
225    <underlinePosition value="-75"/>
226    <underlineThickness value="50"/>
227    <isFixedPitch value="0"/>
228    <minMemType42 value="0"/>
229    <maxMemType42 value="0"/>
230    <minMemType1 value="0"/>
231    <maxMemType1 value="0"/>
232  </post>
233
234  <CFF>
235    <major value="1"/>
236    <minor value="0"/>
237    <CFFFont name="TestOTF-Regular">
238      <version value="001.001"/>
239      <Notice value="Copyright \(c\) 2015 by FontTools. No rights reserved."/>
240      <FullName value="Test OTF"/>
241      <FamilyName value="Test OTF"/>
242      <Weight value="Regular"/>
243      <isFixedPitch value="0"/>
244      <ItalicAngle value="0"/>
245      <UnderlinePosition value="-100"/>
246      <UnderlineThickness value="50"/>
247      <PaintType value="0"/>
248      <CharstringType value="2"/>
249      <FontMatrix value="0.001 0 0 0.001 0 0"/>
250      <FontBBox value="50 0 668 750"/>
251      <StrokeWidth value="0"/>
252      <!-- charset is dumped separately as the 'GlyphOrder' element -->
253      <Encoding name="StandardEncoding"/>
254      <Private>
255        <BlueScale value="0.039625"/>
256        <BlueShift value="7"/>
257        <BlueFuzz value="1"/>
258        <ForceBold value="0"/>
259        <LanguageGroup value="0"/>
260        <ExpansionFactor value="0.06"/>
261        <initialRandomSeed value="0"/>
262        <defaultWidthX value="0"/>
263        <nominalWidthX value="0"/>
264        <Subrs>
265          <!-- The 'index' attribute is only for humans; it is ignored when parsed. -->
266          <CharString index="0">
267            131 122 -131 hlineto
268            return
269          </CharString>
270        </Subrs>
271      </Private>
272      <CharStrings>
273        <CharString name=".notdef">
274          500 450 hmoveto
275          750 -400 -750 vlineto
276          50 50 rmoveto
277          650 300 -650 vlineto
278          endchar
279        </CharString>
280        <CharString name=".null">
281          0 endchar
282        </CharString>
283        <CharString name="CR">
284          250 endchar
285        </CharString>
286        <CharString name="ellipsis">
287          723 55 hmoveto
288          -107 callsubr
289          241 -122 rmoveto
290          -107 callsubr
291          241 -122 rmoveto
292          -107 callsubr
293          endchar
294        </CharString>
295        <CharString name="period">
296          241 55 hmoveto
297          -107 callsubr
298          endchar
299        </CharString>
300        <CharString name="space">
301          250 endchar
302        </CharString>
303      </CharStrings>
304    </CFFFont>
305
306    <GlobalSubrs>
307      <!-- The 'index' attribute is only for humans; it is ignored when parsed. -->
308    </GlobalSubrs>
309  </CFF>
310
311  <hmtx>
312    <mtx name=".notdef" width="500" lsb="50"/>
313    <mtx name=".null" width="0" lsb="0"/>
314    <mtx name="CR" width="250" lsb="0"/>
315    <mtx name="ellipsis" width="723" lsb="55"/>
316    <mtx name="period" width="241" lsb="55"/>
317    <mtx name="space" width="250" lsb="0"/>
318  </hmtx>
319
320  <DSIG>
321    <!-- note that the Digital Signature will be invalid after recompilation! -->
322    <tableHeader flag="0x0" numSigs="0" version="1"/>
323  </DSIG>
324
325</ttFont>
326