1 #pragma once 2 3 MUI_SUBFONT LatinFonts[] = 4 { 5 /*Font Substitute */ 6 { L"Arial", L"Liberation Sans" }, 7 { L"Courier", L"FreeMono" }, 8 { L"Courier New", L"FreeMono" }, 9 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" }, 10 { L"Franklin Gothic Medium", L"Libre Franklin Bold" }, 11 { L"Helv", L"Tahoma" }, 12 { L"Helvetica", L"Liberation Sans" }, 13 { L"Lucida Console", L"DejaVu Sans Mono" }, 14 { L"MS Sans Serif", L"Tahoma" }, 15 { L"MS Shell Dlg", L"Tahoma" }, 16 { L"MS Shell Dlg 2", L"Tahoma" }, 17 { L"Tahoma", L"Tahoma" }, 18 { L"Terminal", L"DejaVu Sans Mono" }, 19 { L"Times", L"Liberation Serif" }, 20 { L"Times New Roman", L"Liberation Serif" }, 21 { L"Tms Rmn", L"Liberation Serif" }, 22 { L"Trebuchet MS", L"Open Sans" }, 23 { L"System", L"FreeSans" }, 24 { L"Comic Sans MS", L"Ubuntu" }, 25 { L"Georgia", L"FreeSerif" }, 26 { L"Palatino Linotype", L"DejaVu Serif" }, 27 { NULL, NULL } 28 }; 29 30 MUI_SUBFONT CyrillicFonts[] = 31 { 32 { L"Arial", L"Liberation Sans" }, 33 { L"Courier", L"FreeMono" }, 34 { L"Courier New", L"FreeMono" }, 35 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" }, 36 { L"Franklin Gothic Medium", L"Libre Franklin" }, 37 { L"Helv", L"Tahoma" }, 38 { L"Helvetica", L"Liberation Sans" }, 39 { L"Lucida Console", L"DejaVu Sans Mono" }, 40 { L"MS Sans Serif", L"Tahoma" }, 41 { L"MS Shell Dlg", L"Tahoma" }, 42 { L"MS Shell Dlg 2", L"Tahoma" }, 43 { L"Tahoma", L"Tahoma" }, 44 { L"Terminal", L"DejaVu Sans Mono" }, 45 { L"Times", L"Liberation Serif" }, 46 { L"Times New Roman", L"Liberation Serif" }, 47 { L"Tms Rmn", L"Liberation Serif" }, 48 { L"Trebuchet MS", L"Open Sans" }, 49 { L"System", L"FreeSans" }, 50 { L"Comic Sans MS", L"Ubuntu" }, 51 { L"Georgia", L"FreeSerif" }, 52 { L"Palatino Linotype", L"DejaVu Serif" }, 53 { NULL, NULL } 54 }; 55 56 MUI_SUBFONT GreekFonts[] = 57 { 58 { L"Arial", L"Liberation Sans" }, 59 { L"Courier", L"FreeMono" }, 60 { L"Courier New", L"FreeMono" }, 61 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" }, 62 { L"Franklin Gothic Medium", L"Libre Franklin" }, 63 { L"Helv", L"DejaVu Sans" }, 64 { L"Helvetica", L"Liberation Sans" }, 65 { L"Lucida Console", L"DejaVu Sans Mono" }, 66 { L"MS Sans Serif", L"DejaVu Sans" }, 67 { L"MS Shell Dlg", L"DejaVu Sans" }, 68 { L"MS Shell Dlg 2", L"DejaVu Sans" }, 69 { L"Tahoma", L"DejaVu Sans" }, 70 { L"Terminal", L"DejaVu Sans Mono" }, 71 { L"Times", L"Liberation Serif" }, 72 { L"Times New Roman", L"Liberation Serif" }, 73 { L"Tms Rmn", L"Liberation Serif" }, 74 { L"Trebuchet MS", L"Open Sans" }, 75 { L"System", L"FreeSans" }, 76 { L"Comic Sans MS", L"Ubuntu" }, 77 { L"Georgia", L"FreeSerif" }, 78 { L"Palatino Linotype", L"DejaVu Serif" }, 79 { NULL, NULL } 80 }; 81 82 MUI_SUBFONT HebrewFonts[] = 83 { 84 { L"Arial", L"DejaVu Sans" }, 85 { L"Courier", L"FreeMono" }, 86 { L"Courier New", L"FreeMono" }, 87 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" }, 88 { L"Franklin Gothic Medium", L"Libre Franklin" }, 89 { L"Helv", L"Tahoma" }, 90 { L"Helvetica", L"Tahoma" }, 91 { L"Lucida Console", L"DejaVu Sans Mono" }, 92 { L"MS Sans Serif", L"Tahoma" }, 93 { L"MS Shell Dlg", L"Tahoma" }, 94 { L"MS Shell Dlg 2", L"Tahoma" }, 95 { L"Tahoma", L"Tahoma" }, 96 { L"Terminal", L"DejaVu Sans Mono" }, 97 { L"Times", L"DejaVu Serif" }, 98 { L"Times New Roman", L"DejaVu Serif" }, 99 { L"Tms Rmn", L"DejaVu Serif" }, 100 { L"Trebuchet MS", L"Open Sans" }, 101 { L"System", L"FreeSans" }, 102 { L"Comic Sans MS", L"Ubuntu" }, 103 { L"Georgia", L"FreeSerif" }, 104 { L"Palatino Linotype", L"DejaVu Serif" }, 105 { L"Ubuntu", L"Tahoma" }, 106 { NULL, NULL } 107 }; 108 109 WCHAR CSF_LocalName0[] = {0x5B8B, 0x4F53, 0}; /* SimSun */ 110 WCHAR CSF_LocalName1[] = {0x4E2D, 0x6613, 0x5B8B, 0x4F53, 0}; /* SimSun */ 111 WCHAR CSF_LocalName2[] = {0x65B0, 0x5B8B, 0x4F53, 0}; /* NSimSun */ 112 WCHAR CSF_LocalName3[] = {0xFC4B, 0x91CC, 0}; /* SimHei */ 113 WCHAR CSF_LocalName4[] = {'M', 'S', 0x5B8B, 0x4F53, 0}; /* MS Song */ 114 MUI_SUBFONT ChineseSimplifiedFonts[] = 115 { 116 { L"Arial", L"Liberation Sans" }, 117 { L"Courier", L"FreeMono" }, 118 { L"Courier New", L"FreeMono" }, 119 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" }, 120 { L"Franklin Gothic Medium", L"Droid Sans Fallback" }, 121 { L"Helv", L"Droid Sans Fallback" }, 122 { L"Helvetica", L"Liberation Sans" }, 123 { L"Lucida Console", L"DejaVu Sans Mono" }, 124 { L"MS Sans Serif", L"Droid Sans Fallback" }, 125 { L"MS Shell Dlg", L"Droid Sans Fallback" }, 126 { L"MS Shell Dlg 2", L"Droid Sans Fallback" }, 127 { L"MS UI Gothic", L"Droid Sans Fallback" }, 128 { L"MS UI Gothic 2", L"Droid Sans Fallback" }, 129 { L"Tahoma", L"Droid Sans Fallback" }, 130 { L"Terminal", L"DejaVu Sans Mono" }, 131 { L"Times", L"Liberation Serif" }, 132 { L"Times New Roman", L"Liberation Serif" }, 133 { L"Tms Rmn", L"Liberation Serif" }, 134 { L"Trebuchet MS", L"Droid Sans Fallback" }, 135 { L"SimSun", L"Droid Sans Fallback" }, 136 { L"NSimSun", L"Droid Sans Fallback" }, 137 { L"SimHei", L"Droid Sans Fallback" }, 138 { L"MS Song", L"Droid Sans Fallback" }, 139 { L"System", L"Droid Sans Fallback" }, 140 { L"Comic Sans MS", L"Ubuntu" }, 141 { L"Georgia", L"FreeSerif" }, 142 { L"Palatino Linotype", L"DejaVu Serif" }, 143 { L"Ubuntu", L"Droid Sans Fallback" }, 144 /* localized names */ 145 { CSF_LocalName0, L"Droid Sans Fallback" }, 146 { CSF_LocalName1, L"Droid Sans Fallback" }, 147 { CSF_LocalName2, L"Droid Sans Fallback" }, 148 { CSF_LocalName3, L"Droid Sans Fallback" }, 149 { CSF_LocalName4, L"Droid Sans Fallback" }, 150 { NULL, NULL } 151 }; 152 153 WCHAR CTF_LocalName0[] = {0x7D30, 0x660E, 0x9AD4, 0}; /* MingLiU */ 154 WCHAR CTF_LocalName1[] = {0x65B0, 0x7D30, 0x660E, 0x9AD4, 0}; /* PMingLiU */ 155 WCHAR CTF_LocalName2[] = {0x83EF, 0x5EB7, 0x4E2D, 0x660E, 0x9AD4, 0}; /* DLCMingMedium */ 156 WCHAR CTF_LocalName3[] = {0x83EF, 0x5EB7, 0x7C97, 0x660E, 0x9AD4, 0}; /* DLCMingBold */ 157 MUI_SUBFONT ChineseTraditionalFonts[] = 158 { 159 { L"Arial", L"Liberation Sans" }, 160 { L"Courier", L"FreeMono" }, 161 { L"Courier New", L"FreeMono" }, 162 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" }, 163 { L"Helv", L"Droid Sans Fallback" }, 164 { L"Helvetica", L"Liberation Sans" }, 165 { L"Lucida Console", L"DejaVu Sans Mono" }, 166 { L"MS Sans Serif", L"Droid Sans Fallback" }, 167 { L"MS Shell Dlg", L"Droid Sans Fallback" }, 168 { L"MS Shell Dlg 2", L"Droid Sans Fallback" }, 169 { L"MS UI Gothic", L"Droid Sans Fallback" }, 170 { L"MS UI Gothic 2", L"Droid Sans Fallback" }, 171 { L"Tahoma", L"Droid Sans Fallback" }, 172 { L"Terminal", L"DejaVu Sans Mono" }, 173 { L"Times", L"Liberation Serif" }, 174 { L"Times New Roman", L"Liberation Serif" }, 175 { L"Tms Rmn", L"Liberation Serif" }, 176 { L"Trebuchet MS", L"Droid Sans Fallback" }, 177 { L"Ming Light", L"Droid Sans Fallback" }, 178 { L"MingLiU", L"Droid Sans Fallback" }, 179 { L"PMingLiU", L"Droid Sans Fallback" }, 180 { L"DLCMingMedium", L"Droid Sans Fallback" }, 181 { L"DLCMingBold", L"Droid Sans Fallback" }, 182 { L"System", L"Droid Sans Fallback" }, 183 { L"Comic Sans MS", L"Ubuntu" }, 184 { L"Franklin Gothic Medium", L"Droid Sans Fallback" }, 185 { L"Georgia", L"FreeSerif" }, 186 { L"Palatino Linotype", L"DejaVu Serif" }, 187 { L"Ubuntu", L"Droid Sans Fallback" }, 188 /* localized names */ 189 { CTF_LocalName0, L"Droid Sans Fallback" }, 190 { CTF_LocalName1, L"Droid Sans Fallback" }, 191 { CTF_LocalName2, L"Droid Sans Fallback" }, 192 { CTF_LocalName3, L"Droid Sans Fallback" }, 193 { NULL, NULL } 194 }; 195 196 WCHAR JF_LocalName0[] = {0xFF2D, 0xFF33, ' ', 0x660E, 0x671D, 0}; /* MS Mincho */ 197 WCHAR JF_LocalName1[] = {0xFF2D, 0xFF33, ' ', 0xFF30, 0x660E, 0x671D, 0}; /* MS PMincho */ 198 WCHAR JF_LocalName2[] = {0xFF2D, 0xFF33, ' ', 0x30B4, 0x30B7, 0x30C3, 0x30AF, 0}; /* MS Gothic */ 199 WCHAR JF_LocalName3[] = {0xFF2D, 0xFF33, ' ', 0xFF30, 0x30B4, 0x30B7, 0x30C3, 0x30AF, 0}; /* MS PGothic */ 200 MUI_SUBFONT JapaneseFonts[] = 201 { 202 { L"Arial", L"Liberation Sans" }, 203 { L"Courier", L"FreeMono" }, 204 { L"Courier New", L"FreeMono" }, 205 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" }, 206 { L"Helv", L"Droid Sans Fallback" }, 207 { L"Helvetica", L"Liberation Sans" }, 208 { L"Lucida Console", L"DejaVu Sans Mono" }, 209 { L"MS Sans Serif", L"Droid Sans Fallback" }, 210 { L"MS Shell Dlg", L"Droid Sans Fallback" }, 211 { L"MS Shell Dlg 2", L"Droid Sans Fallback" }, 212 { L"MS UI Gothic", L"Droid Sans Fallback" }, 213 { L"MS UI Gothic 2", L"Droid Sans Fallback" }, 214 { L"Tahoma", L"Droid Sans Fallback" }, 215 { L"Terminal", L"DejaVu Sans Mono" }, 216 { L"Times", L"Liberation Serif" }, 217 { L"Times New Roman", L"Liberation Serif" }, 218 { L"Tms Rmn", L"Liberation Serif" }, 219 { L"Trebuchet MS", L"Droid Sans Fallback" }, 220 { L"MS Mincho", L"Droid Sans Fallback" }, 221 { L"MS PMincho", L"Droid Sans Fallback" }, 222 { L"MS Gothic", L"Droid Sans Fallback" }, 223 { L"MS PGothic", L"Droid Sans Fallback" }, 224 { L"System", L"Droid Sans Fallback" }, 225 { L"Comic Sans MS", L"Ubuntu" }, 226 { L"Franklin Gothic Medium", L"Droid Sans Fallback" }, 227 { L"Georgia", L"FreeSerif" }, 228 { L"Palatino Linotype", L"DejaVu Serif" }, 229 { L"Ubuntu", L"Droid Sans Fallback" }, 230 /* localized names */ 231 { JF_LocalName0, L"Droid Sans Fallback" }, 232 { JF_LocalName1, L"Droid Sans Fallback" }, 233 { JF_LocalName2, L"Droid Sans Fallback" }, 234 { JF_LocalName3, L"Droid Sans Fallback" }, 235 { NULL, NULL } 236 }; 237 238 WCHAR KF_LocalName0[] = {0xBC14, 0xD0D5, 0}; /* Batang */ 239 WCHAR KF_LocalName1[] = {0xBC14, 0xD0D5, 0xCCB4, 0}; /* BatangChe */ 240 WCHAR KF_LocalName2[] = {0xAD81, 0xC11C, 0}; /* Gungsuh */ 241 WCHAR KF_LocalName3[] = {0xAD81, 0xC11C, 0xCCB4, 0}; /* GungsuhChe */ 242 WCHAR KF_LocalName4[] = {0xAD74, 0xB9BC, 0}; /* Gulim */ 243 WCHAR KF_LocalName5[] = {0xAD74, 0xB9BC, 0xCCB4, 0}; /* GulimChe */ 244 MUI_SUBFONT KoreanFonts[] = 245 { 246 { L"Arial", L"Liberation Sans" }, 247 { L"Courier", L"FreeMono" }, 248 { L"Courier New", L"FreeMono" }, 249 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" }, 250 { L"Helv", L"Droid Sans Fallback" }, 251 { L"Helvetica", L"Liberation Sans" }, 252 { L"Lucida Console", L"DejaVu Sans Mono" }, 253 { L"MS Sans Serif", L"Droid Sans Fallback" }, 254 { L"MS Shell Dlg", L"Droid Sans Fallback" }, 255 { L"MS Shell Dlg 2", L"Droid Sans Fallback" }, 256 { L"MS UI Gothic", L"Droid Sans Fallback" }, 257 { L"MS UI Gothic 2", L"Droid Sans Fallback" }, 258 { L"Tahoma", L"Droid Sans Fallback" }, 259 { L"Terminal", L"DejaVu Sans Mono" }, 260 { L"Times", L"Liberation Serif" }, 261 { L"Times New Roman", L"Liberation Serif" }, 262 { L"Tms Rmn", L"Liberation Serif" }, 263 { L"Trebuchet MS", L"Droid Sans Fallback" }, 264 { L"Batang", L"Droid Sans Fallback" }, 265 { L"BatangChe", L"Droid Sans Fallback" }, 266 { L"Gungsuh", L"Droid Sans Fallback" }, 267 { L"GungsuhChe", L"Droid Sans Fallback" }, 268 { L"Gulim", L"Droid Sans Fallback" }, 269 { L"GulimChe", L"Droid Sans Fallback" }, 270 { L"System", L"Droid Sans Fallback" }, 271 { L"Comic Sans MS", L"Ubuntu" }, 272 { L"Franklin Gothic Medium", L"Droid Sans Fallback" }, 273 { L"Georgia", L"FreeSerif" }, 274 { L"Palatino Linotype", L"DejaVu Serif" }, 275 { L"Ubuntu", L"Droid Sans Fallback" }, 276 /* localized names */ 277 { KF_LocalName0, L"Droid Sans Fallback" }, 278 { KF_LocalName1, L"Droid Sans Fallback" }, 279 { KF_LocalName2, L"Droid Sans Fallback" }, 280 { KF_LocalName3, L"Droid Sans Fallback" }, 281 { KF_LocalName4, L"Droid Sans Fallback" }, 282 { KF_LocalName5, L"Droid Sans Fallback" }, 283 { NULL, NULL } 284 }; 285 286 MUI_SUBFONT UnicodeFonts[] = 287 { 288 { L"Arial", L"DejaVu Sans" }, 289 { L"Courier", L"DejaVu Sans Mono" }, 290 { L"Courier New", L"DejaVu Sans Mono" }, 291 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" }, 292 { L"Franklin Gothic Medium", L"Libre Franklin Bold" }, 293 { L"Helv", L"DejaVu Sans" }, 294 { L"Helvetica", L"DejaVu Sans" }, 295 { L"Lucida Console", L"DejaVu Sans Mono" }, 296 { L"MS Sans Serif", L"DejaVu Sans" }, 297 { L"MS Shell Dlg", L"DejaVu Sans" }, 298 { L"MS Shell Dlg 2", L"DejaVu Sans" }, 299 { L"Tahoma", L"DejaVu Sans" }, 300 { L"Terminal", L"DejaVu Sans Mono" }, 301 { L"Times", L"DejaVu Serif" }, 302 { L"Times New Roman", L"DejaVu Serif" }, 303 { L"Tms Rmn", L"DejaVu Serif" }, 304 { L"Trebuchet MS", L"Open Sans" }, 305 { L"System", L"FreeSans" }, 306 { L"Comic Sans MS", L"Ubuntu" }, 307 { L"Georgia", L"FreeSerif" }, 308 { L"Palatino Linotype", L"DejaVu Serif" }, 309 { NULL, NULL } 310 }; 311 312 MUI_SUBFONT HindiFonts[] = 313 { 314 /*Font Substitute */ 315 { L"Arial", L"Liberation Sans" }, 316 { L"Courier", L"FreeMono" }, 317 { L"Courier New", L"FreeMono" }, 318 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" }, 319 { L"Franklin Gothic Medium", L"Libre Franklin Bold" }, 320 { L"Helv", L"Tahoma" }, 321 { L"Helvetica", L"Liberation Sans" }, 322 { L"Lucida Console", L"DejaVu Sans Mono" }, 323 { L"MS Sans Serif", L"FreeSans" }, 324 { L"MS Shell Dlg", L"FreeSans" }, 325 { L"MS Shell Dlg 2", L"FreeSans" }, 326 { L"Tahoma", L"FreeSans" }, 327 { L"Terminal", L"DejaVu Sans Mono" }, 328 { L"Times", L"Liberation Serif" }, 329 { L"Times New Roman", L"Liberation Serif" }, 330 { L"Tms Rmn", L"Liberation Serif" }, 331 { L"Trebuchet MS", L"Open Sans" }, 332 { L"System", L"FreeSans" }, 333 { L"Comic Sans MS", L"Ubuntu" }, 334 { L"Georgia", L"FreeSerif" }, 335 { L"Palatino Linotype", L"FreeSans" }, 336 { NULL, NULL } 337 }; 338