1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #include "xfa/fgas/font/fgas_fontutils.h"
8
9 #include "build/build_config.h"
10 #include "core/fxcrt/fx_codepage.h"
11 #include "core/fxcrt/fx_extension.h"
12 #include "xfa/fgas/font/cfgas_fontmgr.h"
13
14 namespace {
15
16 const FGAS_FONTUSB g_FXGdiFontUSBTable[] = {
17 {0x0000, 0x007F, 0, FX_CODEPAGE_MSWin_WesternEuropean},
18 {0x0080, 0x00FF, 1, FX_CODEPAGE_MSWin_WesternEuropean},
19 {0x0100, 0x017F, 2, FX_CODEPAGE_MSWin_EasternEuropean},
20 {0x0180, 0x024F, 3, FX_CODEPAGE_MSWin_EasternEuropean},
21 {0x0250, 0x02AF, 4, 0xFFFF},
22 {0x02B0, 0x02FF, 5, 0xFFFF},
23 {0x0300, 0x036F, 6, 0xFFFF},
24 {0x0370, 0x03FF, 7, FX_CODEPAGE_MSWin_Greek},
25 {0x0400, 0x04FF, 9, FX_CODEPAGE_MSWin_Cyrillic},
26 {0x0500, 0x052F, 9, 0xFFFF},
27 {0x0530, 0x058F, 10, 0xFFFF},
28 {0x0590, 0x05FF, 11, FX_CODEPAGE_MSWin_Hebrew},
29 {0x0600, 0x06FF, 13, FX_CODEPAGE_MSWin_Arabic},
30 {0x0700, 0x074F, 71, 0xFFFF},
31 {0x0750, 0x077F, 13, 0xFFFF},
32 {0x0780, 0x07BF, 72, 0xFFFF},
33 {0x07C0, 0x07FF, 14, 0xFFFF},
34 {0x0800, 0x08FF, 999, 0xFFFF},
35 {0x0900, 0x097F, 15, 0xFFFF},
36 {0x0980, 0x09FF, 16, 0xFFFF},
37 {0x0A00, 0x0A7F, 17, 0xFFFF},
38 {0x0A80, 0x0AFF, 18, 0xFFFF},
39 {0x0B00, 0x0B7F, 19, 0xFFFF},
40 {0x0B80, 0x0BFF, 20, 0xFFFF},
41 {0x0C00, 0x0C7F, 21, 0xFFFF},
42 {0x0C80, 0x0CFF, 22, 0xFFFF},
43 {0x0D00, 0x0D7F, 23, 0xFFFF},
44 {0x0D80, 0x0DFF, 73, 0xFFFF},
45 {0x0E00, 0x0E7F, 24, FX_CODEPAGE_MSDOS_Thai},
46 {0x0E80, 0x0EFF, 25, 0xFFFF},
47 {0x0F00, 0x0FFF, 70, 0xFFFF},
48 {0x1000, 0x109F, 74, 0xFFFF},
49 {0x10A0, 0x10FF, 26, 0xFFFF},
50 {0x1100, 0x11FF, 28, 0xFFFF},
51 {0x1200, 0x137F, 75, 0xFFFF},
52 {0x1380, 0x139F, 75, 0xFFFF},
53 {0x13A0, 0x13FF, 76, 0xFFFF},
54 {0x1400, 0x167F, 77, 0xFFFF},
55 {0x1680, 0x169F, 78, 0xFFFF},
56 {0x16A0, 0x16FF, 79, 0xFFFF},
57 {0x1700, 0x171F, 84, 0xFFFF},
58 {0x1720, 0x173F, 84, 0xFFFF},
59 {0x1740, 0x175F, 84, 0xFFFF},
60 {0x1760, 0x177F, 84, 0xFFFF},
61 {0x1780, 0x17FF, 80, 0xFFFF},
62 {0x1800, 0x18AF, 81, 0xFFFF},
63 {0x18B0, 0x18FF, 999, 0xFFFF},
64 {0x1900, 0x194F, 93, 0xFFFF},
65 {0x1950, 0x197F, 94, 0xFFFF},
66 {0x1980, 0x19DF, 95, 0xFFFF},
67 {0x19E0, 0x19FF, 80, 0xFFFF},
68 {0x1A00, 0x1A1F, 96, 0xFFFF},
69 {0x1A20, 0x1AFF, 999, 0xFFFF},
70 {0x1B00, 0x1B7F, 27, 0xFFFF},
71 {0x1B80, 0x1BBF, 112, 0xFFFF},
72 {0x1BC0, 0x1BFF, 999, 0xFFFF},
73 {0x1C00, 0x1C4F, 113, 0xFFFF},
74 {0x1C50, 0x1C7F, 114, 0xFFFF},
75 {0x1C80, 0x1CFF, 999, 0xFFFF},
76 {0x1D00, 0x1D7F, 4, 0xFFFF},
77 {0x1D80, 0x1DBF, 4, 0xFFFF},
78 {0x1DC0, 0x1DFF, 6, 0xFFFF},
79 {0x1E00, 0x1EFF, 29, 0xFFFF},
80 {0x1F00, 0x1FFF, 30, 0xFFFF},
81 {0x2000, 0x206F, 31, 0xFFFF},
82 {0x2070, 0x209F, 32, 0xFFFF},
83 {0x20A0, 0x20CF, 33, 0xFFFF},
84 {0x20D0, 0x20FF, 34, 0xFFFF},
85 {0x2100, 0x214F, 35, 0xFFFF},
86 {0x2150, 0x215F, 36, 0xFFFF},
87 {0x2160, 0x216B, 36, FX_CODEPAGE_ChineseSimplified},
88 {0x216C, 0x216F, 36, 0xFFFF},
89 {0x2170, 0x2179, 36, FX_CODEPAGE_ChineseSimplified},
90 {0x217A, 0x218F, 36, 0xFFFF},
91 {0x2190, 0x2199, 37, FX_CODEPAGE_Hangul},
92 {0x219A, 0x21FF, 37, 0xFFFF},
93 {0x2200, 0x22FF, 38, 0xFFFF},
94 {0x2300, 0x23FF, 39, 0xFFFF},
95 {0x2400, 0x243F, 40, 0xFFFF},
96 {0x2440, 0x245F, 41, 0xFFFF},
97 {0x2460, 0x2473, 42, FX_CODEPAGE_ShiftJIS},
98 {0x2474, 0x249B, 42, FX_CODEPAGE_ChineseSimplified},
99 {0x249C, 0x24E9, 42, FX_CODEPAGE_Hangul},
100 {0x24EA, 0x24FF, 42, 0xFFFF},
101 {0x2500, 0x2573, 43, FX_CODEPAGE_ChineseSimplified},
102 {0x2574, 0x257F, 43, 0xFFFF},
103 {0x2580, 0x2580, 44, 0xFFFF},
104 {0x2581, 0x258F, 44, FX_CODEPAGE_ChineseSimplified},
105 {0x2590, 0x259F, 44, 0xFFFF},
106 {0x25A0, 0x25FF, 45, 0xFFFF},
107 {0x2600, 0x26FF, 46, 0xFFFF},
108 {0x2700, 0x27BF, 47, 0xFFFF},
109 {0x27C0, 0x27EF, 38, 0xFFFF},
110 {0x27F0, 0x27FF, 37, 0xFFFF},
111 {0x2800, 0x28FF, 82, 0xFFFF},
112 {0x2900, 0x297F, 37, 0xFFFF},
113 {0x2980, 0x29FF, 38, 0xFFFF},
114 {0x2A00, 0x2AFF, 38, 0xFFFF},
115 {0x2B00, 0x2BFF, 37, 0xFFFF},
116 {0x2C00, 0x2C5F, 97, 0xFFFF},
117 {0x2C60, 0x2C7F, 29, 0xFFFF},
118 {0x2C80, 0x2CFF, 8, 0xFFFF},
119 {0x2D00, 0x2D2F, 26, 0xFFFF},
120 {0x2D30, 0x2D7F, 98, 0xFFFF},
121 {0x2D80, 0x2DDF, 75, 0xFFFF},
122 {0x2DE0, 0x2DFF, 9, 0xFFFF},
123 {0x2E00, 0x2E7F, 31, 0xFFFF},
124 {0x2E80, 0x2EFF, 59, 0xFFFF},
125 {0x2F00, 0x2FDF, 59, 0xFFFF},
126 {0x2FE0, 0x2FEF, 999, 0xFFFF},
127 {0x2FF0, 0x2FFF, 59, 0xFFFF},
128 {0x3000, 0x303F, 48, 0xFFFF},
129 {0x3040, 0x309F, 49, FX_CODEPAGE_ShiftJIS},
130 {0x30A0, 0x30FF, 50, FX_CODEPAGE_ShiftJIS},
131 {0x3100, 0x3129, 51, FX_CODEPAGE_ChineseSimplified},
132 {0x312A, 0x312F, 51, 0xFFFF},
133 {0x3130, 0x318F, 52, FX_CODEPAGE_Hangul},
134 {0x3190, 0x319F, 59, 0xFFFF},
135 {0x31A0, 0x31BF, 51, 0xFFFF},
136 {0x31C0, 0x31EF, 61, 0xFFFF},
137 {0x31F0, 0x31FF, 50, 0xFFFF},
138 {0x3200, 0x321C, 54, FX_CODEPAGE_Hangul},
139 {0x321D, 0x325F, 54, 0xFFFF},
140 {0x3260, 0x327F, 54, FX_CODEPAGE_Hangul},
141 {0x3280, 0x32FF, 54, 0xFFFF},
142 {0x3300, 0x3387, 55, 0xFFFF},
143 {0x3388, 0x33D0, 55, FX_CODEPAGE_Hangul},
144 {0x33D1, 0x33FF, 55, 0xFFFF},
145 {0x3400, 0x4DBF, 59, 0xFFFF},
146 {0x4DC0, 0x4DFF, 99, 0xFFFF},
147 {0x4E00, 0x9FA5, 59, FX_CODEPAGE_ChineseSimplified},
148 {0x9FA6, 0x9FFF, 59, 0xFFFF},
149 {0xA000, 0xA48F, 83, 0xFFFF},
150 {0xA490, 0xA4CF, 83, 0xFFFF},
151 {0xA4D0, 0xA4FF, 999, 0xFFFF},
152 {0xA500, 0xA63F, 12, 0xFFFF},
153 {0xA640, 0xA69F, 9, 0xFFFF},
154 {0xA6A0, 0xA6FF, 999, 0xFFFF},
155 {0xA700, 0xA71F, 5, 0xFFFF},
156 {0xA720, 0xA7FF, 29, 0xFFFF},
157 {0xA800, 0xA82F, 100, 0xFFFF},
158 {0xA830, 0xA8FF, 999, 0xFFFF},
159 {0xA840, 0xA87F, 53, 0xFFFF},
160 {0xA880, 0xA8DF, 115, 0xFFFF},
161 {0xA8E0, 0xA8FF, 999, 0xFFFF},
162 {0xA900, 0xA92F, 116, 0xFFFF},
163 {0xA930, 0xA95F, 117, 0xFFFF},
164 {0xA960, 0xA9FF, 999, 0xFFFF},
165 {0xAA00, 0xAA5F, 118, 0xFFFF},
166 {0xAA60, 0xABFF, 999, 0xFFFF},
167 {0xAC00, 0xD7AF, 56, FX_CODEPAGE_Hangul},
168 {0xD7B0, 0xD7FF, 999, 0xFFFF},
169 {0xD800, 0xDB7F, 57, 0xFFFF},
170 {0xDB80, 0xDBFF, 57, 0xFFFF},
171 {0xDC00, 0xDFFF, 57, 0xFFFF},
172 {0xE000, 0xE814, 60, 0xFFFF},
173 {0xE815, 0xE864, 60, FX_CODEPAGE_ChineseSimplified},
174 {0xE865, 0xF8FF, 60, 0xFFFF},
175 {0xF900, 0xFA0B, 61, FX_CODEPAGE_Hangul},
176 {0xFA0C, 0xFA0D, 61, FX_CODEPAGE_ChineseSimplified},
177 {0xFA0E, 0xFA2D, 61, FX_CODEPAGE_ShiftJIS},
178 {0xFA2E, 0xFAFF, 61, 0xFFFF},
179 {0xFB00, 0xFB4F, 62, 0xFFFF},
180 {0xFB50, 0xFDFF, 63, FX_CODEPAGE_MSWin_Arabic},
181 {0xFE00, 0xFE0F, 91, 0xFFFF},
182 {0xFE10, 0xFE1F, 65, 0xFFFF},
183 {0xFE20, 0xFE2F, 64, 0xFFFF},
184 {0xFE30, 0xFE4F, 65, 0xFFFF},
185 {0xFE50, 0xFE6F, 66, 0xFFFF},
186 {0xFE70, 0xFEFF, 67, FX_CODEPAGE_MSWin_Arabic},
187 {0xFF00, 0xFF5F, 68, FX_CODEPAGE_ChineseSimplified},
188 {0xFF60, 0xFF9F, 68, FX_CODEPAGE_ShiftJIS},
189 {0xFFA0, 0xFFEF, 68, 0xFFFF},
190 };
191
192 #if defined(OS_WIN)
193 const FGAS_FontInfo g_XFAFontsMap[] = {
194 {0x01d5d33e, "SimSun", "Arial", 0, 936},
195 {0x01e4f102, "YouYuan", "Arial", 1, 936},
196 {0x030549dc, "LiSu", "Arial", 1, 936},
197 {0x032edd44, "Simhei", "Arial", 1, 936},
198 {0x03eac6fc, "PoorRichard-Regular", "Arial", 2, 1252},
199 {0x03ed90e6, "Nina", "Arial", 0, 1252},
200 {0x077b56b3, "KingsoftPhoneticPlain", "Arial", 0, 1252},
201 {0x078ed524, "MicrosoftSansSerif", "Arial", 0, 1252},
202 {0x089b18a9, "Arial", "Arial", 0, 1252},
203 {0x0b2cad72, "MonotypeCorsiva", "Arial", 8, 1252},
204 {0x0bb003e7, "Kartika", "Arial", 2, 1252},
205 {0x0bb469df, "VinerHandITC", "Arial", 8, 1252},
206 {0x0bc1a851, "SegoeUI", "Arial", 0, 1252},
207 {0x0c112ebd, "KozukaGothicPro-VIM", "Arial", 0, 1252},
208 {0x0cfcb9c1, "AdobeThai", "Kokila,Arial Narrow", 0, 847},
209 {0x0e7de0f9, "Playbill", "Arial", 0, 1252},
210 {0x0eff47c3, "STHupo", "Arial", 0, 936},
211 {0x107ad374, "Constantia", "Arial", 2, 1252},
212 {0x12194c2d, "KunstlerScript", "Arial", 8, 1252},
213 {0x135ef6a1, "MinionProSmBd",
214 "Bell MT,Corbel,Times New Roman,Cambria,Berlin Sans FB", 0, 1252},
215 {0x158c4049, "Garamond", "Arial", 2, 1252},
216 {0x160ecb24, "STZhongsong", "Arial", 0, 936},
217 {0x161ed07e, "MSGothic", "Arial", 1, 1252},
218 {0x171d1ed1, "SnapITC-Regular", "Arial", 0, 1252},
219 {0x18d1188f, "Cambria", "Arial", 2, 1252},
220 {0x18eaf350, "ArialUnicodeMS", "Arial", 0, 936},
221 {0x1a92d115, "MingLiU", "Arial", 1, 1252},
222 {0x1cc217c6, "TrebuchetMS", "Arial", 0, 1252},
223 {0x1d649596, "BasemicTimes", "Arial", 0, 1252},
224 {0x1e34ee60, "BellMT", "Arial", 2, 1252},
225 {0x1eb36945, "CooperBlack", "Arial", 2, 1252},
226 {0x1ef7787d, "BatangChe", "Arial", 1, 1252},
227 {0x20b3bd3a, "BrushScriptMT", "Arial", 8, 1252},
228 {0x220877aa, "Candara", "Arial", 0, 1252},
229 {0x22135007, "FreestyleScript-Regular", "Arial", 8, 1252},
230 {0x251059c3, "Chiller", "Arial", 0, 1252},
231 {0x25bed6dd, "MSReferenceSansSerif", "Arial", 0, 1252},
232 {0x28154c81, "Parchment-Regular", "Arial", 8, 1252},
233 {0x29711eb9, "STLiti", "Arial", 0, 936},
234 {0x2b1993b4, "Basemic", "Arial", 0, 1252},
235 {0x2b316339, "NiagaraSolid-Reg", "Arial", 0, 1252},
236 {0x2c147529, "FootlightMTLight", "Arial", 0, 1252},
237 {0x2c198928, "HarlowSolid", "Arial", 0, 1252},
238 {0x2c6ac6b2, "LucidaBright", "Arial", 2, 1252},
239 {0x2c9f38e2, "KozukaMinchoPro-VIR", "Arial", 0, 1252},
240 {0x2d5a47b0, "STCaiyun", "Arial", 0, 936},
241 {0x2def26bf, "BernardMT-Condensed", "Arial", 0, 1252},
242 {0x2fd8930b, "KozukaMinchoPr6NR", "Arial", 0, 1252},
243 {0x3115525a, "FangSong_GB2312", "Arial", 0, 1252},
244 {0x31327817, "MyriadPro",
245 "Calibri,Corbel,Candara,Cambria Math,Franklin Gothic Medium,Arial "
246 "Narrow,Times New Roman",
247 0, 1252},
248 {0x32244975, "Helvetica", "Arial", 0, 1252},
249 {0x32ac995c, "Terminal", "Arial", 0, 1252},
250 {0x338d648a, "NiagaraEngraved-Reg", "Arial", 0, 1252},
251 {0x33bb65f2, "Sylfaen", "Arial", 2, 1252},
252 {0x3402c30e, "MSPMincho", "Arial", 2, 1252},
253 {0x3412bf31, "SimSun-PUA", "Arial", 0, 936},
254 {0x36eb39b9, "BerlinSansFB", "Arial", 0, 1252},
255 {0x36f42055, "UniversATT", "Microsoft Sans Serif", 0, 1252},
256 {0x3864c4f6, "HighTowerText", "Arial", 2, 1252},
257 {0x3a257d03, "FangSong_GB2312", "Arial", 0, 1252},
258 {0x3cdae668, "FreestyleScript", "Arial", 8, 1252},
259 {0x3d55aed7, "Jokerman", "Arial", 0, 1252},
260 {0x3d5b4385, "PMingLiU", "Arial", 2, 1252},
261 {0x3d9b7669, "EstrangeloEdessa", "Arial", 0, 1252},
262 {0x3e532d74, "FranklinGothicMedium", "Arial", 0, 1252},
263 {0x3e6aa32d, "NSimSun", "Arial", 1, 936},
264 {0x3f6c36a8, "Gautami", "Arial", 0, 1252},
265 {0x3ff32662, "Chiller-Regular", "Arial", 0, 1252},
266 {0x409de312, "ModernNo.20", "Arial", 2, 1252},
267 {0x41443c5e, "Georgia", "Arial", 2, 1252},
268 {0x4160ade5, "BellGothicStdBlack",
269 "Arial,Arial Unicode MS,Book Antiqua,Dotum,Georgia", 0, 1252},
270 {0x421976c4, "Modern-Regular", "Arial", 2, 1252},
271 {0x422a7252, "Stencil", "Arial", 0, 1252},
272 {0x42c8554f, "Fixedsys", "Arial", 0, 1252},
273 {0x435cb41d, "Roman", "Arial", 0, 1252},
274 {0x47882383, "CourierNew", "Arial", 1, 1252},
275 {0x480a2338, "BerlinSansFBDemi", "Arial", 0, 1252},
276 {0x480bf7a4, "CourierStd", "Courier New,Verdana", 0, 1252},
277 {0x481ad6ed, "VladimirScript", "Arial", 8, 1252},
278 {0x4911577a, "YouYuan", "Arial", 1, 936},
279 {0x4a788d72, "STXingkai", "Arial", 0, 936},
280 {0x4bf88566, "SegoeCondensed", "Arial", 0, 1252},
281 {0x4ccf51a4, "BerlinSansFB-Reg", "Arial", 0, 1252},
282 {0x4ea967ce, "GulimChe", "Arial", 1, 1252},
283 {0x4f68bd79, "LetterGothicStd", "Courier New,Verdana", 0, 1252},
284 {0x51a0d0e6, "KozukaGothicPr6NM", "Arial", 0, 1252},
285 {0x531b3dea, "BasemicSymbol", "Arial", 0, 1252},
286 {0x5333fd39, "CalifornianFB-Reg", "Arial", 2, 1252},
287 {0x53561a54, "FZYTK--GBK1-0", "Arial", 0, 936},
288 {0x55e0dde6, "LucidaSansTypewriter", "Arial", 0, 1252},
289 {0x574d4d3d, "AdobeArabic", "Arial Narrow", 0, 1252},
290 {0x5792e759, "STKaiti", "Arial", 0, 936},
291 {0x5921978e, "LucidaSansUnicode", "Arial", 0, 1252},
292 {0x594e2da4, "Vrinda", "Arial", 0, 1252},
293 {0x59baa9a2, "KaiTi_GB2312", "Arial", 0, 1252},
294 {0x5cfedf4f, "BaskOldFace", "Arial", 0, 1252},
295 {0x5f97921c, "AdobeMyungjoStdM",
296 "Batang,Bookman Old Style,Consolas,STZhongsong", 0, 936},
297 {0x5fefbfad, "Batang", "Arial", 2, 1252},
298 {0x605342b9, "DotumChe", "Arial", 1, 1252},
299 {0x608c5f9a, "KaiTi_GB2312", "Arial", 0, 936},
300 {0x61efd0d1, "MaturaMTScriptCapitals", "Arial", 0, 1252},
301 {0x626608a9, "MVBoli", "Arial", 0, 1252},
302 {0x630501a3, "SmallFonts", "Arial", 0, 1252},
303 {0x65d0e2a9, "FZYTK--GBK1-0", "Arial", 0, 936},
304 {0x669f29e1, "FZSTK--GBK1-0", "Arial", 0, 936},
305 {0x673a9e5f, "Tunga", "Arial", 0, 1252},
306 {0x691aa4ce, "NiagaraSolid", "Arial", 0, 1252},
307 {0x696259b7, "Corbel", "Arial", 0, 1252},
308 {0x696ee9be, "STXihei", "Arial", 0, 936},
309 {0x6c59cf69, "Dotum", "Arial", 0, 1252},
310 {0x707fa561, "Gungsuh", "Arial", 2, 1252},
311 {0x71416bb2, "ZWAdobeF", "Arial", 0, 1252},
312 {0x71b41801, "Verdana", "Arial", 0, 1252},
313 {0x73f25e4c, "PalatinoLinotype", "Arial", 0, 1252},
314 {0x73f4d19f, "NiagaraEngraved", "Arial", 0, 1252},
315 {0x74001694, "MyriadProBlack", "Book Antiqua,Constantia,Dotum,Georgia", 0,
316 1252},
317 {0x74b14d8f, "Haettenschweiler", "Arial", 0, 1252},
318 {0x74cb44ee, "NSimSun", "Arial", 1, 936},
319 {0x76b4d7ff, "Shruti", "Arial", 0, 1252},
320 {0x788b3533, "Webdings", "Arial", 6, 42},
321 {0x797dde99, "MSSerif", "Arial", 0, 1252},
322 {0x7a0f9e9e, "MSMincho", "Arial", 1, 1252},
323 {0x7b439caf, "OldEnglishTextMT", "Arial", 0, 1252},
324 {0x8213a433, "LucidaSans-Typewriter", "Arial", 0, 1252},
325 {0x82fec929, "AdobeSongStd",
326 "Centaur,Calibri,STSong,Bell MT,Garamond,Times New Roman", 0, 936},
327 {0x83581825, "Modern", "Arial", 0, 1252},
328 {0x835a2823, "Algerian", "Arial", 0, 1252},
329 {0x83dab9f5, "Script", "Arial", 0, 1252},
330 {0x847b56da, "Tahoma", "Arial", 0, 1252},
331 {0x8a783cb2, "SimSun-PUA", "Arial", 0, 1252},
332 {0x8b5cac0e, "Onyx", "Arial", 0, 1252},
333 {0x8c6a499e, "Gulim", "Arial", 0, 1252},
334 {0x8e0af790, "JuiceITC", "Arial", 0, 1252},
335 {0x8e8d43b2, "Centaur", "Arial", 2, 1252},
336 {0x8ee4dcca, "BookshelfSymbol7", "Arial", 0, 1252},
337 {0x90794800, "BellGothicStdLight", "Bell MT,Calibri,Times New Roman", 0,
338 1252},
339 {0x909b516a, "Century", "Arial", 2, 1252},
340 {0x92ae370d, "MSOutlook", "Arial", 4, 42},
341 {0x93c9fbf1, "LucidaFax", "Arial", 2, 1252},
342 {0x9565085e, "BookAntiqua", "Arial", 2, 1252},
343 {0x9856d95d, "AdobeMingStd", "Arial,Arial Unicode MS,Cambria,BatangChe", 0,
344 949},
345 {0x9bbadd6b, "ColonnaMT", "Arial", 0, 1252},
346 {0x9cbd16a4, "ShowcardGothic-Reg", "Arial", 0, 1252},
347 {0x9d73008e, "MSSansSerif", "Arial", 0, 1252},
348 {0xa0607db1, "GungsuhChe", "Arial", 1, 1252},
349 {0xa0bcf6a1, "LatinWide", "Arial", 2, 1252},
350 {0xa1429b36, "Symbol", "Arial", 6, 42},
351 {0xa1fa5abc, "Wingdings2", "Arial", 6, 42},
352 {0xa1fa5abd, "Wingdings3", "Arial", 6, 42},
353 {0xa427bad4, "InformalRoman-Regular", "Arial", 8, 1252},
354 {0xa8b92ece, "FZSTK--GBK1-0", "Arial", 0, 936},
355 {0xa8d83ece, "CalifornianFB", "Arial", 2, 1252},
356 {0xaa3e082c, "Kingsoft-Phonetic", "Arial", 0, 1252},
357 {0xaa6bcabe, "HarlowSolidItalic", "Arial", 0, 1252},
358 {0xade5337c, "MSUIGothic", "Arial", 0, 1252},
359 {0xb08dd941, "WideLatin", "Arial", 2, 1252},
360 {0xb207f05d, "PoorRichard", "Arial", 2, 1252},
361 {0xb3bc492f, "JuiceITC-Regular", "Arial", 0, 1252},
362 {0xb5545399, "Marlett", "Arial", 4, 42},
363 {0xb5dd1ebb, "BritannicBold", "Arial", 0, 1252},
364 {0xb699c1c5, "LucidaCalligraphy-Italic", "Arial", 0, 1252},
365 {0xb725d629, "TimesNewRoman", "Arial", 2, 1252},
366 {0xb7eaebeb, "AdobeHeitiStdR", "Batang,Century,Dotum", 0, 936},
367 {0xbd29c486, "BerlinSansFBDemi-Bold", "Arial", 0, 1252},
368 {0xbe8a8db4, "BookshelfSymbolSeven", "Arial", 0, 1252},
369 {0xc16c0118, "AdobeHebrew", "Bell MT,Berlin Sans FB,Calibri", 0, 1252},
370 {0xc318b0af, "MyriadProLight", "Calibri,STFangsong,Times New Roman", 0,
371 1252},
372 {0xc65e5659, "CambriaMath", "Arial", 2, 1252},
373 {0xc75c8f05, "LucidaConsole", "Arial", 1, 1252},
374 {0xca7c35d6, "Calibri", "Arial", 0, 1252},
375 {0xcb053f53, "MicrosoftYaHei", "Arial", 0, 936},
376 {0xcb7190f9, "Magneto-Bold", "Arial", 0, 1252},
377 {0xcca00cc5, "System", "Arial", 0, 1252},
378 {0xccad6f76, "Jokerman-Regular", "Arial", 0, 1252},
379 {0xccc5818c, "EuroSign", "Arial", 0, 1252},
380 {0xcf3d7234, "LucidaHandwriting-Italic", "Arial", 0, 1252},
381 {0xcf7b8fdb, "MinionPro",
382 "Bell MT,Corbel,Times New Roman,Cambria,Berlin Sans FB", 0, 1252},
383 {0xcfe5755f, "Simhei", "Arial", 1, 936},
384 {0xd011f4ee, "MSPGothic", "Arial", 0, 1252},
385 {0xd060e7ef, "Vivaldi", "Arial", 8, 1252},
386 {0xd07edec1, "FranklinGothic-Medium", "Arial", 0, 1252},
387 {0xd107243f, "SimSun", "Arial", 0, 936},
388 {0xd1881562, "ArialNarrow", "Arial Narrow", 0, 1252},
389 {0xd22b7dce, "BodoniMTPosterCompressed", "Arial", 0, 1252},
390 {0xd22bfa60, "ComicSansMS", "Arial", 8, 1252},
391 {0xd3bd0e35, "Bauhaus93", "Arial", 0, 1252},
392 {0xd429ee7a, "STFangsong", "Arial", 0, 936},
393 {0xd6679c12, "BernardMTCondensed", "Arial", 0, 1252},
394 {0xd8e8a027, "LucidaSans", "Arial", 0, 1252},
395 {0xd9fe7761, "HighTowerText-Reg", "Arial", 2, 1252},
396 {0xda7e551e, "STSong", "Arial", 0, 936},
397 {0xdaa6842d, "STZhongsong", "Arial", 0, 936},
398 {0xdaaab93f, "STFangsong", "Arial", 0, 936},
399 {0xdaeb0713, "STSong", "Arial", 0, 936},
400 {0xdafedbef, "STCaiyun", "Arial", 0, 936},
401 {0xdb00a3d9, "Broadway", "Arial", 0, 1252},
402 {0xdb1f5ad4, "STXinwei", "Arial", 0, 936},
403 {0xdb326e7f, "STKaiti", "Arial", 0, 936},
404 {0xdb69595a, "STHupo", "Arial", 0, 936},
405 {0xdba0082c, "STXihei", "Arial", 0, 936},
406 {0xdbd0ab18, "STXingkai", "Arial", 0, 936},
407 {0xdc1a7db1, "STLiti", "Arial", 0, 936},
408 {0xdc33075f, "KristenITC-Regular", "Arial", 8, 1252},
409 {0xdcc7009c, "Harrington", "Arial", 0, 1252},
410 {0xdd712466, "ArialBlack", "Arial", 0, 1252},
411 {0xdde87b3e, "Impact", "Arial", 0, 1252},
412 {0xdf69fb32, "SnapITC", "Arial", 0, 1252},
413 {0xdf8b25e8, "CenturyGothic", "Arial", 0, 1252},
414 {0xe0f705c0, "KristenITC", "Arial", 8, 1252},
415 {0xe1427573, "Raavi", "Arial", 0, 1252},
416 {0xe2cea0cb, "Magneto", "Arial", 0, 1252},
417 {0xe36a9e17, "Ravie", "Arial", 0, 1252},
418 {0xe433f8e2, "Parchment", "Arial", 8, 1252},
419 {0xe43dff4a, "Wingdings", "Arial", 4, 42},
420 {0xe4e2c405, "MTExtra", "Arial", 6, 42},
421 {0xe618cc35, "InformalRoman", "Arial", 8, 1252},
422 {0xe6c27ffc, "Mistral", "Arial", 8, 1252},
423 {0xe7ebf4b9, "Courier", "Courier New", 0, 1252},
424 {0xe8bc4a9d, "MSReferenceSpecialty", "Arial", 0, 1252},
425 {0xe90fb013, "TempusSansITC", "Arial", 0, 1252},
426 {0xec637b42, "Consolas", "Verdana", 1, 1252},
427 {0xed3a683b, "STXinwei", "Arial", 0, 936},
428 {0xef264cd1, "LucidaHandwriting", "Arial", 0, 1252},
429 {0xf086bca2, "BaskervilleOldFace", "Arial", 0, 1252},
430 {0xf1028030, "Mangal", "Arial", 2, 1252},
431 {0xf1da7eb9, "ShowcardGothic", "Arial", 0, 1252},
432 {0xf210f06a, "ArialMT", "Arial", 0, 1252},
433 {0xf477f16a, "Latha", "Arial", 0, 1252},
434 {0xf616f3dd, "LiSu", "Arial", 1, 936},
435 {0xfa479aa6, "MicrosoftYaHei", "Arial", 0, 936},
436 {0xfcd19697, "BookmanOldStyle", "Arial", 0, 1252},
437 {0xfe209a82, "LucidaCalligraphy", "Arial", 0, 1252},
438 {0xfef135f8, "AdobeHeitiStd-Regular", "Batang,Century,Dotum", 0, 936},
439 };
440 #elif _FX_PLATFORM_ == _FX_PLATFORM_LINUX_
441 const FGAS_FontInfo g_XFAFontsMap[] = {
442 {0x01d5d33e, "SimSun",
443 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing TW,AR "
444 "PL UMing TW MBE",
445 0, 936},
446 {0x01e4f102, "YouYuan",
447 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing TW,AR "
448 "PL UMing TW MBE",
449 1, 936},
450 {0x030549dc, "LiSu",
451 "WenQuanYi Zen Hei,WenQuanYi Zen Hei Sharp,WenQuanYi Zen Hei "
452 "Mono,WenQuanYi Micro Hei",
453 1, 936},
454 {0x032edd44, "Simhei",
455 "WenQuanYi Zen Hei,WenQuanYi Zen Hei Sharp,WenQuanYi Zen Hei "
456 "Mono,WenQuanYi Micro Hei",
457 1, 936},
458 {0x03eac6fc, "PoorRichard-Regular", "Droid Sans Japanese,FreeSerif", 2,
459 1252},
460 {0x03ed90e6, "Nina", "FreeSerif", 0, 1252},
461 {0x077b56b3, "KingsoftPhoneticPlain",
462 "Tibetan Machine Uni,LKLUG,Samyak Gujarati,Droid Sans Thai,Droid Sans "
463 "Armenian,Untitled1,utkal,Lohit Oriya",
464 0, 1252},
465 {0x078ed524, "MicrosoftSansSerif",
466 "Droid Sans Japanese,FreeSerif,WenQuanYi Micro Hei", 0, 1252},
467 {0x089b18a9, "Arial",
468 "Droid Sans Japanese,DejaVu Sans Condensed,FreeSerif,WenQuanYi Micro Hei",
469 0, 1252},
470 {0x0b2cad72, "MonotypeCorsiva", "Droid Sans Japanese,FreeSerif", 8, 1252},
471 {0x0bb003e7, "Kartika",
472 "FreeSans,Liberation Sans,Liberation Sans Narrow,Nimbus Sans "
473 "L,Garuda,FreeSerif,WenQuanYi Micro Hei",
474 2, 1252},
475 {0x0bb469df, "VinerHandITC",
476 "Droid Sans Japanese,Ubuntu,Liberation Sans,Liberation Serif", 8, 1252},
477 {0x0bc1a851, "SegoeUI", "Droid Sans Japanese,DejaVu Sans", 0, 1252},
478 {0x0c112ebd, "KozukaGothicPro-VIM", "FreeSerif", 0, 1252},
479 {0x0cfcb9c1, "AdobeThai", "Droid Sans Japanese,Waree", 0, 847},
480 {0x0e7de0f9, "Playbill",
481 "KacstQurn,Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid "
482 "Sans Ethiopic,Droid Sans Japanese,FreeSerif",
483 0, 1252},
484 {0x0eff47c3, "STHupo", "AR PL UKai HK,AR PL UMing HK,AR PL UKai CN", 0,
485 936},
486 {0x107ad374, "Constantia",
487 "Droid Sans Japanese,FreeSerif,WenQuanYi Micro Hei,Ubuntu", 2, 1252},
488 {0x12194c2d, "KunstlerScript", "Droid Sans Japanese,Liberation Serif", 8,
489 1252},
490 {0x135ef6a1, "MinionProSmBd", "Liberation Serif", 0, 1252},
491 {0x158c4049, "Garamond",
492 "Droid Sans Japanese,Liberation Serif,Ubuntu,FreeSerif", 2, 1252},
493 {0x160ecb24, "STZhongsong",
494 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
495 "Sharp,WenQuanYi Micro Hei",
496 0, 936},
497 {0x161ed07e, "MSGothic",
498 "WenQuanYi Micro Hei Mono,WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,AR PL "
499 "UMing CN,AR PL UMing HK,AR PL UMing TW",
500 1, 1252},
501 {0x171d1ed1, "SnapITC-Regular",
502 "Liberation Sans Narrow,Ubuntu Condensed,Nimbus Sans L,DejaVu Sans", 0,
503 1252},
504 {0x18d1188f, "Cambria", "Droid Sans Japanese,FreeSerif,FreeMono", 2, 1252},
505 {0x18eaf350, "ArialUnicodeMS",
506 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
507 "Sharp,WenQuanYi Micro Hei",
508 0, 936},
509 {0x1a92d115, "MingLiU",
510 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
511 "Sharp,WenQuanYi Micro Hei",
512 1, 1252},
513 {0x1cc217c6, "TrebuchetMS",
514 "Droid Sans Japanese,Liberation Serif,FreeSerif,Ubuntu", 0, 1252},
515 {0x1d649596, "BasemicTimes",
516 "Liberation Serif,Times New Roman,Droid Sans Japanese,FreeSerif,Ubuntu", 0,
517 1252},
518 {0x1e34ee60, "BellMT",
519 "KacstQurn,Droid Sans Japanese,Ubuntu,Liberation Serif", 2, 1252},
520 {0x1eb36945, "CooperBlack",
521 "KacstQurn,Droid Sans Japanese,FreeMono,Liberation Mono, WenQuanYi Micro "
522 "Hei Mono",
523 2, 1252},
524 {0x1ef7787d, "BatangChe",
525 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing "
526 "TW,WenQuanYi Zen Hei,WenQuanYi Micro Hei",
527 1, 1252},
528 {0x20b3bd3a, "BrushScriptMT",
529 "KacstQurn,Droid Arabic Naskh,Droid Sans Ethiopic,Droid Sans "
530 "Japanese,URW Chancery L,Liberation Sans",
531 8, 1252},
532 {0x220877aa, "Candara", "Droid Sans Japanese,DejaVu Sans", 0, 1252},
533 {0x22135007, "FreestyleScript-Regular",
534 "KacstQurn,Droid Sans Japanese,Liberation Sans", 8, 1252},
535 {0x251059c3, "Chiller",
536 "KacstQurn,Droid Arabic Naskh,Droid Sans Ethiopic,Droid Sans "
537 "Japanese,Liberation Sans",
538 0, 1252},
539 {0x25bed6dd, "MSReferenceSansSerif",
540 "DejaVu Sans Condensed,Ubuntu Condensed,Droid Sans Japanese,AR PL UKai "
541 "HK",
542 0, 1252},
543 {0x28154c81, "Parchment-Regular", "Droid Sans Japanese,Liberation Sans", 8,
544 1252},
545 {0x29711eb9, "STLiti", "AR PL UKai HK", 0, 936},
546 {0x2b1993b4, "Basemic",
547 "Liberation Serif,Droid Sans Japanese,Liberation Sans", 0, 1252},
548 {0x2b316339, "NiagaraSolid-Reg", "Droid Sans Japanese,Liberation Sans", 0,
549 1252},
550 {0x2c147529, "FootlightMTLight",
551 "KacstQurn,Droid Sans Japanese,Liberation Sans", 0, 1252},
552 {0x2c198928, "HarlowSolid", "KacstQurn,Droid Sans Japanese,Liberation Sans",
553 0, 1252},
554 {0x2c6ac6b2, "LucidaBright",
555 "KacstQurn,Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid "
556 "Sans Japanese,Liberation Sans",
557 2, 1252},
558 {0x2c9f38e2, "KozukaMinchoPro-VIR", "DejaVu Sans", 0, 1252},
559 {0x2d5a47b0, "STCaiyun", "AR PL UKai HK", 0, 936},
560 {0x2def26bf, "BernardMT-Condensed",
561 "KacstQurn,Droid Sans Japanese,DejaVu Serif", 0, 1252},
562 {0x2fd8930b, "KozukaMinchoPr6NR", "DejaVu Serif", 0, 1252},
563 {0x3115525a, "FangSong_GB2312",
564 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
565 "Sharp,WenQuanYi Micro Hei",
566 0, 1252},
567 {0x31327817, "MyriadPro", "Ubuntu Condensed,Droid Sans Japanese, FreeSerif",
568 0, 1252},
569 {0x32244975, "Helvetica",
570 "Ubuntu,DejaVu Sans Condensed,Liberation Sans,Liberation Sans "
571 "Narrow,Nimbus Sans ",
572 0, 1252},
573 {0x32ac995c, "Terminal", "DejaVu Serif", 0, 1252},
574 {0x338d648a, "NiagaraEngraved-Reg", "Droid Sans Japanese,DejaVu Serif", 0,
575 1252},
576 {0x33bb65f2, "Sylfaen", "Droid Sans Japanese,DejaVu Sans", 2, 1252},
577 {0x3402c30e, "MSPMincho",
578 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing TW", 2,
579 1252},
580 {0x3412bf31, "SimSun-PUA",
581 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing CN,AR PL UMing HK", 0,
582 936},
583 {0x36eb39b9, "BerlinSansFB",
584 "Droid Sans Japanese,Liberation Serif,Ubuntu,FreeSerif", 0, 1252},
585 {0x36f42055, "UniversATT", "Microsoft Sans Serif", 0, 1252},
586 {0x3864c4f6, "HighTowerText", "Droid Sans Japanese,DejaVu Serif", 2, 1252},
587 {0x3a257d03, "FangSong_GB2312", "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei",
588 0, 1252},
589 {0x3c7d1d07, "Garamond3LTStd",
590 "Droid Sans Japanese,Ubuntu Condensed,DejaVu Sans Condensed,Liberation "
591 "Serif,Ubuntu,FreeSerif",
592 2, 1252},
593 {0x3cdae668, "FreestyleScript", "KacstQurn,Droid Sans Japanese,DejaVu Sans",
594 8, 1252},
595 {0x3d55aed7, "Jokerman", "Droid Sans Japanese,DejaVu Sans", 0, 1252},
596 {0x3d5b4385, "PMingLiU",
597 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
598 "Sharp,WenQuanYi Micro Hei",
599 2, 1252},
600 {0x3d9b7669, "EstrangeloEdessa", "Droid Sans Japanese,DejaVu Sans", 0,
601 1252},
602 {0x3e532d74, "FranklinGothicMedium", "Droid Sans Japanese,Ubuntu", 0, 1252},
603 {0x3e6aa32d, "NSimSun",
604 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
605 "Sharp,WenQuanYi Micro Hei",
606 1, 936},
607 {0x3f6c36a8, "Gautami",
608 "Droid Arabic Naskh,Droid Sans Ethiopic, mry_KacstQurn,Droid Sans "
609 "Japanese,FreeSans",
610 0, 1252},
611 {0x3ff32662, "Chiller-Regular",
612 "KacstQurn,Droid Arabic Naskh,Droid Sans Ethiopic,FreeSans", 0, 1252},
613 {0x409de312, "ModernNo.20",
614 "KacstQurn,Droid Sans Japanese,Nimbus Sans L,Nimbus Sans L,FreeSans", 2,
615 1252},
616 {0x41443c5e, "Georgia", "Droid Sans Japanese,FreeSans", 2, 1252},
617 {0x4160ade5, "BellGothicStdBlack", "FreeSans", 0, 1252},
618 {0x421976c4, "Modern-Regular", "FreeSans", 2, 1252},
619 {0x422a7252, "Stencil", "Droid Sans Japanese,FreeSans,Liberation Sans", 0,
620 1252},
621 {0x42c8554f, "Fixedsys", "FreeSerif", 0, 1252},
622 {0x435cb41d, "Roman", "FreeSerif", 0, 1252},
623 {0x47882383, "CourierNew",
624 "FreeMono,WenQuanYi Micro Hei Mono,AR PL UKai CN,AR PL UKai HK,AR PL "
625 "UKai TW,AR PL UKai TW MBE,DejaVu Sans",
626 1, 1252},
627 {0x480a2338, "BerlinSansFBDemi", "Droid Sans Japanese,Liberation Serif", 0,
628 1252},
629 {0x480bf7a4, "CourierStd", "DejaVu Sans", 0, 1252},
630 {0x481ad6ed, "VladimirScript", "Droid Sans Japanese,DejaVu Serif", 8, 1252},
631 {0x4911577a, "YouYuan",
632 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing TW", 1,
633 936},
634 {0x4a788d72, "STXingkai", "AR PL UKai HK,AR PL UMing HK,AR PL UKai CN", 0,
635 936},
636 {0x4bf88566, "SegoeCondensed", "FreeSerif", 0, 1252},
637 {0x4ccf51a4, "BerlinSansFB-Reg", "Droid Sans Japanese,Liberation Serif", 0,
638 1252},
639 {0x4ea967ce, "GulimChe",
640 "WenQuanYi Zen Hei Mono,AR PL UKai CN,AR PL UKai HK,AR PL UKai TW,AR PL "
641 "UKai TW MBE",
642 1, 1252},
643 {0x4f68bd79, "LetterGothicStd",
644 "FreeMono,Liberation Mono,Andale Mono,WenQuanYi Micro Hei Mono", 0, 1252},
645 {0x51a0d0e6, "KozukaGothicPr6NM", "FreeSerif", 0, 1252},
646 {0x531b3dea, "BasemicSymbol", "FreeSerif", 0, 1252},
647 {0x5333fd39, "CalifornianFB-Reg",
648 "Droid Sans Japanese,URW Chancery L,FreeSerif", 2, 1252},
649 {0x53561a54, "FZYTK--GBK1-0",
650 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
651 "Sharp,WenQuanYi Micro Hei",
652 0, 936},
653 {0x55e0dde6, "LucidaSansTypewriter",
654 "Ubuntu Mono,DejaVu Sans Mono,Nimbus Mono L,Liberation Mono,Courier 10 "
655 "Pitch,FreeMono",
656 0, 1252},
657 {0x574d4d3d, "AdobeArabic", "Droid Sans Japanese,DejaVu Sans", 0, 1252},
658 {0x5792e759, "STKaiti", "WenQuanYi Micro Hei Mono", 0, 936},
659 {0x5921978e, "LucidaSansUnicode", "Droid Sans Japanese,DejaVu Sans", 0,
660 1252},
661 {0x594e2da4, "Vrinda",
662 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Arabic "
663 "Naskh,mry_KacstQurn,Droid Sans Japanese,FreeSans,FreeSerif",
664 0, 1252},
665 {0x59baa9a2, "KaiTi_GB2312",
666 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
667 "Sharp,WenQuanYi Micro Hei",
668 0, 1252},
669 {0x5cfedf4f, "BaskOldFace",
670 "KacstQurn,Droid Sans Japanese,Ubuntu,Liberation Serif", 0, 1252},
671 {0x5e16ac91, "TrajanPro",
672 "Nimbus Sans L,AR PL UMing HK,AR PL UKai HK,AR PL UMing TW,AR PL UMing "
673 "TW MBE,DejaVu Sans,DejaVu Serif",
674 0, 1252},
675 {0x5f388196, "ITCLegacySansStdMedium",
676 "Liberation Serif,FreeSerif,FreeSans,Ubuntu", 0, 1252},
677 {0x5f97921c, "AdobeMyungjoStdM",
678 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
679 "Sharp,WenQuanYi Micro Hei",
680 0, 936},
681 {0x5fefbfad, "Batang",
682 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
683 "Sharp,WenQuanYi Micro Hei",
684 2, 1252},
685 {0x605342b9, "DotumChe",
686 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing TW", 1,
687 1252},
688 {0x608c5f9a, "KaiTi_GB2312",
689 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
690 "Sharp,WenQuanYi Micro Hei",
691 0, 936},
692 {0x61efd0d1, "MaturaMTScriptCapitals",
693 "KacstQurn,Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid "
694 "Sans Japanese,DejaVu Serif,DejaVu Sans",
695 0, 1252},
696 {0x626608a9, "MVBoli",
697 "Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid Sans "
698 "Ethiopic,Droid Sans Japanese,DejaVu Sans",
699 0, 1252},
700 {0x630501a3, "SmallFonts", "DejaVu Serif", 0, 1252},
701 {0x65d0e2a9, "FZYTK--GBK1-0",
702 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
703 "Sharp,WenQuanYi Micro Hei",
704 0, 936},
705 {0x669f29e1, "FZSTK--GBK1-0",
706 "AR PL UMing CN,AR PL UKai CN, AR PL UMing HK", 0, 936},
707 {0x673a9e5f, "Tunga",
708 "Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid Sans "
709 "Japanese,DejaVu Serif",
710 0, 1252},
711 {0x691aa4ce, "NiagaraSolid", "Droid Sans Japanese,DejaVu Serif", 0, 1252},
712 {0x696259b7, "Corbel", "Droid Sans Japanese,DejaVu Sans", 0, 1252},
713 {0x696ee9be, "STXihei", "WenQuanYi Micro Hei Mono", 0, 936},
714 {0x6c59cf69, "Dotum", "WenQuanYi Zen Hei Mono", 0, 1252},
715 {0x707fa561, "Gungsuh", "WenQuanYi Zen Hei Mono", 2, 1252},
716 {0x71416bb2, "ZWAdobeF",
717 "KacstArt,KacstBookm,KacstDecorative,KacstDigital,KacstFarsi,KacstLetter,"
718 "KacstOffice,Dingbats,FreeSerif",
719 0, 1252},
720 {0x71b41801, "Verdana",
721 "DejaVu Sans Condensed,Ubuntu Condensed,Droid Sans Japanese,DejaVu Sans",
722 0, 1252},
723 {0x73f25e4c, "PalatinoLinotype", "Droid Sans Japanese,FreeSerif", 0, 1252},
724 {0x73f4d19f, "NiagaraEngraved", "Droid Sans Japanese,FreeSerif", 0, 1252},
725 {0x74001694, "MyriadProBlack", "Droid Sans Japanese,AR PL UKai HK", 0,
726 1252},
727 {0x74b14d8f, "Haettenschweiler", "Droid Sans Japanese,DejaVu Serif", 0,
728 1252},
729 {0x74cb44ee, "NSimSun", "WenQuanYi Zen Hei Mono", 1, 936},
730 {0x76b4d7ff, "Shruti",
731 "Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid Sans "
732 "Japanese,FreeSans",
733 0, 1252},
734 {0x788b3533, "Webdings", "FreeSans", 6, 42},
735 {0x797dde99, "MSSerif", "FreeSans", 0, 1252},
736 {0x7a0f9e9e, "MSMincho",
737 "WenQuanYi Micro Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing TW", 1,
738 1252},
739 {0x7b439caf, "OldEnglishTextMT",
740 "Droid Sans Japanese,Liberation Sans,Ubuntu", 0, 1252},
741 {0x8213a433, "LucidaSans-Typewriter",
742 "Ubuntu Mono,Liberation Mono,DejaVu Sans Mono", 0, 1252},
743 {0x82fec929, "AdobeSongStd",
744 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
745 "Sharp,WenQuanYi Micro Hei",
746 0, 936},
747 {0x83581825, "Modern", "FreeSans", 0, 1252},
748 {0x835a2823, "Algerian",
749 "KacstQurn,Droid Sans Japanese,FreeSans,Liberation Sans,Ubuntu", 0, 1252},
750 {0x83dab9f5, "Script", "FreeSans", 0, 1252},
751 {0x847b56da, "Tahoma",
752 "Droid Sans Japanese,DejaVu Sans Condensed,FreeSerif", 0, 1252},
753 {0x8a783cb2, "SimSun-PUA",
754 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
755 "Sharp,WenQuanYi Micro Hei",
756 0, 1252},
757 {0x8b5cac0e, "Onyx", "Droid Sans Japanese,Liberation Sans", 0, 1252},
758 {0x8c6a499e, "Gulim",
759 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
760 "Sharp,WenQuanYi Micro Hei",
761 0, 1252},
762 {0x8e0af790, "JuiceITC", "Droid Sans Japanese,Liberation Sans", 0, 1252},
763 {0x8e8d43b2, "Centaur",
764 "KacstQurn,Droid Sans Japanese,Khmer OS,Khmer OS System", 2, 1252},
765 {0x8ee4dcca, "BookshelfSymbol7", "Liberation Sans", 0, 1252},
766 {0x90794800, "BellGothicStdLight", "Liberation Sans", 0, 1252},
767 {0x909b516a, "Century",
768 "Droid Sans Japanese,Liberation Sans,Liberation Mono,Liberation Serif", 2,
769 1252},
770 {0x92ae370d, "MSOutlook", "Liberation Sans", 4, 42},
771 {0x93c9fbf1, "LucidaFax",
772 "KacstQurn,Droid Arabic Naskh,Droid Sans "
773 "Ethiopic,mry_KacstQurn,Liberation Sans",
774 2, 1252},
775 {0x9565085e, "BookAntiqua",
776 "Droid Sans Japanese,Liberation Sans,Liberation Serif", 2, 1252},
777 {0x9856d95d, "AdobeMingStd", "AR PL UMing HK", 0, 949},
778 {0x9bbadd6b, "ColonnaMT",
779 "KacstQurn,Droid Sans Japanese,Khmer OS,Khmer OS System", 0, 1252},
780 {0x9cbd16a4, "ShowcardGothic-Reg",
781 "Droid Sans Japanese,Liberation Sans,Ubuntu", 0, 1252},
782 {0x9d73008e, "MSSansSerif", "FreeSerif", 0, 1252},
783 {0xa0607db1, "GungsuhChe",
784 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
785 "Sharp,WenQuanYi Micro Hei",
786 1, 1252},
787 {0xa0bcf6a1, "LatinWide", "FreeSerif", 2, 1252},
788 {0xa1429b36, "Symbol", "FreeSerif", 6, 42},
789 {0xa1fa5abc, "Wingdings2", "FreeSerif", 6, 42},
790 {0xa1fa5abd, "Wingdings3", "FreeSerif", 6, 42},
791 {0xa427bad4, "InformalRoman-Regular",
792 "Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid Sans "
793 "Japanese,FreeSerif",
794 8, 1252},
795 {0xa8b92ece, "FZSTK--GBK1-0", "AR PL UMing CN", 0, 936},
796 {0xa8d83ece, "CalifornianFB", "Droid Sans Japanese,FreeSerif", 2, 1252},
797 {0xaa3e082c, "Kingsoft-Phonetic",
798 "Tibetan Machine Uni,LKLUG,Samyak Gujarati,Droid Sans "
799 "Thai,utkal,Kedage,Mallige,AR PL UKai CN",
800 0, 1252},
801 {0xaa6bcabe, "HarlowSolidItalic",
802 "KacstQurn,Droid Sans Japanese,Liberation Serif", 0, 1252},
803 {0xade5337c, "MSUIGothic",
804 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
805 "Sharp,WenQuanYi Micro Hei",
806 0, 1252},
807 {0xb08dd941, "WideLatin",
808 "KacstQurn,Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid "
809 "Sans Japanese,Liberation Serif",
810 2, 1252},
811 {0xb12765e0, "ITCLegacySansStdBook",
812 "AR PL UMing HK,AR PL UKai HK,FreeSerif,Ubuntu,FreeSans", 0, 1252},
813 {0xb207f05d, "PoorRichard", "Droid Sans Japanese,Liberation Serif", 2,
814 1252},
815 {0xb3bc492f, "JuiceITC-Regular", "Droid Sans Japanese,Liberation Serif", 0,
816 1252},
817 {0xb5545399, "Marlett", "Liberation Serif", 4, 42},
818 {0xb5dd1ebb, "BritannicBold",
819 "KacstQurn,Droid Arabic Naskh,Droid Sans "
820 "Ethiopic,mry_KacstQurn,Liberation Serif",
821 0, 1252},
822 {0xb699c1c5, "LucidaCalligraphy-Italic",
823 "KacstQurn,Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid "
824 "Sans Japanese,DejaVu Serif",
825 0, 1252},
826 {0xb725d629, "TimesNewRoman", "Droid Sans Japanese,Liberation Sans", 2,
827 1252},
828 {0xb7eaebeb, "AdobeHeitiStdR",
829 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
830 "Sharp,WenQuanYi Micro Hei",
831 0, 936},
832 {0xbd29c486, "BerlinSansFBDemi-Bold", "Droid Sans Japanese,DejaVu Serif", 0,
833 1252},
834 {0xbe8a8db4, "BookshelfSymbolSeven", "DejaVu Sans", 0, 1252},
835 {0xc16c0118, "AdobeHebrew", "Droid Sans Japanese,Ubuntu,Liberation Serif",
836 0, 1252},
837 {0xc318b0af, "MyriadProLight",
838 "Droid Sans Japanese,AR PL UKai HK,AR PL UMing HK,AR PL UKai CN", 0, 1252},
839 {0xc65e5659, "CambriaMath", "Droid Sans Japanese,FreeSerif,FreeMono", 2,
840 1252},
841 {0xc75c8f05, "LucidaConsole",
842 "Liberation Mono,DejaVu Sans Mono,FreeMono,WenQuanYi Micro Hei Mono", 1,
843 1252},
844 {0xca7c35d6, "Calibri", "Droid Sans Japanese,DejaVu Sans", 0, 1252},
845 {0xcb053f53, "MicrosoftYaHei",
846 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
847 "Sharp,WenQuanYi Micro Hei",
848 0, 936},
849 {0xcb7190f9, "Magneto-Bold",
850 "Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid Sans "
851 "Japanese,DejaVu Serif",
852 0, 1252},
853 {0xcca00cc5, "System", "DejaVu Sans", 0, 1252},
854 {0xccad6f76, "Jokerman-Regular", "Droid Sans Japanese,DejaVu Sans", 0,
855 1252},
856 {0xccc5818c, "EuroSign", "DejaVu Serif", 0, 1252},
857 {0xcf3d7234, "LucidaHandwriting-Italic",
858 "Liberation Sans Narrow,Ubuntu Condensed,Nimbus Sans L,DejaVu Serif", 0,
859 1252},
860 {0xcf7b8fdb, "MinionPro", "DejaVu Sans", 0, 1252},
861 {0xcfe5755f, "Simhei",
862 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
863 "Sharp,WenQuanYi Micro Hei",
864 1, 936},
865 {0xd011f4ee, "MSPGothic",
866 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing TW", 0,
867 1252},
868 {0xd060e7ef, "Vivaldi",
869 "KacstQurn,Droid Sans Japanese,Liberation Sans,Ubuntu", 8, 1252},
870 {0xd07edec1, "FranklinGothic-Medium", "Droid Sans Japanese,Ubuntu", 0,
871 1252},
872 {0xd107243f, "SimSun", "WenQuanYi Zen Hei Mono", 0, 936},
873 {0xd1881562, "ArialNarrow",
874 "Liberation Sans Narrow,Droid Sans Japanese,FreeSerif", 0, 1252},
875 {0xd22b7dce, "BodoniMTPosterCompressed", "Droid Sans Japanese,DejaVu Serif",
876 0, 1252},
877 {0xd22bfa60, "ComicSansMS", "Droid Sans Japanese,FreeMono,Liberation Mono",
878 8, 1252},
879 {0xd3bd0e35, "Bauhaus93",
880 "KacstQurn,Droid Sans Japanese,Liberation Sans,Ubuntu", 0, 1252},
881 {0xd429ee7a, "STFangsong", "WenQuanYi Micro Hei Mono", 0, 936},
882 {0xd6679c12, "BernardMTCondensed",
883 "KacstQurn,Droid Sans Japanese,Nimbus Sans L,URW Chancery "
884 "L,KacstOne,Liberation Sans",
885 0, 1252},
886 {0xd8e8a027, "LucidaSans",
887 "Liberation Sans Narrow,Nimbus Sans L,KacstQurn,Droid Arabic Naskh,Droid "
888 "Sans Ethiopic,DejaVu Serif Condensed,Liberation Mono,Ubuntu",
889 0, 1252},
890 {0xd9fe7761, "HighTowerText-Reg",
891 "Droid Sans Japanese,Ubuntu,Liberation Serif", 2, 1252},
892 {0xda7e551e, "STSong", "WenQuanYi Micro Hei Mono", 0, 936},
893 {0xdaa6842d, "STZhongsong",
894 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
895 "Sharp,WenQuanYi Micro Hei",
896 0, 936},
897 {0xdaaab93f, "STFangsong",
898 "WenQuanYi Micro Hei Mono,WenQuanYi Zen Hei Mono,WenQuanYi Zen "
899 "Hei,WenQuanYi Zen Hei Sharp",
900 0, 936},
901 {0xdaeb0713, "STSong",
902 "WenQuanYi Micro Hei Mono,WenQuanYi Zen Hei Mono,WenQuanYi Zen "
903 "Hei,WenQuanYi Zen Hei Sharp",
904 0, 936},
905 {0xdafedbef, "STCaiyun", "AR PL UKai HK,AR PL UMing HK,AR PL UKai CN", 0,
906 936},
907 {0xdb00a3d9, "Broadway",
908 "KacstQurn,Droid Sans Japanese,DejaVu Sans,FreeMono,Liberation Mono", 0,
909 1252},
910 {0xdb1f5ad4, "STXinwei", "AR PL UKai HK,AR PL UMing HK,AR PL UKai CN", 0,
911 936},
912 {0xdb326e7f, "STKaiti",
913 "WenQuanYi Micro Hei Mono,WenQuanYi Zen Hei Mono,WenQuanYi Zen "
914 "Hei,WenQuanYi Zen Hei Sharp",
915 0, 936},
916 {0xdb69595a, "STHupo",
917 "WenQuanYi Micro Hei Mono,WenQuanYi Zen Hei Mono,WenQuanYi Zen "
918 "Hei,WenQuanYi Zen Hei Sharp",
919 0, 936},
920 {0xdba0082c, "STXihei",
921 " WenQuanYi Micro Hei Mono,WenQuanYi Zen Hei Mono,WenQuanYi Zen "
922 "Hei,WenQuanYi Zen Hei Sharp",
923 0, 936},
924 {0xdbd0ab18, "STXingkai", "AR PL UKai HK,AR PL UMing HK,AR PL UKai CN", 0,
925 936},
926 {0xdc1a7db1, "STLiti", "AR PL UKai HK,AR PL UMing HK,AR PL UKai CN", 0,
927 936},
928 {0xdc33075f, "KristenITC-Regular",
929 "Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,DejaVu Sans "
930 "Condensed,Ubuntu,Liberation Sans",
931 8, 1252},
932 {0xdcc7009c, "Harrington",
933 "KacstQurn,Droid Sans Japanese,Liberation Serif,FreeSerif,Ubuntu", 0,
934 1252},
935 {0xdd712466, "ArialBlack",
936 "Droid Sans Japanese,DejaVu Sans,DejaVu Serif,FreeMono", 0, 1252},
937 {0xdde87b3e, "Impact", "Droid Sans Japanese,DejaVu Serif", 0, 1252},
938 {0xdf69fb32, "SnapITC",
939 "Liberation Sans Narrow,Ubuntu Condensed,DejaVu Sans,DejaVu "
940 "Serif,FreeMono",
941 0, 1252},
942 {0xdf8b25e8, "CenturyGothic",
943 "Droid Sans Japanese,Liberation Mono,Liberation Sans,Liberation Serif", 0,
944 1252},
945 {0xe0f705c0, "KristenITC",
946 "Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,DejaVu Sans "
947 "Condensed,Ubuntu,Liberation Sans",
948 8, 1252},
949 {0xe1427573, "Raavi",
950 "Droid Arabic Naskh,Droid Sans "
951 "Ethiopic,mry_KacstQurn,FreeSerif,Liberation Serif,Khmer OS",
952 0, 1252},
953 {0xe2cea0cb, "Magneto",
954 "Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,DejaVu "
955 "Serif,DejaVu Serif Condensed,DejaVu Sans",
956 0, 1252},
957 {0xe36a9e17, "Ravie",
958 "Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,DejaVu "
959 "Serif,DejaVu Sans,FreeMono",
960 0, 1252},
961 {0xe433f8e2, "Parchment", "Droid Sans Japanese,DejaVu Serif", 8, 1252},
962 {0xe43dff4a, "Wingdings", "DejaVu Serif", 4, 42},
963 {0xe4e2c405, "MTExtra", "DejaVu Serif", 6, 42},
964 {0xe618cc35, "InformalRoman",
965 "Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid Sans "
966 "Japanese,Nimbus Sans L,DejaVu Sans Condensed,Ubuntu,Liberation Sans",
967 8, 1252},
968 {0xe6c27ffc, "Mistral", "Droid Sans Japanese,DejaVu Serif", 8, 1252},
969 {0xe7ebf4b9, "Courier", "DejaVu Sans,DejaVu Sans Condensed,FreeSerif", 0,
970 1252},
971 {0xe8bc4a9d, "MSReferenceSpecialty", "DejaVu Serif", 0, 1252},
972 {0xe90fb013, "TempusSansITC",
973 "Droid Sans Japanese,Ubuntu,Liberation Serif,FreeSerif", 0, 1252},
974 {0xec637b42, "Consolas",
975 "DejaVu Sans Condensed,AR PL UKai CN,AR PL UKai HK,AR PL UKai "
976 "TW,FreeSerif,FreeSans",
977 1, 1252},
978 {0xed3a683b, "STXinwei", "AR PL UKai HK,AR PL UMing HK,AR PL UKai CN", 0,
979 936},
980 {0xef264cd1, "LucidaHandwriting",
981 "Liberation Sans Narrow,Ubuntu Condensed,Nimbus Sans "
982 "L,KacstQurn,Liberation Mono",
983 0, 1252},
984 {0xf086bca2, "BaskervilleOldFace",
985 "KacstQurn,Droid Sans Japanese,Liberation Serif,Ubuntu,FreeSerif", 0,
986 1252},
987 {0xf1028030, "Mangal",
988 "FreeSans,TSCu_Paranar,Garuda,Liberation Sans,Liberation Sans "
989 "Narrow,Nimbus Sans ",
990 2, 1252},
991 {0xf1da7eb9, "ShowcardGothic",
992 "Droid Sans Japanese,DejaVu Serif Condensed,DejaVu Sans "
993 "Condensed,Liberation Sans,Ubuntu",
994 0, 1252},
995 {0xf210f06a, "ArialMT",
996 "Liberation Sans,Liberation Sans Narrow,FreeSans,Nimbus Sans L,Khmer OS "
997 "System,Khmer OS",
998 0, 1252},
999 {0xf477f16a, "Latha",
1000 "Liberation Sans Narrow,Nimbus Sans L,Droid Arabic "
1001 "Naskh,mry_KacstQurn,FreeSerif,Nimbus Sans ",
1002 0, 1252},
1003 {0xf616f3dd, "LiSu",
1004 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing TW,AR "
1005 "PL UMing TW MBE",
1006 1, 936},
1007 {0xfa479aa6, "MicrosoftYaHei",
1008 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
1009 "Sharp,WenQuanYi Micro Hei",
1010 0, 936},
1011 {0xfcd19697, "BookmanOldStyle",
1012 "Droid Sans Japanese,Liberation Mono,Liberation Sans,Liberation Serif", 0,
1013 1252},
1014 {0xfe209a82, "LucidaCalligraphy",
1015 "KacstQurn,Droid Arabic Naskh,Droid Sans Ethiopic,mry_KacstQurn,Droid "
1016 "Sans Japanese,DejaVu Serif,DejaVu Sans,FreeMono",
1017 0, 1252},
1018 {0xfef135f8, "AdobeHeitiStd-Regular",
1019 "WenQuanYi Zen Hei Mono,WenQuanYi Zen Hei,WenQuanYi Zen Hei "
1020 "Sharp,WenQuanYi Micro Hei",
1021 0, 936},
1022 };
1023 #elif defined(OS_MACOSX)
1024 const FGAS_FontInfo g_XFAFontsMap[] = {
1025 {0x01d5d33e, "SimSun", "STHeiti,Heiti TC,STFangsong", 0, 936},
1026 {0x01e4f102, "YouYuan", "STHeiti,Heiti TC,STFangsong", 1, 936},
1027 {0x030549dc, "LiSu", "STHeiti,Heiti TC,STFangsong", 1, 936},
1028 {0x032edd44, "Simhei", "STHeiti,Heiti TC,STFangsong", 1, 936},
1029 {0x03eac6fc, "PoorRichard-Regular",
1030 "Noteworthy,Avenir Next Condensed,Impact", 2, 1252},
1031 {0x03ed90e6, "Nina", "Microsoft Sans Serif", 0, 1252},
1032 {0x077b56b3, "KingsoftPhoneticPlain",
1033 "LastResort,Apple "
1034 "Chancery,STIXVariants,STIXSizeOneSym,STIXSizeOneSym,Apple Braille",
1035 0, 1252},
1036 {0x078ed524, "MicrosoftSansSerif", "Songti SC,Apple Symbols", 0, 1252},
1037 {0x089b18a9, "Arial", "Arial Unicode MS,Microsoft Sans Serif,Apple Symbols",
1038 0, 1252},
1039 {0x0b2cad72, "MonotypeCorsiva", "Arial Narrow,Impact", 8, 1252},
1040 {0x0bb003e7, "Kartika",
1041 "Arial Unicode MS,Microsoft Sans Serif,Arial Narrow,Damascus", 2, 1252},
1042 {0x0bb469df, "VinerHandITC", "Comic Sans MS,Songti SC,STSong", 8, 1252},
1043 {0x0bc1a851, "SegoeUI", "Apple Symbols", 0, 1252},
1044 {0x0c112ebd, "KozukaGothicPro-VIM", "Microsoft Sans Serif,Apple Symbols", 0,
1045 1252},
1046 {0x0cfcb9c1, "AdobeThai", "Avenir Next Condensed Ultra Light", 0, 847},
1047 {0x0e7de0f9, "Playbill", "STIXNonUnicode", 0, 1252},
1048 {0x0eff47c3, "STHupo", "Kaiti SC,Songti SC,STHeiti", 0, 936},
1049 {0x107ad374, "Constantia", "Arial Unicode MS,Palatino,Baskerville", 2,
1050 1252},
1051 {0x12194c2d, "KunstlerScript",
1052 "Avenir Next Condensed Demi Bold,Arial Narrow", 8, 1252},
1053 {0x135ef6a1, "MinionProSmBd", "Microsoft Sans Serif,Apple Symbols", 0,
1054 1252},
1055 {0x158c4049, "Garamond", "Impact,Arial Narrow", 2, 1252},
1056 {0x160ecb24, "STZhongsong", "STFangsong,Songti SC", 0, 936},
1057 {0x161ed07e, "MSGothic",
1058 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing "
1059 "TW,Microsoft Sans Serif,Apple Symbols",
1060 1, 1252},
1061 {0x171d1ed1, "SnapITC-Regular", "STHeiti,Arial Black", 0, 1252},
1062 {0x18d1188f, "Cambria", "Arial Unicode MS", 2, 1252},
1063 {0x18eaf350, "ArialUnicodeMS", "Microsoft Sans Serif,Apple Symbols", 0,
1064 936},
1065 {0x1a92d115, "MingLiU", "Heiti SC,STHeiti", 1, 1252},
1066 {0x1cc217c6, "TrebuchetMS", "Damascus,Impact,Arial Narrow", 0, 1252},
1067 {0x1d649596, "BasemicTimes", "Liberation Serif,Impact,Arial Narrow", 0,
1068 1252},
1069 {0x1e34ee60, "BellMT",
1070 "Papyrus,STIXNonUnicode,Microsoft Sans Serif,Avenir Light", 2, 1252},
1071 {0x1eb36945, "CooperBlack",
1072 "Marion,STIXNonUnicode,Arial Rounded MT Bold,Lucida Grande", 2, 1252},
1073 {0x1ef7787d, "BatangChe",
1074 "WenQuanYi Zen Hei Mono,AR PL UMing CN,,AR PL UMing HK,AR PL UMing TW,AR "
1075 "PL UMing TW MBE,Arial Unicode MS,Heiti TC",
1076 1, 1252},
1077 {0x20b3bd3a, "BrushScriptMT",
1078 "STIXNonUnicode,Damascus,Arial Narrow,Avenir Next Condensed,Cochin", 8,
1079 1252},
1080 {0x220877aa, "Candara", "Cochin,Baskerville,Marion", 0, 1252},
1081 {0x22135007, "FreestyleScript-Regular",
1082 "STIXNonUnicode,Nadeem,Zapf Dingbats", 8, 1252},
1083 {0x251059c3, "Chiller",
1084 "Zapf Dingbats,Damascus,STIXNonUnicode,Papyrus,KufiStandardGK,Baghdad", 0,
1085 1252},
1086 {0x25bed6dd, "MSReferenceSansSerif",
1087 "Tahoma,Apple Symbols,Apple LiGothic,Arial Unicode MS,Lucida "
1088 "Grande,Microsoft Sans Serif",
1089 0, 1252},
1090 {0x28154c81, "Parchment-Regular", "Microsoft Sans Serif,Apple Symbols", 8,
1091 1252},
1092 {0x29711eb9, "STLiti", "Kaiti SC,Songti SC", 0, 936},
1093 {0x2b1993b4, "Basemic", "Impact,Arial Narrow", 0, 1252},
1094 {0x2b316339, "NiagaraSolid-Reg", "Microsoft Sans Serif,Apple Symbols", 0,
1095 1252},
1096 {0x2c147529, "FootlightMTLight",
1097 "STIXNonUnicode,Avenir Next Condensed Heavy,PT Sans,Noteworthy", 0, 1252},
1098 {0x2c198928, "HarlowSolid",
1099 "Avenir Medium,Avenir Next Medium,Arial Unicode MS", 0, 1252},
1100 {0x2c6ac6b2, "LucidaBright",
1101 "PT Sans Narrow,Papyrus,Damascus,STIXNonUnicode,Arial Rounded MT "
1102 "Bold,Comic Sans MS,Avenir Next",
1103 2, 1252},
1104 {0x2c9f38e2, "KozukaMinchoPro-VIR", "Microsoft Sans Serif,Apple Symbols", 0,
1105 1252},
1106 {0x2d5a47b0, "STCaiyun", "Kaiti SC,Songti SC", 0, 936},
1107 {0x2def26bf, "BernardMT-Condensed",
1108 "Impact,Avenir Next Condensed Demi Bold,American Typewriter", 0, 1252},
1109 {0x2fd8930b, "KozukaMinchoPr6NR", "Microsoft Sans Serif,Apple Symbols", 0,
1110 1252},
1111 {0x3115525a, "FangSong_GB2312", "Hiragino Sans GB,STHeiti", 0, 1252},
1112 {0x31327817, "MyriadPro", "Microsoft Sans Serif,Apple Symbols", 0, 1252},
1113 {0x32244975, "Helvetica",
1114 "Arial Narrow,Arial Unicode MS,Damascus,STIXNonUnicode", 0, 1252},
1115 {0x32ac995c, "Terminal", "Microsoft Sans Serif,Apple Symbols", 0, 1252},
1116 {0x338d648a, "NiagaraEngraved-Reg", "Microsoft Sans Serif,Apple Symbols", 0,
1117 1252},
1118 {0x33bb65f2, "Sylfaen", "Arial Unicode MS,Marion", 2, 1252},
1119 {0x3402c30e, "MSPMincho", "Arial Unicode MS,Apple SD Gothic Neo", 2, 1252},
1120 {0x3412bf31, "SimSun-PUA", "STHeiti,Heiti TC,STFangsong", 0, 936},
1121 {0x36eb39b9, "BerlinSansFB", "American Typewriter,Impact", 0, 1252},
1122 {0x36f42055, "UniversATT", "Microsoft Sans Serif", 0, 1252},
1123 {0x3864c4f6, "HighTowerText", "STIXGeneral,.Helvetica Neue Desk UI", 2,
1124 1252},
1125 {0x3a257d03, "FangSong_GB2312", "Hiragino Sans GB,STHeiti", 0, 1252},
1126 {0x3cdae668, "FreestyleScript", "Nadeem,Zapf Dingbats,STIXNonUnicode", 8,
1127 1252},
1128 {0x3d55aed7, "Jokerman",
1129 "Papyrus,Lucida Grande,Heiti TC,American Typewriter", 0, 1252},
1130 {0x3d5b4385, "PMingLiU", "Heiti SC,STHeiti", 2, 1252},
1131 {0x3d9b7669, "EstrangeloEdessa", "American Typewriter,Marion", 0, 1252},
1132 {0x3e532d74, "FranklinGothicMedium", "Impact,Arial Narrow", 0, 1252},
1133 {0x3e6aa32d, "NSimSun", "STHeiti,STFangsong", 1, 936},
1134 {0x3f6c36a8, "Gautami",
1135 "Damascus,STIXNonUnicode,STIXGeneral,American Typewriter", 0, 1252},
1136 {0x3ff32662, "Chiller-Regular", "Papyrus,KufiStandardGK,Baghdad", 0, 1252},
1137 {0x409de312, "ModernNo.20", "Avenir Next Condensed,Impact", 2, 1252},
1138 {0x41443c5e, "Georgia", ".Helvetica Neue Desk UI,Arial Unicode MS", 2,
1139 1252},
1140 {0x4160ade5, "BellGothicStdBlack", "Microsoft Sans Serif,Apple Symbols", 0,
1141 1252},
1142 {0x421976c4, "Modern-Regular", "Impact", 2, 1252},
1143 {0x422a7252, "Stencil", "STIXNonUnicode,Songti SC,Georgia,Baskerville", 0,
1144 1252},
1145 {0x42c8554f, "Fixedsys", "Microsoft Sans Serif,Apple Symbols", 0, 1252},
1146 {0x435cb41d, "Roman", "Arial Narrow", 0, 1252},
1147 {0x47882383, "CourierNew", "PCMyungjo,Osaka,Arial Unicode MS,Songti SC", 1,
1148 1252},
1149 {0x480a2338, "BerlinSansFBDemi",
1150 "STIXNonUnicode,American Typewriter,Avenir Next Condensed Heavy", 0, 1252},
1151 {0x480bf7a4, "CourierStd", "Courier New", 0, 1252},
1152 {0x481ad6ed, "VladimirScript",
1153 "STIXNonUnicode,Avenir Next Condensed,Impact", 8, 1252},
1154 {0x4911577a, "YouYuan", "STHeiti,Heiti TC", 1, 936},
1155 {0x4a788d72, "STXingkai", "Kaiti SC,Songti SC", 0, 936},
1156 {0x4bf88566, "SegoeCondensed", "Microsoft Sans Serif,Apple Symbols", 0,
1157 1252},
1158 {0x4ccf51a4, "BerlinSansFB-Reg",
1159 "STIXNonUnicode,American Typewriter,Impact", 0, 1252},
1160 {0x4ea967ce, "GulimChe", "Arial Unicode MS,Heiti TC,STFangsong", 1, 1252},
1161 {0x4f68bd79, "LetterGothicStd",
1162 "Courier New,Andale Mono,Ayuthaya,PCMyungjo,Osaka", 0, 1252},
1163 {0x51a0d0e6, "KozukaGothicPr6NM", "Microsoft Sans Serif,Apple Symbols", 0,
1164 1252},
1165 {0x531b3dea, "BasemicSymbol", "Microsoft Sans Serif,Apple Symbols", 0,
1166 1252},
1167 {0x5333fd39, "CalifornianFB-Reg",
1168 "American Typewriter,Avenir Next Condensed,Impact", 2, 1252},
1169 {0x53561a54, "FZYTK--GBK1-0", "STFangsong,Songti SC,STSong", 0, 936},
1170 {0x55e0dde6, "LucidaSansTypewriter", "Menlo,Courier New,Andale Mono", 0,
1171 1252},
1172 {0x574d4d3d, "AdobeArabic", "Arial Narrow", 0, 1252},
1173 {0x5792e759, "STKaiti", "Songti SC,Arial Unicode MS", 0, 936},
1174 {0x5921978e, "LucidaSansUnicode", "Lucida Grande,Arial Unicode MS,Menlo", 0,
1175 1252},
1176 {0x594e2da4, "Vrinda", "Geeza Pro,Damascus,STIXGeneral,Gill Sans", 0, 1252},
1177 {0x59baa9a2, "KaiTi_GB2312", "Hiragino Sans GB,STHeiti", 0, 1252},
1178 {0x5cfedf4f, "BaskOldFace",
1179 "Avenir Next Condensed Heavy,PT Sans,Avenir Next Condensed", 0, 1252},
1180 {0x5e16ac91, "TrajanPro", "Arial Narrow,PT Sans Narrow,Damascus", 0, 1252},
1181 {0x5f97921c, "AdobeMyungjoStdM",
1182 "AppleMyungjo,AppleGothic,Arial Unicode MS", 0, 936},
1183 {0x5fefbfad, "Batang", "Arial Unicode MS,Songti SC", 2, 1252},
1184 {0x605342b9, "DotumChe", "Arial Unicode MS,Heiti TC", 1, 1252},
1185 {0x608c5f9a, "KaiTi_GB2312", "Hiragino Sans GB,STHeiti,Heiti TC", 0, 936},
1186 {0x61efd0d1, "MaturaMTScriptCapitals",
1187 "Kokonor,Damascus,STIXNonUnicode,STHeiti,Arial Black,Avenir Next Heavy", 0,
1188 1252},
1189 {0x626608a9, "MVBoli",
1190 "Apple Braille,Geeza Pro,Microsoft Sans Serif,Apple Symbols", 0, 1252},
1191 {0x630501a3, "SmallFonts", "Microsoft Sans Serif,Apple Symbols", 0, 1252},
1192 {0x65d0e2a9, "FZYTK--GBK1-0", "STFangsong,Songti SC,STSong", 0, 936},
1193 {0x669f29e1, "FZSTK--GBK1-0", "STHeiti,Heiti TC", 0, 936},
1194 {0x673a9e5f, "Tunga",
1195 "Damascus,STIXNonUnicode,Avenir Next Condensed,Avenir Next Condensed "
1196 "Ultra Light,Futura",
1197 0, 1252},
1198 {0x691aa4ce, "NiagaraSolid", "Microsoft Sans Serif,Apple Symbols", 0, 1252},
1199 {0x696259b7, "Corbel", "Cochin,Baskerville,Marion", 0, 1252},
1200 {0x696ee9be, "STXihei", "STHeiti,Heiti TC,Songti SC,Arial Unicode MS", 0,
1201 936},
1202 {0x6c59cf69, "Dotum", "Arial Unicode MS,Songti SC", 0, 1252},
1203 {0x707fa561, "Gungsuh", "Arial Unicode MS,Heiti TC", 2, 1252},
1204 {0x71416bb2, "ZWAdobeF",
1205 "STIXSizeFourSym,STIXSizeThreeSym,STIXSizeTwoSym,STIXSizeOneSym", 0, 1252},
1206 {0x71b41801, "Verdana",
1207 "Tahoma,Marion,Apple Symbols,.Helvetica Neue Desk UI,Lucida "
1208 "Grande,Courier New",
1209 0, 1252},
1210 {0x73f25e4c, "PalatinoLinotype", "Palatino,Arial Unicode MS", 0, 1252},
1211 {0x73f4d19f, "NiagaraEngraved", "Microsoft Sans Serif,Apple Symbols", 0,
1212 1252},
1213 {0x74001694, "MyriadProBlack", "Palatino,Baskerville,Marion,Cochin", 0,
1214 1252},
1215 {0x74b14d8f, "Haettenschweiler", "Microsoft Sans Serif,Apple Symbols", 0,
1216 1252},
1217 {0x74cb44ee, "NSimSun", "STHeiti,Heiti TC,STFangsong", 1, 936},
1218 {0x76b4d7ff, "Shruti",
1219 "Damascus,STIXNonUnicode,Arial Unicode MS,American Typewriter", 0, 1252},
1220 {0x788b3533, "Webdings", "Microsoft Sans Serif,Apple Symbols", 6, 42},
1221 {0x797dde99, "MSSerif", "Microsoft Sans Serif,Apple Symbols", 0, 1252},
1222 {0x7a0f9e9e, "MSMincho",
1223 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing TW,AR "
1224 "PL UMing TW MBE,Arial Unicode MS,Apple SD Gothic Neo",
1225 1, 1252},
1226 {0x7b439caf, "OldEnglishTextMT",
1227 "STIXNonUnicode,Arial Unicode MS,Baskerville,Avenir Next Medium", 0, 1252},
1228 {0x8213a433, "LucidaSans-Typewriter",
1229 "Comic Sans MS,Avenir Next,Arial Rounded MT Bold", 0, 1252},
1230 {0x82fec929, "AdobeSongStd", "Heiti TC,STHeiti", 0, 936},
1231 {0x83581825, "Modern", "Avenir Next Condensed,Impact", 0, 1252},
1232 {0x835a2823, "Algerian",
1233 "STIXNonUnicode,Baskerville,Avenir Next Medium,American Typewriter", 0,
1234 1252},
1235 {0x83dab9f5, "Script", "Arial Narrow", 0, 1252},
1236 {0x847b56da, "Tahoma", "Songti SC,Apple Symbols", 0, 1252},
1237 {0x8a783cb2, "SimSun-PUA", "STHeiti,Heiti TC,STFangsong", 0, 1252},
1238 {0x8b5cac0e, "Onyx", "Microsoft Sans Serif,Apple Symbols", 0, 1252},
1239 {0x8c6a499e, "Gulim", "Arial Unicode MS,Songti SC", 0, 1252},
1240 {0x8e0af790, "JuiceITC", "Nadeem,Al Bayan", 0, 1252},
1241 {0x8e8d43b2, "Centaur", "Avenir Next Condensed,Noteworthy,Impact", 2, 1252},
1242 {0x8ee4dcca, "BookshelfSymbol7", "Microsoft Sans Serif,Apple Symbols", 0,
1243 1252},
1244 {0x90794800, "BellGothicStdLight", "Microsoft Sans Serif,Apple Symbols", 0,
1245 1252},
1246 {0x909b516a, "Century", "Damascus,Andale Mono,Songti SC,Arial Unicode MS",
1247 2, 1252},
1248 {0x92ae370d, "MSOutlook", "Microsoft Sans Serif,Apple Symbols", 4, 42},
1249 {0x93c9fbf1, "LucidaFax",
1250 "PT Sans Narrow,Papyrus,Kokonor,Geeza Pro,Arial Rounded MT Bold,Lucida "
1251 "Grande,Futura",
1252 2, 1252},
1253 {0x9565085e, "BookAntiqua", "Palatino,Microsoft Sans Serif,Apple Symbols",
1254 2, 1252},
1255 {0x9856d95d, "AdobeMingStd", "AHiragino Sans GB,Heiti TC,STHeiti", 0, 949},
1256 {0x9bbadd6b, "ColonnaMT", "Noteworthy,Avenir Next Condensed,Impact", 0,
1257 1252},
1258 {0x9cbd16a4, "ShowcardGothic-Reg",
1259 "Arial Unicode MS,Georgia,American Typewriter", 0, 1252},
1260 {0x9d73008e, "MSSansSerif", "Songti SC,Apple Symbols", 0, 1252},
1261 {0xa0607db1, "GungsuhChe",
1262 "WenQuanYi Zen Hei Mono,AR PL UMing CN,AR PL UMing HK,AR PL UMing TW,AR "
1263 "PL UMing TW MBE,Arial Unicode MS,Heiti TC,STFangsong",
1264 1, 1252},
1265 {0xa0bcf6a1, "LatinWide", "Zapfino,Arial Black,STHeiti", 2, 1252},
1266 {0xa1429b36, "Symbol", "Microsoft Sans Serif,Apple Symbols", 6, 42},
1267 {0xa1fa5abc, "Wingdings2", "Microsoft Sans Serif,Apple Symbols", 6, 42},
1268 {0xa1fa5abd, "Wingdings3", "Microsoft Sans Serif,Apple Symbols", 6, 42},
1269 {0xa427bad4, "InformalRoman-Regular",
1270 "STIXNonUnicode,Arial Narrow,Avenir Next Condensed Demi Bold", 8, 1252},
1271 {0xa8b92ece, "FZSTK--GBK1-0", "STHeiti,Heiti TC,STFangsong", 0, 936},
1272 {0xa8d83ece, "CalifornianFB",
1273 "American Typewriter,Avenir Next Condensed,Impact", 2, 1252},
1274 {0xaa3e082c, "Kingsoft-Phonetic",
1275 "STIXVariants,STIXSizeOneSym,Apple Braille", 0, 1252},
1276 {0xaa6bcabe, "HarlowSolidItalic",
1277 "STIXNonUnicode,Avenir Medium,Avenir Next Medium,Arial Unicode MS", 0,
1278 1252},
1279 {0xade5337c, "MSUIGothic", "Arial Unicode MS,Apple SD Gothic Neo", 0, 1252},
1280 {0xb08dd941, "WideLatin",
1281 "Marion,Papyrus,Nanum Pen Script,Zapf Dingbats,Damascus,Zapfino,Arial "
1282 "Black,STHeiti",
1283 2, 1252},
1284 {0xb12765e0, "ITCLegacySansStdBook",
1285 "LastResort,.Helvetica Neue Desk UI,Arial Unicode MS,Palatino", 0, 1252},
1286 {0xb207f05d, "PoorRichard", "Noteworthy,Avenir Next Condensed,Impact", 2,
1287 1252},
1288 {0xb3bc492f, "JuiceITC-Regular", "Nadeem,Al Bayan,STIXNonUnicode", 0, 1252},
1289 {0xb5545399, "Marlett", "Microsoft Sans Serif,Apple Symbols", 4, 42},
1290 {0xb5dd1ebb, "BritannicBold",
1291 "Damascus,STIXNonUnicode,Avenir Next Condensed Heavy,PT Sans", 0, 1252},
1292 {0xb699c1c5, "LucidaCalligraphy-Italic", "STHeiti,Arial Black", 0, 1252},
1293 {0xb725d629, "TimesNewRoman", "Microsoft Sans Serif,Apple Symbols", 2,
1294 1252},
1295 {0xb7eaebeb, "AdobeHeitiStdR", "Heiti TC,STHeiti", 0, 936},
1296 {0xbd29c486, "BerlinSansFBDemi-Bold",
1297 "American Typewriter,Avenir Next Condensed Heavy", 0, 1252},
1298 {0xbe8a8db4, "BookshelfSymbolSeven", "Microsoft Sans Serif,Apple Symbols",
1299 0, 1252},
1300 {0xc16c0118, "AdobeHebrew",
1301 ".Helvetica Neue Desk UI,Palatino,American Typewriter", 0, 1252},
1302 {0xc318b0af, "MyriadProLight", "Palatino,Baskerville,Marion", 0, 1252},
1303 {0xc65e5659, "CambriaMath", "Arial Unicode MS", 2, 1252},
1304 {0xc75c8f05, "LucidaConsole", "Courier New,Menlo,Andale Mono", 1, 1252},
1305 {0xca7c35d6, "Calibri", "Apple Symbols,HeadLineA", 0, 1252},
1306 {0xcb053f53, "MicrosoftYaHei", "Arial Unicode MS", 0, 936},
1307 {0xcb7190f9, "Magneto-Bold", "Lucida Grande", 0, 1252},
1308 {0xcca00cc5, "System", "Microsoft Sans Serif,Apple Symbols", 0, 1252},
1309 {0xccad6f76, "Jokerman-Regular", "Lucida Grande", 0, 1252},
1310 {0xccc5818c, "EuroSign", "Microsoft Sans Serif,Apple Symbols", 0, 1252},
1311 {0xcf3d7234, "LucidaHandwriting-Italic",
1312 "Microsoft Sans Serif,Apple Symbols", 0, 1252},
1313 {0xcf7b8fdb, "MinionPro",
1314 "Bell MT,Corbel,Times New Roman,Cambria,Berlin Sans FB", 0, 1252},
1315 {0xcfe5755f, "Simhei", "STHeiti,Heiti TC,STFangsong", 1, 936},
1316 {0xd011f4ee, "MSPGothic", "Arial Unicode MS,Apple SD Gothic Neo", 0, 1252},
1317 {0xd060e7ef, "Vivaldi",
1318 "STIXNonUnicode,Arial Unicode MS,Avenir Medium,Avenir Next Medium", 8,
1319 1252},
1320 {0xd07edec1, "FranklinGothic-Medium", "Impact,Arial Narrow", 0, 1252},
1321 {0xd107243f, "SimSun", "STHeiti,Heiti TC,STFangsong", 0, 936},
1322 {0xd1881562, "ArialNarrow", "PT Sans Narrow,Apple Symbols", 0, 1252},
1323 {0xd22b7dce, "BodoniMTPosterCompressed",
1324 "Microsoft Sans Serif,Apple Symbols", 0, 1252},
1325 {0xd22bfa60, "ComicSansMS",
1326 "Damascus,Georgia,.Helvetica Neue Desk UI,Lucida Grande,Arial Unicode MS",
1327 8, 1252},
1328 {0xd3bd0e35, "Bauhaus93",
1329 "STIXNonUnicode,Arial Unicode MS,Avenir Next,Avenir", 0, 1252},
1330 {0xd429ee7a, "STFangsong", "Songti SC,Arial Unicode MS", 0, 936},
1331 {0xd6679c12, "BernardMTCondensed", "Impact,Avenir Next Condensed Demi Bold",
1332 0, 1252},
1333 {0xd8e8a027, "LucidaSans",
1334 "Arial Narrow,Khmer MN,Kokonor,Damascus,Microsoft Sans Serif,Apple "
1335 "Symbols",
1336 0, 1252},
1337 {0xd9fe7761, "HighTowerText-Reg",
1338 "STIXGeneral,.Helvetica Neue Desk UI,Trebuchet MS", 2, 1252},
1339 {0xda7e551e, "STSong", "Arial Unicode MS", 0, 936},
1340 {0xdaa6842d, "STZhongsong", "STFangsong,Songti SC,STSong", 0, 936},
1341 {0xdaaab93f, "STFangsong", "Songti SC,Arial Unicode MS", 0, 936},
1342 {0xdaeb0713, "STSong", "Songti SC,Arial Unicode MS", 0, 936},
1343 {0xdafedbef, "STCaiyun", "Kaiti SC,Songti SC,STHeiti", 0, 936},
1344 {0xdb00a3d9, "Broadway",
1345 "Papyrus,STIXNonUnicode,Arial Black,Avenir Next Heavy,Heiti TC", 0, 1252},
1346 {0xdb1f5ad4, "STXinwei", "Kaiti SC,Songti SC,STHeiti", 0, 936},
1347 {0xdb326e7f, "STKaiti", "Songti SC,Arial Unicode MS", 0, 936},
1348 {0xdb69595a, "STHupo", "Kaiti SC,Songti SC,STHeiti", 0, 936},
1349 {0xdba0082c, "STXihei", "Songti SC,Arial Unicode MS", 0, 936},
1350 {0xdbd0ab18, "STXingkai", "Kaiti SC,Songti SC", 0, 936},
1351 {0xdc1a7db1, "STLiti", "Kaiti SC,Songti SC", 0, 936},
1352 {0xdc33075f, "KristenITC-Regular",
1353 "STIXNonUnicode,Damascus,Songti SC,STSong", 8, 1252},
1354 {0xdcc7009c, "Harrington",
1355 "STIXNonUnicode,Avenir Next Condensed Heavy,Noteworthy", 0, 1252},
1356 {0xdd712466, "ArialBlack", "Geeza Pro,Damascus,Songti SC,STSong", 0, 1252},
1357 {0xdde87b3e, "Impact", "Arial Narrow,Marion", 0, 1252},
1358 {0xdf69fb32, "SnapITC",
1359 "Arial Narrow,PT Sans Narrow,Marion,STHeiti,Arial Black", 0, 1252},
1360 {0xdf8b25e8, "CenturyGothic",
1361 "Damascus,Andale Mono,Songti SC,Arial Unicode MS", 0, 1252},
1362 {0xe0f705c0, "KristenITC", "Songti SC,STSong", 8, 1252},
1363 {0xe1427573, "Raavi",
1364 "Damascus,STIXNonUnicode,Marion,Papyrus,Avenir Next Condensed "
1365 "Heavy,American Typewriter",
1366 0, 1252},
1367 {0xe2cea0cb, "Magneto",
1368 "STIXNonUnicode,Damascus,Geeza Pro,Lucida Grande,Georgia,Heiti TC", 0,
1369 1252},
1370 {0xe36a9e17, "Ravie", "STHeiti,Arial Black", 0, 1252},
1371 {0xe433f8e2, "Parchment", "Microsoft Sans Serif,Apple Symbols", 8, 1252},
1372 {0xe43dff4a, "Wingdings", "Microsoft Sans Serif,Apple Symbols", 4, 42},
1373 {0xe4e2c405, "MTExtra", "Microsoft Sans Serif,Apple Symbols", 6, 42},
1374 {0xe618cc35, "InformalRoman", "Arial Narrow", 8, 1252},
1375 {0xe6c27ffc, "Mistral", "Apple Symbols", 8, 1252},
1376 {0xe7ebf4b9, "Courier", "Courier New", 0, 1252},
1377 {0xe8bc4a9d, "MSReferenceSpecialty", "Microsoft Sans Serif,Apple Symbols",
1378 0, 1252},
1379 {0xe90fb013, "TempusSansITC",
1380 "STIXNonUnicode,Microsoft Sans Serif,Avenir Light", 0, 1252},
1381 {0xec637b42, "Consolas",
1382 "AR PL UKai CN,AR PL UKai HK,AR PL UKai TW,AR PL UKai TW MBE,AR PL UMing "
1383 "CN,AR PL UMing HK,Microsoft Sans Serif,Tahoma",
1384 1, 1252},
1385 {0xed3a683b, "STXinwei", "Kaiti SC,Songti SC,", 0, 936},
1386 {0xef264cd1, "LucidaHandwriting",
1387 "Arial Narrow,Avenir Next Condensed Demi Bold,Avenir Next "
1388 "Condensed,Avenir Next Condensed Medium,STHeiti,Arial Black",
1389 0, 1252},
1390 {0xf086bca2, "BaskervilleOldFace",
1391 "STIXNonUnicode,Avenir Next Condensed Heavy,PT Sans", 0, 1252},
1392 {0xf1028030, "Mangal",
1393 "Arial Unicode MS,Microsoft Sans Serif,Arial Narrow,Tahoma", 2, 1252},
1394 {0xf1da7eb9, "ShowcardGothic",
1395 "Papyrus,Arial Unicode MS,Georgia,American Typewriter", 0, 1252},
1396 {0xf210f06a, "ArialMT",
1397 "Arial Unicode MS,Arial Narrow,STIXNonUnicode,Damascus,Avenir Next "
1398 "Condensed Demi Bold,Avenir Next Condensed Medium,Avenir Next Condensed",
1399 0, 1252},
1400 {0xf477f16a, "Latha",
1401 "Arial Narrow,Damascus,STIXNonUnicode,American Typewriter", 0, 1252},
1402 {0xf616f3dd, "LiSu", "STHeiti,Heiti TC,STFangsong", 1, 936},
1403 {0xfa479aa6, "MicrosoftYaHei", "Arial Unicode MS", 0, 936},
1404 {0xfcd19697, "BookmanOldStyle",
1405 "Geeza Pro,Damascus,Andale Mono,Songti SC,Arial Unicode MS", 0, 1252},
1406 {0xfe209a82, "LucidaCalligraphy",
1407 "Kokonor,Damascus,STIXNonUnicode,STHeiti,Arial Black", 0, 1252},
1408 {0xfef135f8, "AdobeHeitiStd-Regular", "Heiti TC,STHeiti", 0, 936},
1409 };
1410 #elif defined(OS_ANDROID)
1411 const FGAS_FontInfo g_XFAFontsMap[] = {
1412 {0x01d5d33e, "SimSun", "Droid Sans Fallback", 0, 936},
1413 {0x01e4f102, "YouYuan", "Droid Sans Fallback", 1, 936},
1414 {0x030549dc, "LiSu", "Droid Sans Fallback", 1, 936},
1415 {0x032edd44, "Simhei", "Droid Sans Fallback", 1, 936},
1416 {0x03eac6fc, "PoorRichard-Regular",
1417 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback,Droid Arabic "
1418 "Naskh,Droid Sans Ethiopic",
1419 2, 1252},
1420 {0x03ed90e6, "Nina",
1421 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1422 {0x077b56b3, "KingsoftPhoneticPlain",
1423 "Droid Sans Thai,Droid Sans Armenian,Droid Arabic Naskh,Droid Sans "
1424 "Ethiopic,Droid Sans Fallback",
1425 0, 1252},
1426 {0x078ed524, "MicrosoftSansSerif", "Droid Sans Fallback", 0, 1252},
1427 {0x089b18a9, "Arial", "Droid Sans Fallback", 0, 1252},
1428 {0x0b2cad72, "MonotypeCorsiva",
1429 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 8, 1252},
1430 {0x0bb003e7, "Kartika",
1431 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif,Droid Sans "
1432 "Mono",
1433 2, 1252},
1434 {0x0bb469df, "VinerHandITC",
1435 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 8, 1252},
1436 {0x0bc1a851, "SegoeUI", "Droid Sans Fallback", 0, 1252},
1437 {0x0c112ebd, "KozukaGothicPro-VIM",
1438 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1439 {0x0cfcb9c1, "AdobeThai",
1440 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 847},
1441 {0x0e7de0f9, "Playbill",
1442 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif,Droid Sans "
1443 "Mono",
1444 0, 1252},
1445 {0x0eff47c3, "STHupo", "Droid Sans Fallback", 0, 936},
1446 {0x107ad374, "Constantia",
1447 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1448 {0x12194c2d, "KunstlerScript",
1449 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 8, 1252},
1450 {0x135ef6a1, "MinionProSmBd",
1451 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1452 {0x158c4049, "Garamond",
1453 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1454 {0x160ecb24, "STZhongsong", "Droid Sans Fallback", 0, 936},
1455 {0x161ed07e, "MSGothic", "Droid Sans Fallback", 1, 1252},
1456 {0x171d1ed1, "SnapITC-Regular",
1457 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1458 {0x18d1188f, "Cambria", "Droid Sans Fallback", 2, 1252},
1459 {0x18eaf350, "ArialUnicodeMS", "Droid Sans Fallback", 0, 936},
1460 {0x1a92d115, "MingLiU", "Droid Sans Fallback", 1, 1252},
1461 {0x1cc217c6, "TrebuchetMS",
1462 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1463 {0x1d649596, "BasemicTimes",
1464 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1465 {0x1e34ee60, "BellMT",
1466 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1467 {0x1eb36945, "CooperBlack",
1468 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1469 {0x1ef7787d, "BatangChe", "Droid Sans Fallback", 1, 1252},
1470 {0x20b3bd3a, "BrushScriptMT", "Droid Arabic Naskh,Droid Sans Ethiopic", 8,
1471 1252},
1472 {0x220877aa, "Candara",
1473 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1474 {0x22135007, "FreestyleScript-Regular",
1475 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 8, 1252},
1476 {0x251059c3, "Chiller",
1477 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif", 0, 1252},
1478 {0x25bed6dd, "MSReferenceSansSerif", "Droid Sans Fallback", 0, 1252},
1479 {0x28154c81, "Parchment-Regular",
1480 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 8, 1252},
1481 {0x29711eb9, "STLiti", "Droid Sans Fallback", 0, 936},
1482 {0x2b1993b4, "Basemic",
1483 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1484 {0x2b316339, "NiagaraSolid-Reg",
1485 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1486 {0x2c147529, "FootlightMTLight",
1487 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1488 {0x2c198928, "HarlowSolid",
1489 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1490 {0x2c6ac6b2, "LucidaBright",
1491 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto", 2, 1252},
1492 {0x2c9f38e2, "KozukaMinchoPro-VIR",
1493 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1494 {0x2d5a47b0, "STCaiyun", "Droid Sans Fallback", 0, 936},
1495 {0x2def26bf, "BernardMT-Condensed",
1496 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1497 {0x2fd8930b, "KozukaMinchoPr6NR",
1498 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1499 {0x3115525a, "FangSong_GB2312", "Droid Sans Fallback", 0, 1252},
1500 {0x31327817, "MyriadPro",
1501 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1502 {0x32244975, "Helvetica",
1503 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto", 0, 1252},
1504 {0x32ac995c, "Terminal",
1505 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1506 {0x338d648a, "NiagaraEngraved-Reg",
1507 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1508 {0x33bb65f2, "Sylfaen",
1509 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1510 {0x3402c30e, "MSPMincho", "Droid Sans Fallback", 2, 1252},
1511 {0x3412bf31, "SimSun-PUA", "Droid Sans Fallback", 0, 936},
1512 {0x36eb39b9, "BerlinSansFB",
1513 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1514 {0x36f42055, "UniversATT", "Microsoft Sans Serif", 0, 1252},
1515 {0x3864c4f6, "HighTowerText",
1516 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1517 {0x3a257d03, "FangSong_GB2312", "Droid Sans Fallback", 0, 1252},
1518 {0x3cdae668, "FreestyleScript",
1519 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 8, 1252},
1520 {0x3d55aed7, "Jokerman",
1521 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1522 {0x3d5b4385, "PMingLiU", "Droid Sans Fallback", 2, 1252},
1523 {0x3d9b7669, "EstrangeloEdessa",
1524 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1525 {0x3e532d74, "FranklinGothicMedium",
1526 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1527 {0x3e6aa32d, "NSimSun", "Droid Sans Fallback", 1, 936},
1528 {0x3f6c36a8, "Gautami",
1529 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif,Droid Sans "
1530 "Mono,Droid Sans Fallback",
1531 0, 1252},
1532 {0x3ff32662, "Chiller-Regular",
1533 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1534 {0x409de312, "ModernNo.20",
1535 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1536 {0x41443c5e, "Georgia",
1537 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1538 {0x4160ade5, "BellGothicStdBlack",
1539 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1540 {0x421976c4, "Modern-Regular",
1541 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1542 {0x422a7252, "Stencil",
1543 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1544 {0x42c8554f, "Fixedsys",
1545 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1546 {0x435cb41d, "Roman",
1547 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1548 {0x47882383, "CourierNew", "Droid Sans Fallback", 1, 1252},
1549 {0x480a2338, "BerlinSansFBDemi",
1550 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1551 {0x480bf7a4, "CourierStd", "Droid Sans Fallback", 0, 1252},
1552 {0x481ad6ed, "VladimirScript",
1553 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 8, 1252},
1554 {0x4911577a, "YouYuan", "Droid Sans Fallback", 1, 936},
1555 {0x4a788d72, "STXingkai", "Droid Sans Fallback", 0, 936},
1556 {0x4bf88566, "SegoeCondensed",
1557 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1558 {0x4ccf51a4, "BerlinSansFB-Reg",
1559 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1560 {0x4ea967ce, "GulimChe", "Droid Sans Fallback", 1, 1252},
1561 {0x4f68bd79, "LetterGothicStd",
1562 "Droid Sans Mono,Droid Arabic Naskh,Droid Sans Ethiopic,Droid Sans "
1563 "Mono,Droid Serif,Droid Sans Fallback",
1564 0, 1252},
1565 {0x51a0d0e6, "KozukaGothicPr6NM",
1566 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1567 {0x531b3dea, "BasemicSymbol",
1568 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1569 {0x5333fd39, "CalifornianFB-Reg",
1570 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1571 {0x53561a54, "FZYTK--GBK1-0", "Droid Sans Fallback", 0, 936},
1572 {0x55e0dde6, "LucidaSansTypewriter",
1573 "Droid Sans Mono,Droid Arabic Naskh,Droid Sans Ethiopic", 0, 1252},
1574 {0x574d4d3d, "AdobeArabic",
1575 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1576 {0x5792e759, "STKaiti", "Droid Sans Fallback", 0, 936},
1577 {0x5921978e, "LucidaSansUnicode", "Droid Sans Fallback", 0, 1252},
1578 {0x594e2da4, "Vrinda",
1579 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif,Droid Sans "
1580 "Mono",
1581 0, 1252},
1582 {0x59baa9a2, "KaiTi_GB2312", "Droid Sans Fallback", 0, 1252},
1583 {0x5cfedf4f, "BaskOldFace",
1584 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1585 {0x5f97921c, "AdobeMyungjoStdM", "Droid Sans Fallback", 0, 936},
1586 {0x5fefbfad, "Batang", "Droid Sans Fallback", 2, 1252},
1587 {0x605342b9, "DotumChe", "Droid Sans Fallback", 1, 1252},
1588 {0x608c5f9a, "KaiTi_GB2312", "Droid Sans Fallback", 0, 936},
1589 {0x61efd0d1, "MaturaMTScriptCapitals",
1590 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto,Droid Sans "
1591 "Mono",
1592 0, 1252},
1593 {0x626608a9, "MVBoli",
1594 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto,Droid Sans "
1595 "Mono",
1596 0, 1252},
1597 {0x630501a3, "SmallFonts",
1598 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1599 {0x65d0e2a9, "FZYTK--GBK1-0", "Droid Sans Fallback", 0, 936},
1600 {0x669f29e1, "FZSTK--GBK1-0", "Droid Sans Fallback", 0, 936},
1601 {0x673a9e5f, "Tunga",
1602 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif,Droid Sans "
1603 "Mono,Droid Sans Fallback",
1604 0, 1252},
1605 {0x691aa4ce, "NiagaraSolid",
1606 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1607 {0x696259b7, "Corbel",
1608 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1609 {0x696ee9be, "STXihei", "Droid Sans Fallback", 0, 936},
1610 {0x6c59cf69, "Dotum", "Droid Sans Fallback", 0, 1252},
1611 {0x707fa561, "Gungsuh", "Droid Sans Fallback", 2, 1252},
1612 {0x71416bb2, "ZWAdobeF",
1613 "Droid Arabic Naskh,Droid Sans Armenian,Droid Sans Ethiopic,Droid Sans "
1614 "Georgian,Droid Sans Hebrew,Droid Sans Thai",
1615 0, 1252},
1616 {0x71b41801, "Verdana",
1617 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1618 {0x73f25e4c, "PalatinoLinotype", "Droid Sans Fallback", 0, 1252},
1619 {0x73f4d19f, "NiagaraEngraved",
1620 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1621 {0x74001694, "MyriadProBlack", "Book Antiqua,Constantia,Dotum,Georgia", 0,
1622 1252},
1623 {0x74b14d8f, "Haettenschweiler",
1624 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1625 {0x74cb44ee, "NSimSun", "Droid Sans Fallback", 1, 936},
1626 {0x76b4d7ff, "Shruti",
1627 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif,Droid Sans "
1628 "Mono",
1629 0, 1252},
1630 {0x788b3533, "Webdings",
1631 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 6, 42},
1632 {0x797dde99, "MSSerif",
1633 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1634 {0x7a0f9e9e, "MSMincho", "Droid Sans Fallback", 1, 1252},
1635 {0x7b439caf, "OldEnglishTextMT",
1636 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1637 {0x8213a433, "LucidaSans-Typewriter",
1638 "Droid Sans Mono,Droid Serif,Roboto,Droid Sans Fallback", 0, 1252},
1639 {0x82fec929, "AdobeSongStd", "Droid Sans Fallback", 0, 936},
1640 {0x83581825, "Modern",
1641 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1642 {0x835a2823, "Algerian",
1643 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1644 {0x83dab9f5, "Script",
1645 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1646 {0x847b56da, "Tahoma", "Droid Sans Fallback", 0, 1252},
1647 {0x8a783cb2, "SimSun-PUA", "Droid Sans Fallback", 0, 1252},
1648 {0x8b5cac0e, "Onyx",
1649 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1650 {0x8c6a499e, "Gulim", "Droid Sans Fallback", 0, 1252},
1651 {0x8e0af790, "JuiceITC",
1652 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1653 {0x8e8d43b2, "Centaur",
1654 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1655 {0x8ee4dcca, "BookshelfSymbol7",
1656 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1657 {0x90794800, "BellGothicStdLight",
1658 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1659 {0x909b516a, "Century",
1660 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1661 {0x92ae370d, "MSOutlook",
1662 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 4, 42},
1663 {0x93c9fbf1, "LucidaFax",
1664 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto,Droid Sans "
1665 "Mono",
1666 2, 1252},
1667 {0x9565085e, "BookAntiqua",
1668 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1669 {0x9856d95d, "AdobeMingStd", "Droid Sans Fallback", 0, 949},
1670 {0x9bbadd6b, "ColonnaMT",
1671 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1672 {0x9cbd16a4, "ShowcardGothic-Reg",
1673 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallbac", 0, 1252},
1674 {0x9d73008e, "MSSansSerif",
1675 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1676 {0xa0607db1, "GungsuhChe", "Droid Sans Fallback", 1, 1252},
1677 {0xa0bcf6a1, "LatinWide",
1678 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1679 {0xa1429b36, "Symbol",
1680 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 6, 42},
1681 {0xa1fa5abc, "Wingdings2",
1682 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 6, 42},
1683 {0xa1fa5abd, "Wingdings3",
1684 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 6, 42},
1685 {0xa427bad4, "InformalRoman-Regular",
1686 "Droid Arabic Naskh,Droid Sans Ethiopic", 8, 1252},
1687 {0xa8b92ece, "FZSTK--GBK1-0", "Droid Sans Fallback", 0, 936},
1688 {0xa8d83ece, "CalifornianFB",
1689 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1690 {0xaa3e082c, "Kingsoft-Phonetic",
1691 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1692 {0xaa6bcabe, "HarlowSolidItalic",
1693 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1694 {0xade5337c, "MSUIGothic",
1695 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1696 {0xb08dd941, "WideLatin",
1697 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto,Droid Sans "
1698 "Mono",
1699 2, 1252},
1700 {0xb207f05d, "PoorRichard",
1701 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1702 {0xb3bc492f, "JuiceITC-Regular",
1703 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1704 {0xb5545399, "Marlett",
1705 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 4, 42},
1706 {0xb5dd1ebb, "BritannicBold", "Droid Arabic Naskh,Droid Sans Ethiopic", 0,
1707 1252},
1708 {0xb699c1c5, "LucidaCalligraphy-Italic",
1709 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1710 {0xb725d629, "TimesNewRoman", "Droid Sans Fallback", 2, 1252},
1711 {0xb7eaebeb, "AdobeHeitiStdR", "Droid Sans Fallback", 0, 936},
1712 {0xbd29c486, "BerlinSansFBDemi-Bold",
1713 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1714 {0xbe8a8db4, "BookshelfSymbolSeven",
1715 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1716 {0xc16c0118, "AdobeHebrew",
1717 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback,Droid Arabic "
1718 "Naskh,Droid Sans Ethiopic",
1719 0, 1252},
1720 {0xc318b0af, "MyriadProLight",
1721 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1722 {0xc65e5659, "CambriaMath", "Droid Sans Fallback", 2, 1252},
1723 {0xc75c8f05, "LucidaConsole",
1724 "Droid Sans Mono,Droid Serif,Roboto,Droid Sans Fallback", 1, 1252},
1725 {0xca7c35d6, "Calibri", "Droid Sans Fallback", 0, 1252},
1726 {0xcb053f53, "MicrosoftYaHei", "Droid Sans Fallback", 0, 936},
1727 {0xcb7190f9, "Magneto-Bold",
1728 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1729 {0xcca00cc5, "System",
1730 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1731 {0xccad6f76, "Jokerman-Regular",
1732 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1733 {0xccc5818c, "EuroSign",
1734 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1735 {0xcf3d7234, "LucidaHandwriting-Italic",
1736 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1737 {0xcf7b8fdb, "MinionPro",
1738 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1739 {0xcfe5755f, "Simhei", "Droid Sans Fallback", 1, 936},
1740 {0xd011f4ee, "MSPGothic", "Droid Sans Fallback", 0, 1252},
1741 {0xd060e7ef, "Vivaldi",
1742 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 8, 1252},
1743 {0xd07edec1, "FranklinGothic-Medium",
1744 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1745 {0xd107243f, "SimSun", "Droid Sans Fallback", 0, 936},
1746 {0xd1881562, "ArialNarrow",
1747 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1748 {0xd22b7dce, "BodoniMTPosterCompressed",
1749 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1750 {0xd22bfa60, "ComicSansMS", "Droid Serif,Roboto,Droid Sans Fallback", 8,
1751 1252},
1752 {0xd3bd0e35, "Bauhaus93",
1753 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1754 {0xd429ee7a, "STFangsong", "Droid Sans Fallback", 0, 936},
1755 {0xd6679c12, "BernardMTCondensed",
1756 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1757 {0xd8e8a027, "LucidaSans",
1758 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto", 0, 1252},
1759 {0xd9fe7761, "HighTowerText-Reg",
1760 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 2, 1252},
1761 {0xda7e551e, "STSong", "Droid Sans Fallback", 0, 936},
1762 {0xdaa6842d, "STZhongsong", "Droid Sans Fallback", 0, 936},
1763 {0xdaaab93f, "STFangsong", "Droid Sans Fallback", 0, 936},
1764 {0xdaeb0713, "STSong",
1765 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 936},
1766 {0xdafedbef, "STCaiyun", "Droid Sans Fallback", 0, 936},
1767 {0xdb00a3d9, "Broadway",
1768 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1769 {0xdb1f5ad4, "STXinwei", "Droid Sans Fallback", 0, 936},
1770 {0xdb326e7f, "STKaiti", "Droid Sans Fallback", 0, 936},
1771 {0xdb69595a, "STHupo", "Droid Sans Fallback", 0, 936},
1772 {0xdba0082c, "STXihei", "Droid Sans Fallback", 0, 936},
1773 {0xdbd0ab18, "STXingkai", "Droid Sans Fallback", 0, 936},
1774 {0xdc1a7db1, "STLiti", "Droid Sans Fallback", 0, 936},
1775 {0xdc33075f, "KristenITC-Regular",
1776 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto", 8, 1252},
1777 {0xdcc7009c, "Harrington",
1778 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1779 {0xdd712466, "ArialBlack",
1780 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1781 {0xdde87b3e, "Impact",
1782 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1783 {0xdf69fb32, "SnapITC",
1784 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto,Droid Sans "
1785 "Mono",
1786 0, 1252},
1787 {0xdf8b25e8, "CenturyGothic",
1788 "Droid Serif,Roboto,Droid Serif,Droid Sans Mono", 0, 1252},
1789 {0xe0f705c0, "KristenITC",
1790 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto", 8, 1252},
1791 {0xe1427573, "Raavi",
1792 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif,Droid Sans "
1793 "Mono",
1794 0, 1252},
1795 {0xe2cea0cb, "Magneto",
1796 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto,Droid Sans "
1797 "Mono",
1798 0, 1252},
1799 {0xe36a9e17, "Ravie",
1800 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif,Droid Sans "
1801 "Mono",
1802 0, 1252},
1803 {0xe433f8e2, "Parchment",
1804 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 8, 1252},
1805 {0xe43dff4a, "Wingdings",
1806 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 4, 42},
1807 {0xe4e2c405, "MTExtra",
1808 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 6, 42},
1809 {0xe618cc35, "InformalRoman",
1810 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif", 8, 1252},
1811 {0xe6c27ffc, "Mistral",
1812 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 8, 1252},
1813 {0xe7ebf4b9, "Courier", "Droid Sans Fallback", 0, 1252},
1814 {0xe8bc4a9d, "MSReferenceSpecialty",
1815 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1816 {0xe90fb013, "TempusSansITC",
1817 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1818 {0xec637b42, "Consolas", "Droid Sans Fallback", 1, 1252},
1819 {0xed3a683b, "STXinwei", "Droid Sans Fallback", 0, 936},
1820 {0xef264cd1, "LucidaHandwriting",
1821 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto,Droid Sans "
1822 "Mono",
1823 0, 1252},
1824 {0xf086bca2, "BaskervilleOldFace",
1825 "Roboto,Droid Serif,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1826 {0xf1028030, "Mangal",
1827 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto,Droid Sans "
1828 "Mono",
1829 2, 1252},
1830 {0xf1da7eb9, "ShowcardGothic",
1831 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallbac", 0, 1252},
1832 {0xf210f06a, "ArialMT",
1833 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif", 0, 1252},
1834 {0xf477f16a, "Latha",
1835 "Droid Arabic Naskh,Droid Sans Ethiopic,Roboto,Droid Serif,Droid Sans "
1836 "Mono",
1837 0, 1252},
1838 {0xf616f3dd, "LiSu", "Droid Sans Fallback", 1, 936},
1839 {0xfa479aa6, "MicrosoftYaHei", "Droid Sans Fallback", 0, 936},
1840 {0xfcd19697, "BookmanOldStyle",
1841 "Droid Serif,Roboto,Droid Sans Mono,Droid Sans Fallback", 0, 1252},
1842 {0xfe209a82, "LucidaCalligraphy",
1843 "Droid Arabic Naskh,Droid Sans Ethiopic,Droid Serif,Roboto,Droid Sans "
1844 "Mono",
1845 0, 1252},
1846 {0xfef135f8, "AdobeHeitiStd-Regular", "Droid Sans Fallback", 0, 936},
1847 };
1848 #endif
1849
1850 } // namespace
1851
FGAS_GetUnicodeBitField(wchar_t unicode)1852 const FGAS_FONTUSB* FGAS_GetUnicodeBitField(wchar_t unicode) {
1853 // This search is trying to find the entry where the unicode character falls
1854 // bewtween start and end. std::upper_bound needs to be used here instead of
1855 // lower_bound, because they return the first value that meets the
1856 // requirement, as though they are linearly searching. For lower_bound this
1857 // means the first element less then the value, and for upper_bound this means
1858 // the first element greater then the value. Since the entries are sorted in
1859 // ascending order, the correct entry is the first one with an end greater,
1860 // aka after, the value.
1861 auto* result = std::upper_bound(
1862 std::begin(g_FXGdiFontUSBTable), std::end(g_FXGdiFontUSBTable), unicode,
1863 [](const wchar_t unicode, const FGAS_FONTUSB& iter) {
1864 return iter.wEndUnicode > unicode;
1865 });
1866 if (result != std::end(g_FXGdiFontUSBTable) &&
1867 result->wStartUnicode <= unicode && result->wEndUnicode >= unicode)
1868 return result;
1869 return nullptr;
1870 }
1871
FGAS_FontNameToEnglishName(WideStringView wsLocalName)1872 WideString FGAS_FontNameToEnglishName(WideStringView wsLocalName) {
1873 uint32_t dwLocalNameHash = FX_HashCode_GetW(wsLocalName, true);
1874 const FGAS_FontInfo* pEnd = g_XFAFontsMap + FX_ArraySize(g_XFAFontsMap);
1875 const FGAS_FontInfo* pFontInfo =
1876 std::lower_bound(g_XFAFontsMap, pEnd, dwLocalNameHash,
1877 [](const FGAS_FontInfo& entry, uint32_t hash) {
1878 return entry.dwFontNameHash < hash;
1879 });
1880 if (pFontInfo < pEnd && pFontInfo->dwFontNameHash == dwLocalNameHash)
1881 return WideString::FromASCII(ByteStringView(pFontInfo->pPsName));
1882 return WideString(wsLocalName);
1883 }
1884
FGAS_FontInfoByFontName(WideStringView wsFontName)1885 const FGAS_FontInfo* FGAS_FontInfoByFontName(WideStringView wsFontName) {
1886 WideString wsFontNameTemp(wsFontName);
1887 wsFontNameTemp.Remove(L' ');
1888 uint32_t dwCurFontNameHash =
1889 FX_HashCode_GetW(wsFontNameTemp.AsStringView(), true);
1890 const FGAS_FontInfo* pEnd = g_XFAFontsMap + FX_ArraySize(g_XFAFontsMap);
1891 const FGAS_FontInfo* pFontInfo =
1892 std::lower_bound(g_XFAFontsMap, pEnd, dwCurFontNameHash,
1893 [](const FGAS_FontInfo& entry, uint32_t hash) {
1894 return entry.dwFontNameHash < hash;
1895 });
1896 if (pFontInfo < pEnd && pFontInfo->dwFontNameHash == dwCurFontNameHash)
1897 return pFontInfo;
1898 return nullptr;
1899 }
1900