xref: /aosp_15_r20/external/fonttools/Tests/varLib/data/master_ttx_getvar_ttf/Mutator_Getvar.ttx (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1<?xml version="1.0" encoding="UTF-8"?>
2<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="3.10">
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="nonmarkingreturn"/>
9    <GlyphID id="3" name="space"/>
10    <GlyphID id="4" name="b"/>
11    <GlyphID id="5" name="q"/>
12    <GlyphID id="6" name="a"/>
13  </GlyphOrder>
14
15  <head>
16    <!-- Most of this table will be recalculated by the compiler -->
17    <tableVersion value="1.0"/>
18    <fontRevision value="1.0"/>
19    <checkSumAdjustment value="0xe59c28a1"/>
20    <magicNumber value="0x5f0f3cf5"/>
21    <flags value="00000000 00001011"/>
22    <unitsPerEm value="1000"/>
23    <created value="Thu Apr 27 12:41:42 2017"/>
24    <modified value="Tue May  2 16:43:12 2017"/>
25    <xMin value="38"/>
26    <yMin value="-152"/>
27    <xMax value="456"/>
28    <yMax value="608"/>
29    <macStyle value="00000000 00000000"/>
30    <lowestRecPPEM value="9"/>
31    <fontDirectionHint value="2"/>
32    <indexToLocFormat value="0"/>
33    <glyphDataFormat value="0"/>
34  </head>
35
36  <hhea>
37    <tableVersion value="0x00010000"/>
38    <ascent value="750"/>
39    <descent value="-250"/>
40    <lineGap value="9"/>
41    <advanceWidthMax value="494"/>
42    <minLeftSideBearing value="38"/>
43    <minRightSideBearing value="38"/>
44    <xMaxExtent value="456"/>
45    <caretSlopeRise value="1"/>
46    <caretSlopeRun value="0"/>
47    <caretOffset value="0"/>
48    <reserved0 value="0"/>
49    <reserved1 value="0"/>
50    <reserved2 value="0"/>
51    <reserved3 value="0"/>
52    <metricDataFormat value="0"/>
53    <numberOfHMetrics value="5"/>
54  </hhea>
55
56  <maxp>
57    <!-- Most of this table will be recalculated by the compiler -->
58    <tableVersion value="0x10000"/>
59    <numGlyphs value="7"/>
60    <maxPoints value="20"/>
61    <maxContours value="2"/>
62    <maxCompositePoints value="20"/>
63    <maxCompositeContours value="2"/>
64    <maxZones value="1"/>
65    <maxTwilightPoints value="0"/>
66    <maxStorage value="0"/>
67    <maxFunctionDefs value="0"/>
68    <maxInstructionDefs value="0"/>
69    <maxStackElements value="0"/>
70    <maxSizeOfInstructions value="0"/>
71    <maxComponentElements value="1"/>
72    <maxComponentDepth value="1"/>
73  </maxp>
74
75  <OS_2>
76    <!-- The fields 'usFirstCharIndex' and 'usLastCharIndex'
77         will be recalculated by the compiler -->
78    <version value="3"/>
79    <xAvgCharWidth value="347"/>
80    <usWeightClass value="400"/>
81    <usWidthClass value="5"/>
82    <fsType value="00000000 00000100"/>
83    <ySubscriptXSize value="700"/>
84    <ySubscriptYSize value="650"/>
85    <ySubscriptXOffset value="0"/>
86    <ySubscriptYOffset value="140"/>
87    <ySuperscriptXSize value="700"/>
88    <ySuperscriptYSize value="650"/>
89    <ySuperscriptXOffset value="0"/>
90    <ySuperscriptYOffset value="477"/>
91    <yStrikeoutSize value="50"/>
92    <yStrikeoutPosition value="250"/>
93    <sFamilyClass value="0"/>
94    <panose>
95      <bFamilyType value="0"/>
96      <bSerifStyle value="0"/>
97      <bWeight value="0"/>
98      <bProportion value="0"/>
99      <bContrast value="0"/>
100      <bStrokeVariation value="0"/>
101      <bArmStyle value="0"/>
102      <bLetterForm value="0"/>
103      <bMidline value="0"/>
104      <bXHeight value="0"/>
105    </panose>
106    <ulUnicodeRange1 value="00000000 00000000 00000000 00000001"/>
107    <ulUnicodeRange2 value="00000000 00000000 00000000 00000000"/>
108    <ulUnicodeRange3 value="00000000 00000000 00000000 00000000"/>
109    <ulUnicodeRange4 value="00000000 00000000 00000000 00000000"/>
110    <achVendID value="LuFo"/>
111    <fsSelection value="00000000 01000000"/>
112    <usFirstCharIndex value="0"/>
113    <usLastCharIndex value="113"/>
114    <sTypoAscender value="750"/>
115    <sTypoDescender value="-250"/>
116    <sTypoLineGap value="0"/>
117    <usWinAscent value="608"/>
118    <usWinDescent value="152"/>
119    <ulCodePageRange1 value="00000000 00000000 00000000 00000001"/>
120    <ulCodePageRange2 value="00000000 00000000 00000000 00000000"/>
121    <sxHeight value="456"/>
122    <sCapHeight value="608"/>
123    <usDefaultChar value="0"/>
124    <usBreakChar value="32"/>
125    <usMaxContext value="0"/>
126  </OS_2>
127
128  <hmtx>
129    <mtx name=".notdef" width="200" lsb="0"/>
130    <mtx name="NULL" width="0" lsb="0"/>
131    <mtx name="a" width="494" lsb="38"/>
132    <mtx name="b" width="494" lsb="76"/>
133    <mtx name="nonmarkingreturn" width="200" lsb="0"/>
134    <mtx name="q" width="494" lsb="38"/>
135    <mtx name="space" width="200" lsb="0"/>
136  </hmtx>
137
138  <cmap>
139    <tableVersion version="0"/>
140    <cmap_format_4 platformID="0" platEncID="3" language="0">
141      <map code="0x0" name="NULL"/><!-- ???? -->
142      <map code="0xd" name="nonmarkingreturn"/><!-- ???? -->
143      <map code="0x20" name="space"/><!-- SPACE -->
144      <map code="0x61" name="a"/><!-- LATIN SMALL LETTER A -->
145      <map code="0x62" name="b"/><!-- LATIN SMALL LETTER B -->
146      <map code="0x71" name="q"/><!-- LATIN SMALL LETTER Q -->
147    </cmap_format_4>
148    <cmap_format_6 platformID="1" platEncID="0" language="0">
149      <map code="0x0" name="NULL"/>
150      <map code="0xd" name="nonmarkingreturn"/>
151      <map code="0x20" name="space"/>
152      <map code="0x61" name="a"/>
153      <map code="0x62" name="b"/>
154      <map code="0x71" name="q"/>
155    </cmap_format_6>
156    <cmap_format_4 platformID="3" platEncID="1" language="0">
157      <map code="0x0" name="NULL"/><!-- ???? -->
158      <map code="0xd" name="nonmarkingreturn"/><!-- ???? -->
159      <map code="0x20" name="space"/><!-- SPACE -->
160      <map code="0x61" name="a"/><!-- LATIN SMALL LETTER A -->
161      <map code="0x62" name="b"/><!-- LATIN SMALL LETTER B -->
162      <map code="0x71" name="q"/><!-- LATIN SMALL LETTER Q -->
163    </cmap_format_4>
164  </cmap>
165
166  <loca>
167    <!-- The 'loca' table will be calculated by the compiler -->
168  </loca>
169
170  <glyf>
171
172    <!-- The xMin, yMin, xMax and yMax values
173         will be recalculated by the compiler. -->
174
175    <TTGlyph name=".notdef"/><!-- contains no outline data -->
176
177    <TTGlyph name="NULL"/><!-- contains no outline data -->
178
179    <TTGlyph name="a" xMin="38" yMin="-12" xMax="418" yMax="468">
180      <contour>
181        <pt x="342" y="0" on="1"/>
182        <pt x="342" y="64" on="1"/>
183        <pt x="264" y="-12" on="1"/>
184        <pt x="190" y="-12" on="1"/>
185        <pt x="38" y="140" on="1"/>
186        <pt x="38" y="316" on="1"/>
187        <pt x="190" y="468" on="1"/>
188        <pt x="266" y="468" on="1"/>
189        <pt x="342" y="392" on="1"/>
190        <pt x="342" y="456" on="1"/>
191        <pt x="418" y="456" on="1"/>
192        <pt x="418" y="0" on="1"/>
193      </contour>
194      <contour>
195        <pt x="266" y="64" on="1"/>
196        <pt x="342" y="140" on="1"/>
197        <pt x="342" y="316" on="1"/>
198        <pt x="266" y="392" on="1"/>
199        <pt x="190" y="392" on="1"/>
200        <pt x="114" y="316" on="1"/>
201        <pt x="114" y="140" on="1"/>
202        <pt x="190" y="64" on="1"/>
203      </contour>
204      <instructions>
205        <assembly>
206          GETVARIATION[]
207        </assembly>
208    </instructions>
209    </TTGlyph>
210
211    <TTGlyph name="b" xMin="76" yMin="-12" xMax="456" yMax="608">
212      <contour>
213        <pt x="228" y="468" on="1"/>
214        <pt x="304" y="468" on="1"/>
215        <pt x="456" y="316" on="1"/>
216        <pt x="456" y="140" on="1"/>
217        <pt x="304" y="-12" on="1"/>
218        <pt x="230" y="-12" on="1"/>
219        <pt x="152" y="64" on="1"/>
220        <pt x="152" y="0" on="1"/>
221        <pt x="76" y="0" on="1"/>
222        <pt x="76" y="608" on="1"/>
223        <pt x="152" y="608" on="1"/>
224        <pt x="152" y="392" on="1"/>
225      </contour>
226      <contour>
227        <pt x="152" y="316" on="1"/>
228        <pt x="152" y="140" on="1"/>
229        <pt x="228" y="64" on="1"/>
230        <pt x="304" y="64" on="1"/>
231        <pt x="380" y="140" on="1"/>
232        <pt x="380" y="316" on="1"/>
233        <pt x="304" y="392" on="1"/>
234        <pt x="228" y="392" on="1"/>
235      </contour>
236      <instructions/>
237    </TTGlyph>
238
239    <TTGlyph name="nonmarkingreturn"/><!-- contains no outline data -->
240
241    <TTGlyph name="q" xMin="38" yMin="-152" xMax="418" yMax="468">
242      <component glyphName="b" x="494" y="456" scale="-0.99994" flags="0x4"/>
243    </TTGlyph>
244
245    <TTGlyph name="space"/><!-- contains no outline data -->
246
247  </glyf>
248
249  <name>
250    <namerecord nameID="1" platformID="1" platEncID="0" langID="0x0" unicode="True">
251      VarFont
252    </namerecord>
253    <namerecord nameID="2" platformID="1" platEncID="0" langID="0x0" unicode="True">
254      Regular
255    </namerecord>
256    <namerecord nameID="3" platformID="1" platEncID="0" langID="0x0" unicode="True">
257      VarFont Regular: 2017
258    </namerecord>
259    <namerecord nameID="4" platformID="1" platEncID="0" langID="0x0" unicode="True">
260      VarFont Regular
261    </namerecord>
262    <namerecord nameID="6" platformID="1" platEncID="0" langID="0x0" unicode="True">
263      VarFont-Regular
264    </namerecord>
265    <namerecord nameID="256" platformID="1" platEncID="0" langID="0x0" unicode="True">
266      Width
267    </namerecord>
268    <namerecord nameID="257" platformID="1" platEncID="0" langID="0x0" unicode="True">
269      Ascender
270    </namerecord>
271    <namerecord nameID="258" platformID="1" platEncID="0" langID="0x0" unicode="True">
272      Regular
273    </namerecord>
274    <namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
275      VarFont
276    </namerecord>
277    <namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
278      Regular
279    </namerecord>
280    <namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
281      VarFont Regular: 2017
282    </namerecord>
283    <namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
284      VarFont Regular
285    </namerecord>
286    <namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
287      VarFont-Regular
288    </namerecord>
289    <namerecord nameID="256" platformID="3" platEncID="1" langID="0x409">
290      Width
291    </namerecord>
292    <namerecord nameID="257" platformID="3" platEncID="1" langID="0x409">
293      Ascender
294    </namerecord>
295    <namerecord nameID="258" platformID="3" platEncID="1" langID="0x409">
296      Regular
297    </namerecord>
298  </name>
299
300  <post>
301    <formatType value="2.0"/>
302    <italicAngle value="0.0"/>
303    <underlinePosition value="-75"/>
304    <underlineThickness value="50"/>
305    <isFixedPitch value="0"/>
306    <minMemType42 value="0"/>
307    <maxMemType42 value="0"/>
308    <minMemType1 value="0"/>
309    <maxMemType1 value="0"/>
310    <psNames>
311      <!-- This file uses unique glyph names based on the information
312           found in the 'post' table. Since these names might not be unique,
313           we have to invent artificial names in case of clashes. In order to
314           be able to retain the original information, we need a name to
315           ps name mapping for those cases where they differ. That's what
316           you see below.
317            -->
318    </psNames>
319    <extraNames>
320      <!-- following are the name that are not taken from the standard Mac glyph order -->
321      <psName name="NULL"/>
322    </extraNames>
323  </post>
324
325  <GDEF>
326    <Version value="0x00010003"/>
327    <VarStore Format="1">
328      <Format value="1"/>
329      <VarRegionList>
330        <!-- RegionAxisCount=2 -->
331        <!-- RegionCount=2 -->
332        <Region index="0">
333          <VarRegionAxis index="0">
334            <StartCoord value="0.0"/>
335            <PeakCoord value="0.0"/>
336            <EndCoord value="0.0"/>
337          </VarRegionAxis>
338          <VarRegionAxis index="1">
339            <StartCoord value="0.0"/>
340            <PeakCoord value="1.0"/>
341            <EndCoord value="1.0"/>
342          </VarRegionAxis>
343        </Region>
344        <Region index="1">
345          <VarRegionAxis index="0">
346            <StartCoord value="-1.0"/>
347            <PeakCoord value="-1.0"/>
348            <EndCoord value="0.0"/>
349          </VarRegionAxis>
350          <VarRegionAxis index="1">
351            <StartCoord value="0.0"/>
352            <PeakCoord value="0.0"/>
353            <EndCoord value="0.0"/>
354          </VarRegionAxis>
355        </Region>
356      </VarRegionList>
357      <!-- VarDataCount=1 -->
358      <VarData index="0">
359        <!-- ItemCount=0 -->
360        <NumShorts value="0"/>
361        <!-- VarRegionCount=2 -->
362        <VarRegionIndex index="0" value="0"/>
363        <VarRegionIndex index="1" value="1"/>
364      </VarData>
365    </VarStore>
366  </GDEF>
367
368  <HVAR>
369    <Version value="0x00010000"/>
370    <VarStore Format="1">
371      <Format value="1"/>
372      <VarRegionList>
373        <!-- RegionAxisCount=2 -->
374        <!-- RegionCount=2 -->
375        <Region index="0">
376          <VarRegionAxis index="0">
377            <StartCoord value="0.0"/>
378            <PeakCoord value="0.0"/>
379            <EndCoord value="0.0"/>
380          </VarRegionAxis>
381          <VarRegionAxis index="1">
382            <StartCoord value="0.0"/>
383            <PeakCoord value="1.0"/>
384            <EndCoord value="1.0"/>
385          </VarRegionAxis>
386        </Region>
387        <Region index="1">
388          <VarRegionAxis index="0">
389            <StartCoord value="-1.0"/>
390            <PeakCoord value="-1.0"/>
391            <EndCoord value="0.0"/>
392          </VarRegionAxis>
393          <VarRegionAxis index="1">
394            <StartCoord value="0.0"/>
395            <PeakCoord value="0.0"/>
396            <EndCoord value="0.0"/>
397          </VarRegionAxis>
398        </Region>
399      </VarRegionList>
400      <!-- VarDataCount=1 -->
401      <VarData index="0">
402        <!-- ItemCount=2 -->
403        <NumShorts value="0"/>
404        <!-- VarRegionCount=2 -->
405        <VarRegionIndex index="0" value="0"/>
406        <VarRegionIndex index="1" value="1"/>
407        <Item index="0" value="[0, -60]"/>
408        <Item index="1" value="[0, 0]"/>
409      </VarData>
410    </VarStore>
411    <AdvWidthMap>
412      <Map glyph=".notdef" outer="0" inner="1"/>
413      <Map glyph="NULL" outer="0" inner="1"/>
414      <Map glyph="a" outer="0" inner="0"/>
415      <Map glyph="b" outer="0" inner="0"/>
416      <Map glyph="q" outer="0" inner="0"/>
417      <Map glyph="nonmarkingreturn" outer="0" inner="1"/>
418      <Map glyph="space" outer="0" inner="1"/>
419    </AdvWidthMap>
420  </HVAR>
421
422  <MVAR>
423    <Version value="0x00010000"/>
424    <Reserved value="0"/>
425    <ValueRecordSize value="0"/>
426    <!-- ValueRecordCount=0 -->
427    <VarStore Format="1">
428      <Format value="1"/>
429      <VarRegionList>
430        <!-- RegionAxisCount=2 -->
431        <!-- RegionCount=2 -->
432        <Region index="0">
433          <VarRegionAxis index="0">
434            <StartCoord value="0.0"/>
435            <PeakCoord value="0.0"/>
436            <EndCoord value="0.0"/>
437          </VarRegionAxis>
438          <VarRegionAxis index="1">
439            <StartCoord value="0.0"/>
440            <PeakCoord value="1.0"/>
441            <EndCoord value="1.0"/>
442          </VarRegionAxis>
443        </Region>
444        <Region index="1">
445          <VarRegionAxis index="0">
446            <StartCoord value="-1.0"/>
447            <PeakCoord value="-1.0"/>
448            <EndCoord value="0.0"/>
449          </VarRegionAxis>
450          <VarRegionAxis index="1">
451            <StartCoord value="0.0"/>
452            <PeakCoord value="0.0"/>
453            <EndCoord value="0.0"/>
454          </VarRegionAxis>
455        </Region>
456      </VarRegionList>
457      <!-- VarDataCount=1 -->
458      <VarData index="0">
459        <!-- ItemCount=0 -->
460        <NumShorts value="0"/>
461        <!-- VarRegionCount=2 -->
462        <VarRegionIndex index="0" value="0"/>
463        <VarRegionIndex index="1" value="1"/>
464      </VarData>
465    </VarStore>
466  </MVAR>
467
468  <fvar>
469
470    <!-- Width -->
471    <Axis>
472      <AxisTag>wdth</AxisTag>
473      <MinValue>60.0</MinValue>
474      <DefaultValue>100.0</DefaultValue>
475      <MaxValue>100.0</MaxValue>
476      <AxisNameID>256</AxisNameID>
477    </Axis>
478
479    <!-- Ascender -->
480    <Axis>
481      <AxisTag>ASCN</AxisTag>
482      <MinValue>608.0</MinValue>
483      <DefaultValue>608.0</DefaultValue>
484      <MaxValue>648.0</MaxValue>
485      <AxisNameID>257</AxisNameID>
486    </Axis>
487
488    <!-- Regular -->
489    <NamedInstance subfamilyNameID="258">
490      <coord axis="wdth" value="100.0"/>
491      <coord axis="ASCN" value="608.0"/>
492    </NamedInstance>
493  </fvar>
494
495  <gvar>
496    <version value="1"/>
497    <reserved value="0"/>
498    <glyphVariations glyph="b">
499      <tuple>
500        <coord axis="ASCN" value="1.0"/>
501        <delta pt="8" x="0" y="0"/>
502        <delta pt="9" x="0" y="40"/>
503        <delta pt="10" x="0" y="40"/>
504        <delta pt="11" x="0" y="0"/>
505        <delta pt="12" x="0" y="0"/>
506        <delta pt="22" x="0" y="40"/>
507      </tuple>
508      <tuple>
509        <coord axis="wdth" value="-1.0"/>
510        <delta pt="0" x="-20" y="0"/>
511        <delta pt="1" x="-40" y="0"/>
512        <delta pt="2" x="-60" y="0"/>
513        <delta pt="3" x="-60" y="0"/>
514        <delta pt="4" x="-40" y="0"/>
515        <delta pt="5" x="-20" y="0"/>
516        <delta pt="6" x="0" y="0"/>
517        <delta pt="11" x="0" y="0"/>
518        <delta pt="12" x="0" y="0"/>
519        <delta pt="17" x="-60" y="0"/>
520        <delta pt="21" x="-60" y="0"/>
521      </tuple>
522    </glyphVariations>
523    <glyphVariations glyph="q">
524      <tuple>
525        <coord axis="ASCN" value="1.0"/>
526        <delta pt="4" x="0" y="40"/>
527      </tuple>
528      <tuple>
529        <coord axis="wdth" value="-1.0"/>
530        <delta pt="0" x="-60" y="0"/>
531        <delta pt="2" x="-60" y="0"/>
532      </tuple>
533    </glyphVariations>
534    <glyphVariations glyph="a">
535      <tuple>
536        <coord axis="wdth" value="-1.0"/>
537        <delta pt="0" x="-60" y="0"/>
538        <delta pt="1" x="-60" y="0"/>
539        <delta pt="2" x="-40" y="0"/>
540        <delta pt="3" x="-20" y="0"/>
541        <delta pt="4" x="0" y="0"/>
542        <delta pt="5" x="0" y="0"/>
543        <delta pt="6" x="-20" y="0"/>
544        <delta pt="7" x="-40" y="0"/>
545        <delta pt="8" x="-60" y="0"/>
546        <delta pt="14" x="-60" y="0"/>
547        <delta pt="20" x="0" y="0"/>
548        <delta pt="21" x="-60" y="0"/>
549        <delta pt="22" x="0" y="0"/>
550        <delta pt="23" x="0" y="0"/>
551      </tuple>
552    </glyphVariations>
553  </gvar>
554
555</ttFont>
556