[USETUP] Split font substitution settings for CJK languages. Patch by Katayama Hirofu...
[reactos.git] / reactos / base / setup / usetup / muifonts.h
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" },
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 New Roman", L"Liberation Serif" },
20 { L"Trebuchet MS", L"Open Sans" },
21 { NULL, NULL }
22 };
23
24 MUI_SUBFONT CyrillicFonts[] =
25 {
26 { L"Arial", L"Liberation Sans" },
27 { L"Courier", L"FreeMono" },
28 { L"Courier New", L"FreeMono" },
29 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
30 { L"Franklin Gothic Medium", L"Libre Franklin" },
31 { L"Helv", L"Tahoma" },
32 { L"Helvetica", L"Liberation Sans" },
33 { L"Lucida Console", L"DejaVu Sans Mono" },
34 { L"MS Sans Serif", L"Tahoma" },
35 { L"MS Shell Dlg", L"Tahoma" },
36 { L"MS Shell Dlg 2", L"Tahoma" },
37 { L"Tahoma", L"Tahoma" },
38 { L"Terminal", L"DejaVu Sans Mono" },
39 { L"Times New Roman", L"Liberation Serif" },
40 { L"Trebuchet MS", L"Open Sans" },
41 { NULL, NULL }
42 };
43
44 MUI_SUBFONT GreekFonts[] =
45 {
46 { L"Arial", L"Liberation Sans" },
47 { L"Courier", L"FreeMono" },
48 { L"Courier New", L"FreeMono" },
49 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
50 { L"Franklin Gothic Medium", L"Libre Franklin" },
51 { L"Helv", L"DejaVu Sans" },
52 { L"Helvetica", L"Liberation Sans" },
53 { L"Lucida Console", L"DejaVu Sans Mono" },
54 { L"MS Sans Serif", L"DejaVu Sans" },
55 { L"MS Shell Dlg", L"DejaVu Sans" },
56 { L"MS Shell Dlg 2", L"DejaVu Sans" },
57 { L"Tahoma", L"DejaVu Sans" },
58 { L"Terminal", L"DejaVu Sans Mono" },
59 { L"Times New Roman", L"Liberation Serif" },
60 { L"Trebuchet MS", L"Open Sans" },
61 { NULL, NULL }
62 };
63
64 MUI_SUBFONT HebrewFonts[] =
65 {
66 { L"Arial", L"DejaVu Sans" },
67 { L"Courier", L"FreeMono" },
68 { L"Courier New", L"FreeMono" },
69 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
70 { L"Franklin Gothic Medium", L"Libre Franklin" },
71 { L"Helv", L"DejaVu Sans" },
72 { L"Helvetica", L"DejaVu Sans" },
73 { L"Lucida Console", L"DejaVu Sans Mono" },
74 { L"MS Sans Serif", L"DejaVu Sans" },
75 { L"MS Shell Dlg", L"DejaVu Sans" },
76 { L"MS Shell Dlg 2", L"DejaVu Sans" },
77 { L"Tahoma", L"DejaVu Sans" },
78 { L"Terminal", L"DejaVu Sans Mono" },
79 { L"Times New Roman", L"DejaVu Serif" },
80 { L"Trebuchet MS", L"Open Sans" },
81 { NULL, NULL }
82 };
83
84 WCHAR CSF_LocalName0[] = {0x5B8B, 0x4F53, 0};
85 WCHAR CSF_LocalName1[] = {0x65B0, 0x5B8B, 0x4F53, 0};
86 WCHAR CSF_LocalName2[] = {0x4E2D, 0x6613, 0x5B8B, 0x4F53, 0};
87 WCHAR CSF_LocalName3[] = {'M', 'S', 0x5B8B, 0x4F53, 0};
88 MUI_SUBFONT ChineseSimplifiedFonts[] =
89 {
90 { L"Arial", L"Liberation Sans" },
91 { L"Courier", L"FreeMono" },
92 { L"Courier New", L"FreeMono" },
93 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
94 { L"Franklin Gothic Medium", L"Libre Franklin" },
95 { L"Helv", L"Droid Sans Fallback" },
96 { L"Helvetica", L"Liberation Sans" },
97 { L"Lucida Console", L"DejaVu Sans Mono" },
98 { L"MS Sans Serif", L"Droid Sans Fallback" },
99 { L"MS Shell Dlg", L"Droid Sans Fallback" },
100 { L"MS Shell Dlg 2", L"Droid Sans Fallback" },
101 { L"MS UI Gothic", L"Droid Sans Fallback" },
102 { L"MS UI Gothic 2", L"Droid Sans Fallback" },
103 { L"Tahoma", L"Droid Sans Fallback" },
104 { L"Terminal", L"DejaVu Sans Mono" },
105 { L"Times New Roman", L"Liberation Serif" },
106 { L"Trebuchet MS", L"Open Sans" },
107 { L"SimSun", L"Droid Sans Fallback" },
108 { L"NSimSun", L"Droid Sans Fallback" },
109 { L"MS Song", L"Droid Sans Fallback" },
110 /* localized names */
111 { CSF_LocalName0, L"Droid Sans Fallback" },
112 { CSF_LocalName1, L"Droid Sans Fallback" },
113 { CSF_LocalName2, L"Droid Sans Fallback" },
114 { CSF_LocalName3, L"Droid Sans Fallback" },
115 { NULL, NULL }
116 };
117
118 WCHAR CTF_LocalName0[] = {0x7D30, 0x660E, 0x9AD4, 0};
119 WCHAR CTF_LocalName1[] = {0x65B0, 0x7D30, 0x660E, 0x9AD4, 0};
120 WCHAR CTF_LocalName2[] = {0x83EF, 0x5EB7, 0x4E2D, 0x660E, 0x9AD4, 0};
121 WCHAR CTF_LocalName3[] = {0x83EF, 0x5EB7, 0x7C97, 0x660E, 0x9AD4, 0};
122 MUI_SUBFONT ChineseTraditionalFonts[] =
123 {
124 { L"Arial", L"Liberation Sans" },
125 { L"Courier", L"FreeMono" },
126 { L"Courier New", L"FreeMono" },
127 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
128 { L"Helv", L"Droid Sans Fallback" },
129 { L"Helvetica", L"Liberation Sans" },
130 { L"Lucida Console", L"DejaVu Sans Mono" },
131 { L"MS Sans Serif", L"Droid Sans Fallback" },
132 { L"MS Shell Dlg", L"Droid Sans Fallback" },
133 { L"MS Shell Dlg 2", L"Droid Sans Fallback" },
134 { L"MS UI Gothic", L"Droid Sans Fallback" },
135 { L"MS UI Gothic 2", L"Droid Sans Fallback" },
136 { L"Tahoma", L"Droid Sans Fallback" },
137 { L"Terminal", L"DejaVu Sans Mono" },
138 { L"Times New Roman", L"Liberation Serif" },
139 { L"Ming Light", L"Droid Sans Fallback" },
140 { L"PMingLiU", L"Droid Sans Fallback" },
141 { L"DLCMingMedium", L"Droid Sans Fallback" },
142 { L"DLCMingBold", L"Droid Sans Fallback" },
143 /* localized names */
144 { CTF_LocalName0, L"Droid Sans Fallback" },
145 { CTF_LocalName1, L"Droid Sans Fallback" },
146 { CTF_LocalName2, L"Droid Sans Fallback" },
147 { CTF_LocalName3, L"Droid Sans Fallback" },
148 { NULL, NULL }
149 };
150
151 WCHAR JF_LocalName0[] = {0xFF2D, 0xFF33, ' ', 0x660E, 0x671D, 0};
152 WCHAR JF_LocalName1[] = {0xFF2D, 0xFF33, ' ', 0xFF30, 0x660E, 0x671D, 0};
153 WCHAR JF_LocalName2[] = {0xFF2D, 0xFF33, ' ', 0x30B4, 0x30B7, 0x30C3, 0x30AF, 0};
154 WCHAR JF_LocalName3[] = {0xFF2D, 0xFF33, ' ', 0xFF30, 0x30B4, 0x30B7, 0x30C3, 0x30AF, 0};
155 MUI_SUBFONT JapaneseFonts[] =
156 {
157 { L"Arial", L"Liberation Sans" },
158 { L"Courier", L"FreeMono" },
159 { L"Courier New", L"FreeMono" },
160 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
161 { L"Helv", L"Droid Sans Fallback" },
162 { L"Helvetica", L"Liberation Sans" },
163 { L"Lucida Console", L"DejaVu Sans Mono" },
164 { L"MS Sans Serif", L"Droid Sans Fallback" },
165 { L"MS Shell Dlg", L"Droid Sans Fallback" },
166 { L"MS Shell Dlg 2", L"Droid Sans Fallback" },
167 { L"MS UI Gothic", L"Droid Sans Fallback" },
168 { L"MS UI Gothic 2", L"Droid Sans Fallback" },
169 { L"Tahoma", L"Droid Sans Fallback" },
170 { L"Terminal", L"DejaVu Sans Mono" },
171 { L"Times New Roman", L"Liberation Serif" },
172 /* localized names */
173 { JF_LocalName0, L"Droid Sans Fallback" },
174 { JF_LocalName1, L"Droid Sans Fallback" },
175 { JF_LocalName2, L"Droid Sans Fallback" },
176 { JF_LocalName3, L"Droid Sans Fallback" },
177 { NULL, NULL }
178 };
179
180 WCHAR KF_LocalName0[] = {0xBC14, 0xD0D5, 0};
181 WCHAR KF_LocalName1[] = {0xBC14, 0xD0D5, 0xCCB4, 0};
182 WCHAR KF_LocalName2[] = {0xAD81, 0xC11C, 0};
183 WCHAR KF_LocalName3[] = {0xAD81, 0xC11C, 0xCCB4, 0};
184 MUI_SUBFONT KoreanFonts[] =
185 {
186 { L"Arial", L"Liberation Sans" },
187 { L"Courier", L"FreeMono" },
188 { L"Courier New", L"FreeMono" },
189 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
190 { L"Helv", L"Droid Sans Fallback" },
191 { L"Helvetica", L"Liberation Sans" },
192 { L"Lucida Console", L"DejaVu Sans Mono" },
193 { L"MS Sans Serif", L"Droid Sans Fallback" },
194 { L"MS Shell Dlg", L"Droid Sans Fallback" },
195 { L"MS Shell Dlg 2", L"Droid Sans Fallback" },
196 { L"MS UI Gothic", L"Droid Sans Fallback" },
197 { L"MS UI Gothic 2", L"Droid Sans Fallback" },
198 { L"Tahoma", L"Droid Sans Fallback" },
199 { L"Terminal", L"DejaVu Sans Mono" },
200 { L"Times New Roman", L"Liberation Serif" },
201 { L"Batang", L"Droid Sans Fallback" },
202 { L"BatangChe", L"Droid Sans Fallback" },
203 { L"Gungsuh", L"Droid Sans Fallback" },
204 { L"GungsuhChe", L"Droid Sans Fallback" },
205 /* localized names */
206 { KF_LocalName0, L"Droid Sans Fallback" },
207 { KF_LocalName1, L"Droid Sans Fallback" },
208 { KF_LocalName2, L"Droid Sans Fallback" },
209 { KF_LocalName3, L"Droid Sans Fallback" },
210 { NULL, NULL }
211 };
212
213 MUI_SUBFONT UnicodeFonts[] =
214 {
215 { L"Arial", L"DejaVu Sans" },
216 { L"Courier", L"DejaVu Sans Mono" },
217 { L"Courier New", L"DejaVu Sans Mono" },
218 { L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
219 { L"Franklin Gothic Medium", L"Libre Franklin" },
220 { L"Helv", L"DejaVu Sans" },
221 { L"Helvetica", L"DejaVu Sans" },
222 { L"Lucida Console", L"DejaVu Sans Mono" },
223 { L"MS Sans Serif", L"DejaVu Sans" },
224 { L"MS Shell Dlg", L"DejaVu Sans" },
225 { L"MS Shell Dlg 2", L"DejaVu Sans" },
226 { L"Tahoma", L"DejaVu Sans" },
227 { L"Terminal", L"DejaVu Sans Mono" },
228 { L"Times New Roman", L"DejaVu Serif" },
229 { L"Trebuchet MS", L"Open Sans" },
230 { NULL, NULL }
231 };