xref: /aosp_15_r20/external/fonttools/Tests/subset/data/test_math_partial.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  </GlyphOrder>
9
10  <head>
11    <!-- Most of this table will be recalculated by the compiler -->
12    <tableVersion value="1.0"/>
13    <fontRevision value="1.10799"/>
14    <checkSumAdjustment value="0x266835f6"/>
15    <magicNumber value="0x5f0f3cf5"/>
16    <flags value="00000000 00001011"/>
17    <unitsPerEm value="1000"/>
18    <created value="Sun Jan 10 17:35:12 2016"/>
19    <modified value="Sat Jun  8 23:59:34 2019"/>
20    <xMin value="-761"/>
21    <yMin value="-509"/>
22    <xMax value="3000"/>
23    <yMax value="2566"/>
24    <macStyle value="00000000 00000000"/>
25    <lowestRecPPEM value="8"/>
26    <fontDirectionHint value="2"/>
27    <indexToLocFormat value="0"/>
28    <glyphDataFormat value="0"/>
29  </head>
30
31  <hhea>
32    <tableVersion value="0x00010000"/>
33    <ascent value="750"/>
34    <descent value="-250"/>
35    <lineGap value="0"/>
36    <advanceWidthMax value="3000"/>
37    <minLeftSideBearing value="-761"/>
38    <minRightSideBearing value="-365"/>
39    <xMaxExtent value="3000"/>
40    <caretSlopeRise value="1"/>
41    <caretSlopeRun value="0"/>
42    <caretOffset value="0"/>
43    <reserved0 value="0"/>
44    <reserved1 value="0"/>
45    <reserved2 value="0"/>
46    <reserved3 value="0"/>
47    <metricDataFormat value="0"/>
48    <numberOfHMetrics value="2"/>
49  </hhea>
50
51  <maxp>
52    <tableVersion value="0x5000"/>
53    <numGlyphs value="2"/>
54  </maxp>
55
56  <OS_2>
57    <!-- The fields 'usFirstCharIndex' and 'usLastCharIndex'
58         will be recalculated by the compiler -->
59    <version value="4"/>
60    <xAvgCharWidth value="666"/>
61    <usWeightClass value="400"/>
62    <usWidthClass value="5"/>
63    <fsType value="00000000 00000000"/>
64    <ySubscriptXSize value="500"/>
65    <ySubscriptYSize value="500"/>
66    <ySubscriptXOffset value="0"/>
67    <ySubscriptYOffset value="250"/>
68    <ySuperscriptXSize value="500"/>
69    <ySuperscriptYSize value="500"/>
70    <ySuperscriptXOffset value="0"/>
71    <ySuperscriptYOffset value="500"/>
72    <yStrikeoutSize value="50"/>
73    <yStrikeoutPosition value="306"/>
74    <sFamilyClass value="0"/>
75    <panose>
76      <bFamilyType value="2"/>
77      <bSerifStyle value="0"/>
78      <bWeight value="5"/>
79      <bProportion value="3"/>
80      <bContrast value="0"/>
81      <bStrokeVariation value="0"/>
82      <bArmStyle value="0"/>
83      <bLetterForm value="0"/>
84      <bMidline value="0"/>
85      <bXHeight value="0"/>
86    </panose>
87    <ulUnicodeRange1 value="00000000 00000000 00000000 00000001"/>
88    <ulUnicodeRange2 value="00000000 00000000 00000000 00000000"/>
89    <ulUnicodeRange3 value="00000000 00000000 00000000 00000000"/>
90    <ulUnicodeRange4 value="00000000 00000000 00000000 00000000"/>
91    <achVendID value="STIX"/>
92    <fsSelection value="00000000 11000000"/>
93    <usFirstCharIndex value="65"/>
94    <usLastCharIndex value="65"/>
95    <sTypoAscender value="750"/>
96    <sTypoDescender value="-250"/>
97    <sTypoLineGap value="0"/>
98    <usWinAscent value="2598"/>
99    <usWinDescent value="918"/>
100    <ulCodePageRange1 value="01100000 00000000 00000000 10011111"/>
101    <ulCodePageRange2 value="11011111 11010111 00000000 00000000"/>
102    <sxHeight value="450"/>
103    <sCapHeight value="662"/>
104    <usDefaultChar value="0"/>
105    <usBreakChar value="32"/>
106    <usMaxContext value="2"/>
107  </OS_2>
108
109  <name>
110    <namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
111      XITS Math
112    </namerecord>
113    <namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
114      Regular
115    </namerecord>
116  </name>
117
118  <cmap>
119    <tableVersion version="0"/>
120    <cmap_format_4 platformID="0" platEncID="3" language="0">
121      <map code="0x41" name="A"/><!-- LATIN CAPITAL LETTER A -->
122    </cmap_format_4>
123    <cmap_format_12 platformID="0" platEncID="4" format="12" reserved="0" length="28" language="0" nGroups="1">
124      <map code="0x41" name="A"/><!-- LATIN CAPITAL LETTER A -->
125    </cmap_format_12>
126    <cmap_format_4 platformID="3" platEncID="1" language="0">
127      <map code="0x41" name="A"/><!-- LATIN CAPITAL LETTER A -->
128    </cmap_format_4>
129    <cmap_format_12 platformID="3" platEncID="10" format="12" reserved="0" length="28" language="0" nGroups="1">
130      <map code="0x41" name="A"/><!-- LATIN CAPITAL LETTER A -->
131    </cmap_format_12>
132  </cmap>
133
134  <post>
135    <formatType value="3.0"/>
136    <italicAngle value="0.0"/>
137    <underlinePosition value="-75"/>
138    <underlineThickness value="50"/>
139    <isFixedPitch value="0"/>
140    <minMemType42 value="0"/>
141    <maxMemType42 value="0"/>
142    <minMemType1 value="0"/>
143    <maxMemType1 value="0"/>
144  </post>
145
146  <CFF>
147    <major value="1"/>
148    <minor value="0"/>
149    <CFFFont name="XITSMath">
150      <version value="1.108"/>
151      <Notice value="Copyright (c) 2001-2011 by the STI Pub Companies, consisting of the American Chemical Society, the American Institute of Physics, the American Mathematical Society, the American Physical Society, Elsevier, Inc., and The Institute of Electrical and Electronic Engineers, Inc.  Portions copyright (c) 1998-2003 by MicroPress, Inc.  Portions copyright (c) 1990 by Elsevier, Inc.  Portions copyright (c) 2009-2012 by Khaled Hosny.  All rights reserved. "/>
152      <FullName value="XITS Math"/>
153      <FamilyName value="XITS Math"/>
154      <Weight value="Regular"/>
155      <isFixedPitch value="0"/>
156      <ItalicAngle value="0"/>
157      <UnderlinePosition value="-50"/>
158      <UnderlineThickness value="50"/>
159      <PaintType value="0"/>
160      <CharstringType value="2"/>
161      <FontMatrix value="0.001 0 0 0.001 0 0"/>
162      <FontBBox value="-761 -509 3000 2566"/>
163      <StrokeWidth value="0"/>
164      <!-- charset is dumped separately as the 'GlyphOrder' element -->
165      <Encoding name="StandardEncoding"/>
166      <Private>
167        <BlueValues value="-14 0 450 460 662 676"/>
168        <BlueScale value="0.039625"/>
169        <BlueShift value="6"/>
170        <BlueFuzz value="1"/>
171        <StdHW value="66"/>
172        <StdVW value="66"/>
173        <StemSnapH value="23 28 31 34 38 43 50 54 63 66"/>
174        <StemSnapV value="39 43 48 52 56 59 66 73 79 83"/>
175        <ForceBold value="0"/>
176        <LanguageGroup value="0"/>
177        <ExpansionFactor value="0.06"/>
178        <initialRandomSeed value="0"/>
179        <defaultWidthX value="685"/>
180        <nominalWidthX value="601"/>
181        <Subrs>
182          <!-- The 'index' attribute is only for humans; it is ignored when parsed. -->
183          <CharString index="0">
184            19 vlineto
185            -52 6 -14 21 -28 65 rrcurveto
186            -246 563 -20 0 -206 -488 rlineto
187            -59 -140 -9 -21 -58 -6 rrcurveto
188            -19 199 19 vlineto
189            -48 -22 10 31 hvcurveto
190            0 12 4 17 5 13 rrcurveto
191            46 114 262 0 41 -94 rlineto
192            12 -28 7 -27 0 -15 0 -9 -6 -11 -8 -4 -12 -7 -7 -2 -36 0 rrcurveto
193            -19 vlineto
194            return
195          </CharString>
196          <CharString index="1">
197            -231 0 115 275 rlineto
198            return
199          </CharString>
200        </Subrs>
201      </Private>
202      <CharStrings>
203        <CharString name=".notdef">
204          -351 endchar
205        </CharString>
206        <CharString name="A">
207          121 0 20 196 41 397 20 hstem
208          707 hmoveto
209          -107 callsubr
210          -5 257 rmoveto
211          -106 callsubr
212          endchar
213        </CharString>
214      </CharStrings>
215    </CFFFont>
216
217    <GlobalSubrs>
218      <!-- The 'index' attribute is only for humans; it is ignored when parsed. -->
219    </GlobalSubrs>
220  </CFF>
221
222  <MATH>
223    <Version value="0x00010000"/>
224    <MathConstants>
225      <ScriptPercentScaleDown value="75"/>
226      <ScriptScriptPercentScaleDown value="60"/>
227      <DelimitedSubFormulaMinHeight value="1500"/>
228      <DisplayOperatorMinHeight value="1450"/>
229      <MathLeading>
230        <Value value="150"/>
231      </MathLeading>
232      <AxisHeight>
233        <Value value="250"/>
234      </AxisHeight>
235      <AccentBaseHeight>
236        <Value value="450"/>
237      </AccentBaseHeight>
238      <FlattenedAccentBaseHeight>
239        <Value value="662"/>
240      </FlattenedAccentBaseHeight>
241      <SubscriptShiftDown>
242        <Value value="250"/>
243      </SubscriptShiftDown>
244      <SubscriptTopMax>
245        <Value value="400"/>
246      </SubscriptTopMax>
247      <SubscriptBaselineDropMin>
248        <Value value="50"/>
249      </SubscriptBaselineDropMin>
250      <SuperscriptShiftUp>
251        <Value value="400"/>
252      </SuperscriptShiftUp>
253      <SuperscriptShiftUpCramped>
254        <Value value="275"/>
255      </SuperscriptShiftUpCramped>
256      <SuperscriptBottomMin>
257        <Value value="125"/>
258      </SuperscriptBottomMin>
259      <SuperscriptBaselineDropMax>
260        <Value value="375"/>
261      </SuperscriptBaselineDropMax>
262      <SubSuperscriptGapMin>
263        <Value value="264"/>
264      </SubSuperscriptGapMin>
265      <SuperscriptBottomMaxWithSubscript>
266        <Value value="400"/>
267      </SuperscriptBottomMaxWithSubscript>
268      <SpaceAfterScript>
269        <Value value="41"/>
270      </SpaceAfterScript>
271      <UpperLimitGapMin>
272        <Value value="150"/>
273      </UpperLimitGapMin>
274      <UpperLimitBaselineRiseMin>
275        <Value value="300"/>
276      </UpperLimitBaselineRiseMin>
277      <LowerLimitGapMin>
278        <Value value="150"/>
279      </LowerLimitGapMin>
280      <LowerLimitBaselineDropMin>
281        <Value value="600"/>
282      </LowerLimitBaselineDropMin>
283      <StackTopShiftUp>
284        <Value value="480"/>
285      </StackTopShiftUp>
286      <StackTopDisplayStyleShiftUp>
287        <Value value="580"/>
288      </StackTopDisplayStyleShiftUp>
289      <StackBottomShiftDown>
290        <Value value="800"/>
291      </StackBottomShiftDown>
292      <StackBottomDisplayStyleShiftDown>
293        <Value value="900"/>
294      </StackBottomDisplayStyleShiftDown>
295      <StackGapMin>
296        <Value value="198"/>
297      </StackGapMin>
298      <StackDisplayStyleGapMin>
299        <Value value="462"/>
300      </StackDisplayStyleGapMin>
301      <StretchStackTopShiftUp>
302        <Value value="300"/>
303      </StretchStackTopShiftUp>
304      <StretchStackBottomShiftDown>
305        <Value value="600"/>
306      </StretchStackBottomShiftDown>
307      <StretchStackGapAboveMin>
308        <Value value="150"/>
309      </StretchStackGapAboveMin>
310      <StretchStackGapBelowMin>
311        <Value value="150"/>
312      </StretchStackGapBelowMin>
313      <FractionNumeratorShiftUp>
314        <Value value="480"/>
315      </FractionNumeratorShiftUp>
316      <FractionNumeratorDisplayStyleShiftUp>
317        <Value value="580"/>
318      </FractionNumeratorDisplayStyleShiftUp>
319      <FractionDenominatorShiftDown>
320        <Value value="480"/>
321      </FractionDenominatorShiftDown>
322      <FractionDenominatorDisplayStyleShiftDown>
323        <Value value="700"/>
324      </FractionDenominatorDisplayStyleShiftDown>
325      <FractionNumeratorGapMin>
326        <Value value="66"/>
327      </FractionNumeratorGapMin>
328      <FractionNumDisplayStyleGapMin>
329        <Value value="198"/>
330      </FractionNumDisplayStyleGapMin>
331      <FractionRuleThickness>
332        <Value value="66"/>
333      </FractionRuleThickness>
334      <FractionDenominatorGapMin>
335        <Value value="66"/>
336      </FractionDenominatorGapMin>
337      <FractionDenomDisplayStyleGapMin>
338        <Value value="198"/>
339      </FractionDenomDisplayStyleGapMin>
340      <SkewedFractionHorizontalGap>
341        <Value value="300"/>
342      </SkewedFractionHorizontalGap>
343      <SkewedFractionVerticalGap>
344        <Value value="66"/>
345      </SkewedFractionVerticalGap>
346      <OverbarVerticalGap>
347        <Value value="198"/>
348      </OverbarVerticalGap>
349      <OverbarRuleThickness>
350        <Value value="66"/>
351      </OverbarRuleThickness>
352      <OverbarExtraAscender>
353        <Value value="66"/>
354      </OverbarExtraAscender>
355      <UnderbarVerticalGap>
356        <Value value="198"/>
357      </UnderbarVerticalGap>
358      <UnderbarRuleThickness>
359        <Value value="66"/>
360      </UnderbarRuleThickness>
361      <UnderbarExtraDescender>
362        <Value value="66"/>
363      </UnderbarExtraDescender>
364      <RadicalVerticalGap>
365        <Value value="82"/>
366      </RadicalVerticalGap>
367      <RadicalDisplayStyleVerticalGap>
368        <Value value="186"/>
369      </RadicalDisplayStyleVerticalGap>
370      <RadicalRuleThickness>
371        <Value value="66"/>
372      </RadicalRuleThickness>
373      <RadicalExtraAscender>
374        <Value value="66"/>
375      </RadicalExtraAscender>
376      <RadicalKernBeforeDegree>
377        <Value value="277"/>
378      </RadicalKernBeforeDegree>
379      <RadicalKernAfterDegree>
380        <Value value="-555"/>
381      </RadicalKernAfterDegree>
382      <RadicalDegreeBottomRaisePercent value="70"/>
383    </MathConstants>
384  </MATH>
385
386  <hmtx>
387    <mtx name=".notdef" width="250" lsb="0"/>
388    <mtx name="A" width="722" lsb="15"/>
389  </hmtx>
390
391</ttFont>
392