Debian Codegraph @

core/tests/coretests/assets/fonts/hasGlyphTestFont.ttx

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (C) 2015 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 -->
16 <ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="3.0">
17
18 <GlyphOrder>
19 <!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
20 <GlyphID id="0" name=".notdef"/>
21 <GlyphID id="1" name="BaseChar1"/>
22 <GlyphID id="2" name="BaseChar1_VS1"/>
23 <GlyphID id="3" name="BaseChar1_VS17"/>
24 <GlyphID id="4" name="BaseChar1_VS18"/>
25 <GlyphID id="5" name="BaseChar2"/>
26 <GlyphID id="6" name="BaseChar2_VS2"/>
27 <GlyphID id="7" name="BaseChar2_VS18"/>
28 <GlyphID id="8" name="BaseChar2_VS19"/>
29 <GlyphID id="9" name="BaseChar3"/>
30 <GlyphID id="10" name="BaseChar4_VS3"/>
31 <GlyphID id="11" name="BaseChar4_VS19"/>
32 <GlyphID id="12" name="BaseChar4_VS20"/>
33 <GlyphID id="13" name="BaseChar5"/>
34 <GlyphID id="14" name="BaseChar5_VS1"/>
35 <GlyphID id="15" name="BaseChar5_VS17"/>
36 <GlyphID id="16" name="BaseChar5_VS18"/>
37 <GlyphID id="17" name="BaseChar6"/>
38 <GlyphID id="18" name="BaseChar6_VS2"/>
39 <GlyphID id="19" name="BaseChar6_VS18"/>
40 <GlyphID id="20" name="BaseChar6_VS19"/>
41 <GlyphID id="21" name="BaseChar7"/>
42 <GlyphID id="22" name="BaseChar8_VS3"/>
43 <GlyphID id="23" name="BaseChar8_VS19"/>
44 <GlyphID id="24" name="BaseChar8_VS20"/>
45 </GlyphOrder>
46
47 <head>
48 <!-- Most of this table will be recalculated by the compiler -->
49 <tableVersion value="1.0"/>
50 <fontRevision value="1.0"/>
51 <checkSumAdjustment value="0x640cdb2f"/>
52 <magicNumber value="0x5f0f3cf5"/>
53 <flags value="00000000 00000011"/>
54 <unitsPerEm value="1000"/>
55 <created value="Wed Sep 9 08:01:17 2015"/>
56 <modified value="Wed Sep 9 08:48:07 2015"/>
57 <xMin value="30"/>
58 <yMin value="-200"/>
59 <xMax value="629"/>
60 <yMax value="800"/>
61 <macStyle value="00000000 00000000"/>
62 <lowestRecPPEM value="7"/>
63 <fontDirectionHint value="2"/>
64 <indexToLocFormat value="0"/>
65 <glyphDataFormat value="0"/>
66 </head>
67
68 <hhea>
69 <tableVersion value="1.0"/>
70 <ascent value="1000"/>
71 <descent value="-200"/>
72 <lineGap value="0"/>
73 <advanceWidthMax value="659"/>
74 <minLeftSideBearing value="0"/>
75 <minRightSideBearing value="30"/>
76 <xMaxExtent value="629"/>
77 <caretSlopeRise value="1"/>
78 <caretSlopeRun value="0"/>
79 <caretOffset value="0"/>
80 <reserved0 value="0"/>
81 <reserved1 value="0"/>
82 <reserved2 value="0"/>
83 <reserved3 value="0"/>
84 <metricDataFormat value="0"/>
85 <numberOfHMetrics value="18"/>
86 </hhea>
87
88 <maxp>
89 <!-- Most of this table will be recalculated by the compiler -->
90 <tableVersion value="0x10000"/>
91 <numGlyphs value="54"/>
92 <maxPoints value="73"/>
93 <maxContours value="10"/>
94 <maxCompositePoints value="0"/>
95 <maxCompositeContours value="0"/>
96 <maxZones value="2"/>
97 <maxTwilightPoints value="12"/>
98 <maxStorage value="28"/>
99 <maxFunctionDefs value="119"/>
100 <maxInstructionDefs value="0"/>
101 <maxStackElements value="61"/>
102 <maxSizeOfInstructions value="2967"/>
103 <maxComponentElements value="0"/>
104 <maxComponentDepth value="0"/>
105 </maxp>
106
107 <OS_2>
108 <!-- The fields 'usFirstCharIndex' and 'usLastCharIndex'
109 will be recalculated by the compiler -->
110 <version value="3"/>
111 <xAvgCharWidth value="594"/>
112 <usWeightClass value="400"/>
113 <usWidthClass value="5"/>
114 <fsType value="00000000 00001000"/>
115 <ySubscriptXSize value="650"/>
116 <ySubscriptYSize value="600"/>
117 <ySubscriptXOffset value="0"/>
118 <ySubscriptYOffset value="75"/>
119 <ySuperscriptXSize value="650"/>
120 <ySuperscriptYSize value="600"/>
121 <ySuperscriptXOffset value="0"/>
122 <ySuperscriptYOffset value="350"/>
123 <yStrikeoutSize value="50"/>
124 <yStrikeoutPosition value="300"/>
125 <sFamilyClass value="0"/>
126 <panose>
127 <bFamilyType value="0"/>
128 <bSerifStyle value="0"/>
129 <bWeight value="5"/>
130 <bProportion value="0"/>
131 <bContrast value="0"/>
132 <bStrokeVariation value="0"/>
133 <bArmStyle value="0"/>
134 <bLetterForm value="0"/>
135 <bMidline value="0"/>
136 <bXHeight value="0"/>
137 </panose>
138 <ulUnicodeRange1 value="00000000 00000000 00000000 00000001"/>
139 <ulUnicodeRange2 value="00000000 00000000 00000000 00000000"/>
140 <ulUnicodeRange3 value="00000000 00000000 00000000 00000000"/>
141 <ulUnicodeRange4 value="00000000 00000000 00000000 00000000"/>
142 <achVendID value="UKWN"/>
143 <fsSelection value="00000000 01000000"/>
144 <usFirstCharIndex value="32"/>
145 <usLastCharIndex value="122"/>
146 <sTypoAscender value="800"/>
147 <sTypoDescender value="-200"/>
148 <sTypoLineGap value="200"/>
149 <usWinAscent value="1000"/>
150 <usWinDescent value="200"/>
151 <ulCodePageRange1 value="00000000 00000000 00000000 00000001"/>
152 <ulCodePageRange2 value="00000000 00000000 00000000 00000000"/>
153 <sxHeight value="500"/>
154 <sCapHeight value="700"/>
155 <usDefaultChar value="0"/>
156 <usBreakChar value="32"/>
157 <usMaxContext value="0"/>
158 </OS_2>
159
160 <hmtx>
161 <mtx name=".notdef" width="500" lsb="93"/>
162 <mtx name="BaseChar1" width="500" lsb="93"/>
163 <mtx name="BaseChar1_VS1" width="500" lsb="93"/>
164 <mtx name="BaseChar1_VS17" width="500" lsb="93"/>
165 <mtx name="BaseChar1_VS18" width="500" lsb="93"/>
166 <mtx name="BaseChar2" width="500" lsb="93"/>
167 <mtx name="BaseChar2_VS2" width="500" lsb="93"/>
168 <mtx name="BaseChar2_VS18" width="500" lsb="93"/>
169 <mtx name="BaseChar2_VS19" width="500" lsb="93"/>
170 <mtx name="BaseChar3" width="500" lsb="93"/>
171 <mtx name="BaseChar4_VS3" width="500" lsb="93"/>
172 <mtx name="BaseChar4_VS19" width="500" lsb="93"/>
173 <mtx name="BaseChar4_VS20" width="500" lsb="93"/>
174 <mtx name="BaseChar5" width="500" lsb="93"/>
175 <mtx name="BaseChar5_VS1" width="500" lsb="93"/>
176 <mtx name="BaseChar5_VS17" width="500" lsb="93"/>
177 <mtx name="BaseChar5_VS18" width="500" lsb="93"/>
178 <mtx name="BaseChar6" width="500" lsb="93"/>
179 <mtx name="BaseChar6_VS2" width="500" lsb="93"/>
180 <mtx name="BaseChar6_VS18" width="500" lsb="93"/>
181 <mtx name="BaseChar6_VS19" width="500" lsb="93"/>
182 <mtx name="BaseChar7" width="500" lsb="93"/>
183 <mtx name="BaseChar8_VS3" width="500" lsb="93"/>
184 <mtx name="BaseChar8_VS19" width="500" lsb="93"/>
185 <mtx name="BaseChar8_VS20" width="500" lsb="93"/>
186 </hmtx>
187
188 <cmap>
189 <tableVersion version="0"/>
190 <cmap_format_12 format="12" reserved="0" length="6" nGroups="1" platformID="3" platEncID="10" language="0">
191 <map code="0x0061" name="BaseChar1" />
192 <map code="0x0062" name="BaseChar2" />
193 <map code="0x0063" name="BaseChar3" />
194 <!-- No cmap4 entry for BaseChar4 -->
195 <map code="0x1F000" name="BaseChar5" />
196 <map code="0x1F001" name="BaseChar6" />
197 <map code="0x1F002" name="BaseChar7" />
198 <!-- No cmap4 entry for BaseChar8 -->
199 </cmap_format_12>
200 <cmap_format_14 format="14" platformID="0" platEncID="5" length="24" numVarSelectorRecords="3">
201 <map uvs="0xFE00" uv="0x0061" name="BaseChar1_VS1" />
202 <map uvs="0xE0100" uv="0x0061" name="BaseChar1_VS17" />
203 <map uvs="0xE0101" uv="0x0061" name="BaseChar1_VS18" />
204 <map uvs="0xE0102" uv="0x0061" name="None" />
205
206 <map uvs="0xFE01" uv="0x0062" name="BaseChar2_VS2" />
207 <map uvs="0xE0101" uv="0x0062" name="BaseChar2_VS18" />
208 <map uvs="0xE0102" uv="0x0062" name="BaseChar2_VS19" />
209 <map uvs="0xE0103" uv="0x0062" name="None" />
210
211 <map uvs="0xFE02" uv="0x0064" name="BaseChar4_VS3" />
212 <map uvs="0xE0102" uv="0x0064" name="BaseChar4_VS19" />
213 <map uvs="0xE0103" uv="0x0064" name="BaseChar4_VS20" />
214 <!-- There is no default glyph for U+0064 U+E0104 but there is a entry for
215 default UVS entry. hasGlyph should return false in this
216 case. -->
217 <map uvs="0xE0104" uv="0x0064" name="None" />
218
219 <map uvs="0xFE00" uv="0x1F000" name="BaseChar5_VS1" />
220 <map uvs="0xE0100" uv="0x1F000" name="BaseChar5_VS17" />
221 <map uvs="0xE0101" uv="0x1F000" name="BaseChar5_VS18" />
222 <map uvs="0xE0102" uv="0x1F000" name="None" />
223
224 <map uvs="0xFE01" uv="0x1F001" name="BaseChar6_VS2" />
225 <map uvs="0xE0101" uv="0x1F001" name="BaseChar6_VS18" />
226 <map uvs="0xE0102" uv="0x1F001" name="BaseChar6_VS19" />
227 <map uvs="0xE0103" uv="0x1F001" name="None" />
228
229 <map uvs="0xFE02" uv="0x1F003" name="BaseChar8_VS3" />
230 <map uvs="0xE0102" uv="0x1F003" name="BaseChar8_VS19" />
231 <map uvs="0xE0103" uv="0x1F003" name="BaseChar8_VS20" />
232 <!-- There is no default glyph for U+1F003 U+E0104 but there is a entry for
233 default UVS entry. hasGlyph should return false in this
234 case. -->
235 <map uvs="0xE0104" uv="0x1F003" name="None" />
236 </cmap_format_14>
237 </cmap>
238
239 <loca>
240 <!-- The 'loca' table will be calculated by the compiler -->
241 </loca>
242
243 <glyf>
244
245 <!-- The xMin, yMin, xMax and yMax values
246 will be recalculated by the compiler. -->
247
248 <TTGlyph name=".notdef" xMin="0" yMin="0" xMax="0" yMax="0">
249 <contour></contour><instructions><assembly></assembly></instructions>
250 </TTGlyph>
251
252 <TTGlyph name="BaseChar1" xMin="0" yMin="0" xMax="0" yMax="0">
253 <contour></contour><instructions><assembly></assembly></instructions>
254 </TTGlyph>
255 <TTGlyph name="BaseChar1_VS1" xMin="0" yMin="0" xMax="0" yMax="0">
256 <contour></contour><instructions><assembly></assembly></instructions>
257 </TTGlyph>
258 <TTGlyph name="BaseChar1_VS17" xMin="0" yMin="0" xMax="0" yMax="0">
259 <contour></contour><instructions><assembly></assembly></instructions>
260 </TTGlyph>
261 <TTGlyph name="BaseChar1_VS18" xMin="0" yMin="0" xMax="0" yMax="0">
262 <contour></contour><instructions><assembly></assembly></instructions>
263 </TTGlyph>
264 <TTGlyph name="BaseChar2" xMin="0" yMin="0" xMax="0" yMax="0">
265 <contour></contour><instructions><assembly></assembly></instructions>
266 </TTGlyph>
267 <TTGlyph name="BaseChar2_VS2" xMin="0" yMin="0" xMax="0" yMax="0">
268 <contour></contour><instructions><assembly></assembly></instructions>
269 </TTGlyph>
270 <TTGlyph name="BaseChar2_VS18" xMin="0" yMin="0" xMax="0" yMax="0">
271 <contour></contour><instructions><assembly></assembly></instructions>
272 </TTGlyph>
273 <TTGlyph name="BaseChar2_VS19" xMin="0" yMin="0" xMax="0" yMax="0">
274 <contour></contour><instructions><assembly></assembly></instructions>
275 </TTGlyph>
276 <TTGlyph name="BaseChar3" xMin="0" yMin="0" xMax="0" yMax="0">
277 <contour></contour><instructions><assembly></assembly></instructions>
278 </TTGlyph>
279 <TTGlyph name="BaseChar4_VS3" xMin="0" yMin="0" xMax="0" yMax="0">
280 <contour></contour><instructions><assembly></assembly></instructions>
281 </TTGlyph>
282 <TTGlyph name="BaseChar4_VS19" xMin="0" yMin="0" xMax="0" yMax="0">
283 <contour></contour><instructions><assembly></assembly></instructions>
284 </TTGlyph>
285 <TTGlyph name="BaseChar4_VS20" xMin="0" yMin="0" xMax="0" yMax="0">
286 <contour></contour><instructions><assembly></assembly></instructions>
287 </TTGlyph>
288 <TTGlyph name="BaseChar5" xMin="0" yMin="0" xMax="0" yMax="0">
289 <contour></contour><instructions><assembly></assembly></instructions>
290 </TTGlyph>
291 <TTGlyph name="BaseChar5_VS1" xMin="0" yMin="0" xMax="0" yMax="0">
292 <contour></contour><instructions><assembly></assembly></instructions>
293 </TTGlyph>
294 <TTGlyph name="BaseChar5_VS17" xMin="0" yMin="0" xMax="0" yMax="0">
295 <contour></contour><instructions><assembly></assembly></instructions>
296 </TTGlyph>
297 <TTGlyph name="BaseChar5_VS18" xMin="0" yMin="0" xMax="0" yMax="0">
298 <contour></contour><instructions><assembly></assembly></instructions>
299 </TTGlyph>
300 <TTGlyph name="BaseChar6" xMin="0" yMin="0" xMax="0" yMax="0">
301 <contour></contour><instructions><assembly></assembly></instructions>
302 </TTGlyph>
303 <TTGlyph name="BaseChar6_VS2" xMin="0" yMin="0" xMax="0" yMax="0">
304 <contour></contour><instructions><assembly></assembly></instructions>
305 </TTGlyph>
306 <TTGlyph name="BaseChar6_VS18" xMin="0" yMin="0" xMax="0" yMax="0">
307 <contour></contour><instructions><assembly></assembly></instructions>
308 </TTGlyph>
309 <TTGlyph name="BaseChar6_VS19" xMin="0" yMin="0" xMax="0" yMax="0">
310 <contour></contour><instructions><assembly></assembly></instructions>
311 </TTGlyph>
312 <TTGlyph name="BaseChar7" xMin="0" yMin="0" xMax="0" yMax="0">
313 <contour></contour><instructions><assembly></assembly></instructions>
314 </TTGlyph>
315 <TTGlyph name="BaseChar8_VS3" xMin="0" yMin="0" xMax="0" yMax="0">
316 <contour></contour><instructions><assembly></assembly></instructions>
317 </TTGlyph>
318 <TTGlyph name="BaseChar8_VS19" xMin="0" yMin="0" xMax="0" yMax="0">
319 <contour></contour><instructions><assembly></assembly></instructions>
320 </TTGlyph>
321 <TTGlyph name="BaseChar8_VS20" xMin="0" yMin="0" xMax="0" yMax="0">
322 <contour></contour><instructions><assembly></assembly></instructions>
323 </TTGlyph>
324 </glyf>
325
326 <name>
327 <namerecord nameID="1" platformID="1" platEncID="0" langID="0x0" unicode="True">
328 Paint.hasGlyph Test
329 </namerecord>
330 <namerecord nameID="2" platformID="1" platEncID="0" langID="0x0" unicode="True">
331 Regular
332 </namerecord>
333 <namerecord nameID="4" platformID="1" platEncID="0" langID="0x0" unicode="True">
334 Paint.hasGlyph Test
335 </namerecord>
336 <namerecord nameID="6" platformID="1" platEncID="0" langID="0x0" unicode="True">
337 hasGlyphTestFont-Regular
338 </namerecord>
339 <namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
340 Paint.hasGlyph Test
341 </namerecord>
342 <namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
343 Regular
344 </namerecord>
345 <namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
346 hasGlyphTestFont Test
347 </namerecord>
348 <namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
349 hasGlyphTestFont-Regular
350 </namerecord>
351 </name>
352
353 <post>
354 <formatType value="3.0"/>
355 <italicAngle value="0.0"/>
356 <underlinePosition value="-75"/>
357 <underlineThickness value="50"/>
358 <isFixedPitch value="0"/>
359 <minMemType42 value="0"/>
360 <maxMemType42 value="0"/>
361 <minMemType1 value="0"/>
362 <maxMemType1 value="0"/>
363 </post>
364
365 </ttFont>