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