xref: /aosp_15_r20/external/fonttools/Tests/varLib/instancer/data/PartialInstancerTest4-VF.ttx (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1<?xml version="1.0" encoding="UTF-8"?>
2<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="4.24">
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="T"/>
8    <GlyphID id="2" name="o"/>
9    <GlyphID id="3" name="space"/>
10  </GlyphOrder>
11
12  <head>
13    <!-- Most of this table will be recalculated by the compiler -->
14    <tableVersion value="1.0"/>
15    <fontRevision value="1.0"/>
16    <checkSumAdjustment value="0x95e7c646"/>
17    <magicNumber value="0x5f0f3cf5"/>
18    <flags value="00000000 00000011"/>
19    <unitsPerEm value="1000"/>
20    <created value="Tue May 25 09:10:37 2021"/>
21    <modified value="Tue May 25 10:10:18 2021"/>
22    <xMin value="32"/>
23    <yMin value="-200"/>
24    <xMax value="567"/>
25    <yMax value="800"/>
26    <macStyle value="00000000 00000000"/>
27    <lowestRecPPEM value="6"/>
28    <fontDirectionHint value="2"/>
29    <indexToLocFormat value="0"/>
30    <glyphDataFormat value="0"/>
31  </head>
32
33  <hhea>
34    <tableVersion value="0x00010000"/>
35    <ascent value="1000"/>
36    <descent value="-200"/>
37    <lineGap value="0"/>
38    <advanceWidthMax value="600"/>
39    <minLeftSideBearing value="32"/>
40    <minRightSideBearing value="33"/>
41    <xMaxExtent value="567"/>
42    <caretSlopeRise value="1"/>
43    <caretSlopeRun value="0"/>
44    <caretOffset value="0"/>
45    <reserved0 value="0"/>
46    <reserved1 value="0"/>
47    <reserved2 value="0"/>
48    <reserved3 value="0"/>
49    <metricDataFormat value="0"/>
50    <numberOfHMetrics value="2"/>
51  </hhea>
52
53  <maxp>
54    <!-- Most of this table will be recalculated by the compiler -->
55    <tableVersion value="0x10000"/>
56    <numGlyphs value="4"/>
57    <maxPoints value="32"/>
58    <maxContours value="2"/>
59    <maxCompositePoints value="0"/>
60    <maxCompositeContours value="0"/>
61    <maxZones value="1"/>
62    <maxTwilightPoints value="0"/>
63    <maxStorage value="0"/>
64    <maxFunctionDefs value="0"/>
65    <maxInstructionDefs value="0"/>
66    <maxStackElements value="0"/>
67    <maxSizeOfInstructions value="0"/>
68    <maxComponentElements value="0"/>
69    <maxComponentDepth value="0"/>
70  </maxp>
71
72  <OS_2>
73    <!-- The fields 'usFirstCharIndex' and 'usLastCharIndex'
74         will be recalculated by the compiler -->
75    <version value="4"/>
76    <xAvgCharWidth value="575"/>
77    <usWeightClass value="400"/>
78    <usWidthClass value="5"/>
79    <fsType value="00000000 00001000"/>
80    <ySubscriptXSize value="650"/>
81    <ySubscriptYSize value="600"/>
82    <ySubscriptXOffset value="0"/>
83    <ySubscriptYOffset value="75"/>
84    <ySuperscriptXSize value="650"/>
85    <ySuperscriptYSize value="600"/>
86    <ySuperscriptXOffset value="0"/>
87    <ySuperscriptYOffset value="350"/>
88    <yStrikeoutSize value="50"/>
89    <yStrikeoutPosition value="300"/>
90    <sFamilyClass value="0"/>
91    <panose>
92      <bFamilyType value="0"/>
93      <bSerifStyle value="0"/>
94      <bWeight value="0"/>
95      <bProportion value="0"/>
96      <bContrast value="0"/>
97      <bStrokeVariation value="0"/>
98      <bArmStyle value="0"/>
99      <bLetterForm value="0"/>
100      <bMidline value="0"/>
101      <bXHeight value="0"/>
102    </panose>
103    <ulUnicodeRange1 value="00000000 00000000 00000000 00000001"/>
104    <ulUnicodeRange2 value="00000000 00000000 00000000 00000000"/>
105    <ulUnicodeRange3 value="00000000 00000000 00000000 00000000"/>
106    <ulUnicodeRange4 value="00000000 00000000 00000000 00000000"/>
107    <achVendID value="NONE"/>
108    <fsSelection value="00000000 01000000"/>
109    <usFirstCharIndex value="32"/>
110    <usLastCharIndex value="111"/>
111    <sTypoAscender value="800"/>
112    <sTypoDescender value="-200"/>
113    <sTypoLineGap value="200"/>
114    <usWinAscent value="1000"/>
115    <usWinDescent value="200"/>
116    <ulCodePageRange1 value="00000000 00000000 00000000 00000001"/>
117    <ulCodePageRange2 value="00000000 00000000 00000000 00000000"/>
118    <sxHeight value="500"/>
119    <sCapHeight value="700"/>
120    <usDefaultChar value="0"/>
121    <usBreakChar value="32"/>
122    <usMaxContext value="2"/>
123  </OS_2>
124
125  <hmtx>
126    <mtx name=".notdef" width="500" lsb="50"/>
127    <mtx name="T" width="600" lsb="32"/>
128    <mtx name="o" width="600" lsb="58"/>
129    <mtx name="space" width="600" lsb="0"/>
130  </hmtx>
131
132  <cmap>
133    <tableVersion version="0"/>
134    <cmap_format_4 platformID="0" platEncID="3" language="0">
135      <map code="0x20" name="space"/><!-- SPACE -->
136      <map code="0x54" name="T"/><!-- LATIN CAPITAL LETTER T -->
137      <map code="0x6f" name="o"/><!-- LATIN SMALL LETTER O -->
138    </cmap_format_4>
139    <cmap_format_4 platformID="3" platEncID="1" language="0">
140      <map code="0x20" name="space"/><!-- SPACE -->
141      <map code="0x54" name="T"/><!-- LATIN CAPITAL LETTER T -->
142      <map code="0x6f" name="o"/><!-- LATIN SMALL LETTER O -->
143    </cmap_format_4>
144  </cmap>
145
146  <loca>
147    <!-- The 'loca' table will be calculated by the compiler -->
148  </loca>
149
150  <glyf>
151
152    <!-- The xMin, yMin, xMax and yMax values
153         will be recalculated by the compiler. -->
154
155    <TTGlyph name=".notdef" xMin="50" yMin="-200" xMax="450" yMax="800">
156      <contour>
157        <pt x="50" y="-200" on="1"/>
158        <pt x="50" y="800" on="1"/>
159        <pt x="450" y="800" on="1"/>
160        <pt x="450" y="-200" on="1"/>
161      </contour>
162      <contour>
163        <pt x="100" y="-150" on="1"/>
164        <pt x="400" y="-150" on="1"/>
165        <pt x="400" y="750" on="1"/>
166        <pt x="100" y="750" on="1"/>
167      </contour>
168      <instructions/>
169    </TTGlyph>
170
171    <TTGlyph name="T" xMin="32" yMin="0" xMax="567" yMax="710">
172      <contour>
173        <pt x="32" y="710" on="1"/>
174        <pt x="567" y="710" on="1"/>
175        <pt x="567" y="627" on="1"/>
176        <pt x="32" y="627" on="1"/>
177      </contour>
178      <contour>
179        <pt x="230" y="710" on="1"/>
180        <pt x="370" y="710" on="1"/>
181        <pt x="370" y="0" on="1"/>
182        <pt x="230" y="0" on="1"/>
183      </contour>
184      <instructions/>
185    </TTGlyph>
186
187    <TTGlyph name="o" xMin="58" yMin="-15" xMax="542" yMax="533">
188      <contour>
189        <pt x="300" y="-15" on="1"/>
190        <pt x="233" y="-15" on="0"/>
191        <pt x="123" y="59" on="0"/>
192        <pt x="58" y="184" on="0"/>
193        <pt x="58" y="259" on="1"/>
194        <pt x="58" y="335" on="0"/>
195        <pt x="123" y="459" on="0"/>
196        <pt x="233" y="533" on="0"/>
197        <pt x="300" y="533" on="1"/>
198        <pt x="367" y="533" on="0"/>
199        <pt x="477" y="459" on="0"/>
200        <pt x="542" y="335" on="0"/>
201        <pt x="542" y="259" on="1"/>
202        <pt x="542" y="184" on="0"/>
203        <pt x="477" y="59" on="0"/>
204        <pt x="367" y="-15" on="0"/>
205      </contour>
206      <contour>
207        <pt x="300" y="50" on="1"/>
208        <pt x="343" y="50" on="0"/>
209        <pt x="413" y="107" on="0"/>
210        <pt x="455" y="202" on="0"/>
211        <pt x="455" y="260" on="1"/>
212        <pt x="455" y="318" on="0"/>
213        <pt x="413" y="413" on="0"/>
214        <pt x="343" y="470" on="0"/>
215        <pt x="300" y="470" on="1"/>
216        <pt x="257" y="470" on="0"/>
217        <pt x="187" y="413" on="0"/>
218        <pt x="145" y="318" on="0"/>
219        <pt x="145" y="260" on="1"/>
220        <pt x="145" y="202" on="0"/>
221        <pt x="187" y="107" on="0"/>
222        <pt x="257" y="50" on="0"/>
223      </contour>
224      <instructions/>
225    </TTGlyph>
226
227    <TTGlyph name="space"/><!-- contains no outline data -->
228
229  </glyf>
230
231  <name>
232    <namerecord nameID="256" platformID="1" platEncID="0" langID="0x0" unicode="True">
233      Weight
234    </namerecord>
235    <namerecord nameID="257" platformID="1" platEncID="0" langID="0x0" unicode="True">
236      Regular
237    </namerecord>
238    <namerecord nameID="258" platformID="1" platEncID="0" langID="0x0" unicode="True">
239      Bold
240    </namerecord>
241    <namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
242      New Font
243    </namerecord>
244    <namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
245      Regular
246    </namerecord>
247    <namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
248      1.000;NONE;NewFont-Regular
249    </namerecord>
250    <namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
251      New Font Regular
252    </namerecord>
253    <namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
254      Version 1.000
255    </namerecord>
256    <namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
257      NewFont-Regular
258    </namerecord>
259    <namerecord nameID="256" platformID="3" platEncID="1" langID="0x409">
260      Weight
261    </namerecord>
262    <namerecord nameID="257" platformID="3" platEncID="1" langID="0x409">
263      Regular
264    </namerecord>
265    <namerecord nameID="258" platformID="3" platEncID="1" langID="0x409">
266      Bold
267    </namerecord>
268  </name>
269
270  <post>
271    <formatType value="2.0"/>
272    <italicAngle value="0.0"/>
273    <underlinePosition value="-100"/>
274    <underlineThickness value="50"/>
275    <isFixedPitch value="0"/>
276    <minMemType42 value="0"/>
277    <maxMemType42 value="0"/>
278    <minMemType1 value="0"/>
279    <maxMemType1 value="0"/>
280    <psNames>
281      <!-- This file uses unique glyph names based on the information
282           found in the 'post' table. Since these names might not be unique,
283           we have to invent artificial names in case of clashes. In order to
284           be able to retain the original information, we need a name to
285           ps name mapping for those cases where they differ. That's what
286           you see below.
287            -->
288    </psNames>
289    <extraNames>
290      <!-- following are the name that are not taken from the standard Mac glyph order -->
291    </extraNames>
292  </post>
293
294  <GDEF>
295    <Version value="0x00010003"/>
296    <VarStore Format="1">
297      <Format value="1"/>
298      <VarRegionList>
299        <!-- RegionAxisCount=1 -->
300        <!-- RegionCount=1 -->
301        <Region index="0">
302          <VarRegionAxis index="0">
303            <StartCoord value="0.0"/>
304            <PeakCoord value="1.0"/>
305            <EndCoord value="1.0"/>
306          </VarRegionAxis>
307        </Region>
308      </VarRegionList>
309      <!-- VarDataCount=1 -->
310      <VarData index="0">
311        <!-- ItemCount=1 -->
312        <NumShorts value="0"/>
313        <!-- VarRegionCount=1 -->
314        <VarRegionIndex index="0" value="0"/>
315        <Item index="0" value="[-50]"/>
316      </VarData>
317    </VarStore>
318  </GDEF>
319
320  <GPOS>
321    <Version value="0x00010000"/>
322    <ScriptList>
323      <!-- ScriptCount=1 -->
324      <ScriptRecord index="0">
325        <ScriptTag value="DFLT"/>
326        <Script>
327          <DefaultLangSys>
328            <ReqFeatureIndex value="65535"/>
329            <!-- FeatureCount=1 -->
330            <FeatureIndex index="0" value="0"/>
331          </DefaultLangSys>
332          <!-- LangSysCount=0 -->
333        </Script>
334      </ScriptRecord>
335    </ScriptList>
336    <FeatureList>
337      <!-- FeatureCount=1 -->
338      <FeatureRecord index="0">
339        <FeatureTag value="kern"/>
340        <Feature>
341          <!-- LookupCount=1 -->
342          <LookupListIndex index="0" value="0"/>
343        </Feature>
344      </FeatureRecord>
345    </FeatureList>
346    <LookupList>
347      <!-- LookupCount=1 -->
348      <Lookup index="0">
349        <LookupType value="2"/>
350        <LookupFlag value="8"/><!-- ignoreMarks -->
351        <!-- SubTableCount=1 -->
352        <PairPos index="0" Format="1">
353          <Coverage>
354            <Glyph value="T"/>
355          </Coverage>
356          <ValueFormat1 value="64"/>
357          <ValueFormat2 value="0"/>
358          <!-- PairSetCount=1 -->
359          <PairSet index="0">
360            <!-- PairValueCount=1 -->
361            <PairValueRecord index="0">
362              <SecondGlyph value="o"/>
363              <Value1>
364                <XAdvDevice>
365                  <StartSize value="0"/>
366                  <EndSize value="0"/>
367                  <DeltaFormat value="32768"/>
368                </XAdvDevice>
369              </Value1>
370            </PairValueRecord>
371          </PairSet>
372        </PairPos>
373      </Lookup>
374    </LookupList>
375  </GPOS>
376
377  <fvar>
378
379    <!-- Weight -->
380    <Axis>
381      <AxisTag>wght</AxisTag>
382      <Flags>0x0</Flags>
383      <MinValue>400.0</MinValue>
384      <DefaultValue>400.0</DefaultValue>
385      <MaxValue>700.0</MaxValue>
386      <AxisNameID>256</AxisNameID>
387    </Axis>
388
389    <!-- Regular -->
390    <NamedInstance flags="0x0" subfamilyNameID="257">
391      <coord axis="wght" value="400.0"/>
392    </NamedInstance>
393
394    <!-- Bold -->
395    <NamedInstance flags="0x0" subfamilyNameID="258">
396      <coord axis="wght" value="700.0"/>
397    </NamedInstance>
398  </fvar>
399
400  <gvar>
401    <version value="1"/>
402    <reserved value="0"/>
403    <glyphVariations glyph="T">
404      <tuple>
405        <coord axis="wght" value="1.0"/>
406        <delta pt="0" x="0" y="0"/>
407        <delta pt="1" x="0" y="0"/>
408        <delta pt="2" x="0" y="-27"/>
409        <delta pt="3" x="0" y="-27"/>
410        <delta pt="4" x="-30" y="0"/>
411        <delta pt="5" x="28" y="0"/>
412        <delta pt="6" x="28" y="0"/>
413        <delta pt="7" x="-30" y="0"/>
414        <delta pt="8" x="0" y="0"/>
415        <delta pt="9" x="0" y="0"/>
416        <delta pt="10" x="0" y="0"/>
417        <delta pt="11" x="0" y="0"/>
418      </tuple>
419    </glyphVariations>
420    <glyphVariations glyph="o">
421      <tuple>
422        <coord axis="wght" value="1.0"/>
423        <delta pt="0" x="0" y="0"/>
424        <delta pt="1" x="0" y="0"/>
425        <delta pt="2" x="0" y="0"/>
426        <delta pt="3" x="0" y="0"/>
427        <delta pt="4" x="0" y="0"/>
428        <delta pt="5" x="0" y="0"/>
429        <delta pt="6" x="0" y="0"/>
430        <delta pt="7" x="0" y="0"/>
431        <delta pt="8" x="0" y="0"/>
432        <delta pt="9" x="0" y="0"/>
433        <delta pt="10" x="0" y="0"/>
434        <delta pt="11" x="0" y="0"/>
435        <delta pt="12" x="0" y="0"/>
436        <delta pt="13" x="0" y="0"/>
437        <delta pt="14" x="0" y="0"/>
438        <delta pt="15" x="0" y="0"/>
439        <delta pt="16" x="0" y="30"/>
440        <delta pt="17" x="0" y="30"/>
441        <delta pt="18" x="-15" y="15"/>
442        <delta pt="19" x="-30" y="0"/>
443        <delta pt="20" x="-30" y="0"/>
444        <delta pt="21" x="-30" y="0"/>
445        <delta pt="22" x="-15" y="-15"/>
446        <delta pt="23" x="0" y="-30"/>
447        <delta pt="24" x="0" y="-30"/>
448        <delta pt="25" x="0" y="-30"/>
449        <delta pt="26" x="15" y="-15"/>
450        <delta pt="27" x="30" y="0"/>
451        <delta pt="28" x="30" y="0"/>
452        <delta pt="29" x="30" y="0"/>
453        <delta pt="30" x="15" y="15"/>
454        <delta pt="31" x="0" y="30"/>
455        <delta pt="32" x="0" y="0"/>
456        <delta pt="33" x="0" y="0"/>
457        <delta pt="34" x="0" y="0"/>
458        <delta pt="35" x="0" y="0"/>
459      </tuple>
460    </glyphVariations>
461  </gvar>
462
463</ttFont>
464