xref: /aosp_15_r20/external/fonttools/Tests/varLib/data/master_cff2/TestCFF2_Regular.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="A"/>
8    <GlyphID id="2" name="T"/>
9    <GlyphID id="3" name="dollar.a"/>
10    <GlyphID id="4" name="dollar"/>
11  </GlyphOrder>
12
13  <head>
14    <!-- Most of this table will be recalculated by the compiler -->
15    <tableVersion value="1.0"/>
16    <fontRevision value="1.01"/>
17    <checkSumAdjustment value="0x60d07155"/>
18    <magicNumber value="0x5f0f3cf5"/>
19    <flags value="00000000 00000011"/>
20    <unitsPerEm value="1000"/>
21    <created value="Thu Nov 29 14:52:09 2018"/>
22    <modified value="Thu Nov 29 14:52:09 2018"/>
23    <xMin value="31"/>
24    <yMin value="-115"/>
25    <xMax value="569"/>
26    <yMax value="751"/>
27    <macStyle value="00000000 00000000"/>
28    <lowestRecPPEM value="3"/>
29    <fontDirectionHint value="2"/>
30    <indexToLocFormat value="0"/>
31    <glyphDataFormat value="0"/>
32  </head>
33
34  <hhea>
35    <tableVersion value="0x00010000"/>
36    <ascent value="984"/>
37    <descent value="-273"/>
38    <lineGap value="0"/>
39    <advanceWidthMax value="600"/>
40    <minLeftSideBearing value="31"/>
41    <minRightSideBearing value="31"/>
42    <xMaxExtent value="569"/>
43    <caretSlopeRise value="1"/>
44    <caretSlopeRun value="0"/>
45    <caretOffset value="0"/>
46    <reserved0 value="0"/>
47    <reserved1 value="0"/>
48    <reserved2 value="0"/>
49    <reserved3 value="0"/>
50    <metricDataFormat value="0"/>
51    <numberOfHMetrics value="5"/>
52  </hhea>
53
54  <maxp>
55    <tableVersion value="0x5000"/>
56    <numGlyphs value="5"/>
57  </maxp>
58
59  <OS_2>
60    <!-- The fields 'usFirstCharIndex' and 'usLastCharIndex'
61         will be recalculated by the compiler -->
62    <version value="3"/>
63    <xAvgCharWidth value="579"/>
64    <usWeightClass value="400"/>
65    <usWidthClass value="5"/>
66    <fsType value="00000000 00000000"/>
67    <ySubscriptXSize value="650"/>
68    <ySubscriptYSize value="600"/>
69    <ySubscriptXOffset value="0"/>
70    <ySubscriptYOffset value="75"/>
71    <ySuperscriptXSize value="650"/>
72    <ySuperscriptYSize value="600"/>
73    <ySuperscriptXOffset value="0"/>
74    <ySuperscriptYOffset value="350"/>
75    <yStrikeoutSize value="50"/>
76    <yStrikeoutPosition value="291"/>
77    <sFamilyClass value="0"/>
78    <panose>
79      <bFamilyType value="2"/>
80      <bSerifStyle value="11"/>
81      <bWeight value="5"/>
82      <bProportion value="9"/>
83      <bContrast value="3"/>
84      <bStrokeVariation value="4"/>
85      <bArmStyle value="3"/>
86      <bLetterForm value="2"/>
87      <bMidline value="2"/>
88      <bXHeight value="4"/>
89    </panose>
90    <ulUnicodeRange1 value="00000000 00000000 00000000 00000000"/>
91    <ulUnicodeRange2 value="00000000 00000000 00000000 00000000"/>
92    <ulUnicodeRange3 value="00000000 00000000 00000000 00000000"/>
93    <ulUnicodeRange4 value="00000000 00000000 00000000 00000000"/>
94    <achVendID value="ADBO"/>
95    <fsSelection value="00000000 01000000"/>
96    <usFirstCharIndex value="36"/>
97    <usLastCharIndex value="84"/>
98    <sTypoAscender value="750"/>
99    <sTypoDescender value="-250"/>
100    <sTypoLineGap value="0"/>
101    <usWinAscent value="984"/>
102    <usWinDescent value="273"/>
103    <ulCodePageRange1 value="00000000 00000000 00000000 00000001"/>
104    <ulCodePageRange2 value="00000000 00000000 00000000 00000000"/>
105    <sxHeight value="486"/>
106    <sCapHeight value="660"/>
107    <usDefaultChar value="0"/>
108    <usBreakChar value="32"/>
109    <usMaxContext value="1"/>
110  </OS_2>
111
112  <name>
113    <namerecord nameID="1" platformID="1" platEncID="0" langID="0x0" unicode="True">
114      Source Code Variable
115    </namerecord>
116    <namerecord nameID="2" platformID="1" platEncID="0" langID="0x0" unicode="True">
117      Regular
118    </namerecord>
119    <namerecord nameID="3" platformID="1" platEncID="0" langID="0x0" unicode="True">
120      1.010;ADBO;SourceCodeVariable-Roman
121    </namerecord>
122    <namerecord nameID="4" platformID="1" platEncID="0" langID="0x0" unicode="True">
123      Source Code Variable
124    </namerecord>
125    <namerecord nameID="5" platformID="1" platEncID="0" langID="0x0" unicode="True">
126      Version 1.010;hotconv 1.0.109;makeotfexe 2.5.65596
127    </namerecord>
128    <namerecord nameID="6" platformID="1" platEncID="0" langID="0x0" unicode="True">
129      SourceCodeVariable-Roman
130    </namerecord>
131    <namerecord nameID="17" platformID="1" platEncID="0" langID="0x0" unicode="True">
132      Roman
133    </namerecord>
134    <namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
135      Source Code Variable
136    </namerecord>
137    <namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
138      Regular
139    </namerecord>
140    <namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
141      1.010;ADBO;SourceCodeVariable-Roman
142    </namerecord>
143    <namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
144      Source Code Variable
145    </namerecord>
146    <namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
147      Version 1.010;hotconv 1.0.109;makeotfexe 2.5.65596
148    </namerecord>
149    <namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
150      SourceCodeVariable-Roman
151    </namerecord>
152    <namerecord nameID="17" platformID="3" platEncID="1" langID="0x409">
153      Roman
154    </namerecord>
155  </name>
156
157  <cmap>
158    <tableVersion version="0"/>
159    <cmap_format_4 platformID="0" platEncID="3" language="0">
160      <map code="0x24" name="dollar"/><!-- DOLLAR SIGN -->
161      <map code="0x41" name="A"/><!-- LATIN CAPITAL LETTER A -->
162      <map code="0x54" name="T"/><!-- LATIN CAPITAL LETTER T -->
163    </cmap_format_4>
164    <cmap_format_6 platformID="1" platEncID="0" language="0">
165      <map code="0x24" name="dollar"/>
166      <map code="0x41" name="A"/>
167      <map code="0x54" name="T"/>
168    </cmap_format_6>
169    <cmap_format_4 platformID="3" platEncID="1" language="0">
170      <map code="0x24" name="dollar"/><!-- DOLLAR SIGN -->
171      <map code="0x41" name="A"/><!-- LATIN CAPITAL LETTER A -->
172      <map code="0x54" name="T"/><!-- LATIN CAPITAL LETTER T -->
173    </cmap_format_4>
174  </cmap>
175
176  <post>
177    <formatType value="3.0"/>
178    <italicAngle value="0.0"/>
179    <underlinePosition value="-75"/>
180    <underlineThickness value="50"/>
181    <isFixedPitch value="1"/>
182    <minMemType42 value="0"/>
183    <maxMemType42 value="0"/>
184    <minMemType1 value="0"/>
185    <maxMemType1 value="0"/>
186  </post>
187
188  <CFF>
189    <major value="1"/>
190    <minor value="0"/>
191    <CFFFont name="SourceCodeVariable-Roman">
192      <version value="1.0"/>
193      <Notice value="Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries."/>
194      <Copyright value="Copyright 2010 - 2012 Adobe Systems Incorporated. All Rights Reserved."/>
195      <FamilyName value="Source Code"/>
196      <isFixedPitch value="1"/>
197      <ItalicAngle value="0"/>
198      <UnderlinePosition value="-100"/>
199      <UnderlineThickness value="50"/>
200      <PaintType value="0"/>
201      <CharstringType value="2"/>
202      <FontMatrix value="0.001 0 0 0.001 0 0"/>
203      <FontBBox value="31 -115 569 751"/>
204      <StrokeWidth value="0"/>
205      <!-- charset is dumped separately as the 'GlyphOrder' element -->
206      <Encoding name="StandardEncoding"/>
207      <Private>
208        <BlueValues value="-12 0 486 498 574 586 638 650 656 668 712 724"/>
209        <OtherBlues value="-217 -205"/>
210        <BlueScale value="0.0625"/>
211        <BlueShift value="7"/>
212        <BlueFuzz value="0"/>
213        <StdHW value="67"/>
214        <StdVW value="85"/>
215        <ForceBold value="0"/>
216        <LanguageGroup value="0"/>
217        <ExpansionFactor value="0.06"/>
218        <initialRandomSeed value="0"/>
219        <defaultWidthX value="600"/>
220        <nominalWidthX value="604"/>
221      </Private>
222      <CharStrings>
223        <CharString name=".notdef">
224          62 0 rmoveto
225          476 0 rlineto
226          0 660 rlineto
227          -476 0 rlineto
228          0 -660 rlineto
229          109 59 rmoveto
230          73 131 rlineto
231          54 102 rlineto
232          4 0 rlineto
233          52 -102 rlineto
234          73 -131 rlineto
235          -256 0 rlineto
236          -44 52 rmoveto
237          0 461 rlineto
238          127 -232 rlineto
239          -127 -229 rlineto
240          171 277 rmoveto
241          -50 93 rlineto
242          -66 119 rlineto
243          234 0 rlineto
244          -65 -119 rlineto
245          -49 -93 rlineto
246          -4 0 rlineto
247          48 -48 rmoveto
248          126 232 rlineto
249          0 -461 rlineto
250          -126 229 rlineto
251          endchar
252        </CharString>
253        <CharString name="A">
254          31 0 rmoveto
255          86 0 rlineto
256          115 366 rlineto
257          23 73 21 72 21 76 rrcurveto
258          4 0 rlineto
259          20 -76 22 -72 23 -73 rrcurveto
260          113 -366 rlineto
261          90 0 rlineto
262          -221 656 rlineto
263          -96 0 rlineto
264          -221 -656 rlineto
265          117 199 rmoveto
266          301 0 rlineto
267          0 68 rlineto
268          -301 0 rlineto
269          0 -68 rlineto
270          endchar
271        </CharString>
272        <CharString name="T">
273          258 0 rmoveto
274          84 0 rlineto
275          0 585 rlineto
276          217 0 rlineto
277          0 71 rlineto
278          -518 0 rlineto
279          0 -71 rlineto
280          217 0 rlineto
281          0 -585 rlineto
282          endchar
283        </CharString>
284        <CharString name="dollar">
285          -107 248 35 rmoveto
286          -39 0 -45 5 -46 18 rrcurveto
287          53 -36 rlineto
288          -17 76 rlineto
289          -12 53 -22 13 -24 0 rrcurveto
290          -22 0 -14 -11 -9 -20 rrcurveto
291          4 -87 81 -59 107 0 rrcurveto
292          136 0 82 76 0 107 rrcurveto
293          0 82 -41 65 -135 47 rrcurveto
294          -38 13 rlineto
295          -71 23 -40 35 0 64 rrcurveto
296          0 75 57 37 74 0 rrcurveto
297          30 0 36 -5 42 -17 rrcurveto
298          -52 36 rlineto
299          17 -76 rlineto
300          12 -52 25 -14 22 0 rrcurveto
301          19 0 17 10 8 21 rrcurveto
302          -6 86 -80 60 -101 0 rrcurveto
303          -115 0 -83 -80 0 -102 rrcurveto
304          0 -100 62 -54 105 -37 rrcurveto
305          37 -13 rlineto
306          85 -30 36 -30 0 -63 rrcurveto
307          0 -74 -53 -42 -82 0 rrcurveto
308          31 287 rmoveto
309          0 428 rlineto
310          -40 0 rlineto
311          0 -428 rlineto
312          40 0 rlineto
313          -41 -437 rmoveto
314          40 0 rlineto
315          0 437 rlineto
316          -40 0 rlineto
317          0 -437 rlineto
318          endchar
319        </CharString>
320        <CharString name="dollar.a">
321          304 34 rmoveto
322          125 0 86 65 0 96 rrcurveto
323          0 183 -324 -21 0 110 rrcurveto
324          0 50 42 32 67 0 rrcurveto
325          68 0 36 -21 47 -36 rrcurveto
326          44 49 rlineto
327          -46 44 -54 33 -89 0 rrcurveto
328          -115 0 -81 -59 0 -94 rrcurveto
329          0 -174 324 22 0 -124 rrcurveto
330          0 -51 -42 -35 -78 0 rrcurveto
331          -76 0 -62 31 -52 37 rrcurveto
332          -39 -58 rlineto
333          52 -43 84 -36 83 0 rrcurveto
334          -51 -147 rmoveto
335          159 857 rlineto
336          -56 7 rlineto
337          -159 -858 rlineto
338          56 -6 rlineto
339          endchar
340        </CharString>
341      </CharStrings>
342    </CFFFont>
343
344    <GlobalSubrs>
345      <!-- The 'index' attribute is only for humans; it is ignored when parsed. -->
346    </GlobalSubrs>
347  </CFF>
348
349  <BASE>
350    <Version value="0x00010000"/>
351    <HorizAxis>
352      <BaseTagList>
353        <!-- BaseTagCount=2 -->
354        <BaselineTag index="0" value="ideo"/>
355        <BaselineTag index="1" value="romn"/>
356      </BaseTagList>
357      <BaseScriptList>
358        <!-- BaseScriptCount=4 -->
359        <BaseScriptRecord index="0">
360          <BaseScriptTag value="DFLT"/>
361          <BaseScript>
362            <BaseValues>
363              <DefaultIndex value="1"/>
364              <!-- BaseCoordCount=2 -->
365              <BaseCoord index="0" Format="1">
366                <Coordinate value="-170"/>
367              </BaseCoord>
368              <BaseCoord index="1" Format="1">
369                <Coordinate value="0"/>
370              </BaseCoord>
371            </BaseValues>
372            <!-- BaseLangSysCount=0 -->
373          </BaseScript>
374        </BaseScriptRecord>
375        <BaseScriptRecord index="1">
376          <BaseScriptTag value="cyrl"/>
377          <BaseScript>
378            <BaseValues>
379              <DefaultIndex value="1"/>
380              <!-- BaseCoordCount=2 -->
381              <BaseCoord index="0" Format="1">
382                <Coordinate value="-170"/>
383              </BaseCoord>
384              <BaseCoord index="1" Format="1">
385                <Coordinate value="0"/>
386              </BaseCoord>
387            </BaseValues>
388            <!-- BaseLangSysCount=0 -->
389          </BaseScript>
390        </BaseScriptRecord>
391        <BaseScriptRecord index="2">
392          <BaseScriptTag value="grek"/>
393          <BaseScript>
394            <BaseValues>
395              <DefaultIndex value="1"/>
396              <!-- BaseCoordCount=2 -->
397              <BaseCoord index="0" Format="1">
398                <Coordinate value="-170"/>
399              </BaseCoord>
400              <BaseCoord index="1" Format="1">
401                <Coordinate value="0"/>
402              </BaseCoord>
403            </BaseValues>
404            <!-- BaseLangSysCount=0 -->
405          </BaseScript>
406        </BaseScriptRecord>
407        <BaseScriptRecord index="3">
408          <BaseScriptTag value="latn"/>
409          <BaseScript>
410            <BaseValues>
411              <DefaultIndex value="1"/>
412              <!-- BaseCoordCount=2 -->
413              <BaseCoord index="0" Format="1">
414                <Coordinate value="-170"/>
415              </BaseCoord>
416              <BaseCoord index="1" Format="1">
417                <Coordinate value="0"/>
418              </BaseCoord>
419            </BaseValues>
420            <!-- BaseLangSysCount=0 -->
421          </BaseScript>
422        </BaseScriptRecord>
423      </BaseScriptList>
424    </HorizAxis>
425  </BASE>
426
427  <GPOS>
428    <Version value="0x00010000"/>
429    <ScriptList>
430      <!-- ScriptCount=1 -->
431      <ScriptRecord index="0">
432        <ScriptTag value="DFLT"/>
433        <Script>
434          <DefaultLangSys>
435            <ReqFeatureIndex value="65535"/>
436            <!-- FeatureCount=1 -->
437            <FeatureIndex index="0" value="0"/>
438          </DefaultLangSys>
439          <!-- LangSysCount=0 -->
440        </Script>
441      </ScriptRecord>
442    </ScriptList>
443    <FeatureList>
444      <!-- FeatureCount=1 -->
445      <FeatureRecord index="0">
446        <FeatureTag value="size"/>
447        <Feature>
448          <FeatureParamsSize>
449            <DesignSize value="10.0"/>
450            <SubfamilyID value="0"/>
451            <SubfamilyNameID value="0"/>
452            <RangeStart value="0.0"/>
453            <RangeEnd value="0.0"/>
454          </FeatureParamsSize>
455          <!-- LookupCount=0 -->
456        </Feature>
457      </FeatureRecord>
458    </FeatureList>
459    <LookupList>
460      <!-- LookupCount=0 -->
461    </LookupList>
462  </GPOS>
463
464  <GSUB>
465    <Version value="0x00010000"/>
466    <ScriptList>
467      <!-- ScriptCount=1 -->
468      <ScriptRecord index="0">
469        <ScriptTag value="DFLT"/>
470        <Script>
471          <DefaultLangSys>
472            <ReqFeatureIndex value="65535"/>
473            <!-- FeatureCount=1 -->
474            <FeatureIndex index="0" value="0"/>
475          </DefaultLangSys>
476          <!-- LangSysCount=0 -->
477        </Script>
478      </ScriptRecord>
479    </ScriptList>
480    <FeatureList>
481      <!-- FeatureCount=1 -->
482      <FeatureRecord index="0">
483        <FeatureTag value="test"/>
484        <Feature>
485          <!-- LookupCount=1 -->
486          <LookupListIndex index="0" value="0"/>
487        </Feature>
488      </FeatureRecord>
489    </FeatureList>
490    <LookupList>
491      <!-- LookupCount=1 -->
492      <Lookup index="0">
493        <LookupType value="1"/>
494        <LookupFlag value="0"/>
495        <!-- SubTableCount=1 -->
496        <SingleSubst index="0">
497          <Substitution in="dollar" out="dollar.a"/>
498        </SingleSubst>
499      </Lookup>
500    </LookupList>
501  </GSUB>
502
503  <hmtx>
504    <mtx name=".notdef" width="600" lsb="62"/>
505    <mtx name="A" width="600" lsb="31"/>
506    <mtx name="T" width="600" lsb="41"/>
507    <mtx name="dollar" width="497" lsb="51"/>
508    <mtx name="dollar.a" width="600" lsb="85"/>
509  </hmtx>
510
511  <DSIG>
512    <!-- note that the Digital Signature will be invalid after recompilation! -->
513    <tableHeader flag="0x0" numSigs="0" version="1"/>
514  </DSIG>
515
516</ttFont>
517