1 // Copyright (c) 2013 The Chromium 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 // Multiply-included file, hence no include guard.
6 // This file defines all font scripts in a manner that can be re-used to
7 // generate the various data tables required in RO memory, and it can not
8 // contain any header guards. Callers need to
9 // #define EXPAND_SCRIPT_FONTS to their needs and call ALL_FONT_SCRIPTS.
10 
11 #define ALL_FONT_SCRIPTS(x)     \
12   EXPAND_SCRIPT_FONT(x, "Afak") \
13   EXPAND_SCRIPT_FONT(x, "Arab") \
14   EXPAND_SCRIPT_FONT(x, "Armi") \
15   EXPAND_SCRIPT_FONT(x, "Armn") \
16   EXPAND_SCRIPT_FONT(x, "Avst") \
17   EXPAND_SCRIPT_FONT(x, "Bali") \
18   EXPAND_SCRIPT_FONT(x, "Bamu") \
19   EXPAND_SCRIPT_FONT(x, "Bass") \
20   EXPAND_SCRIPT_FONT(x, "Batk") \
21   EXPAND_SCRIPT_FONT(x, "Beng") \
22   EXPAND_SCRIPT_FONT(x, "Blis") \
23   EXPAND_SCRIPT_FONT(x, "Bopo") \
24   EXPAND_SCRIPT_FONT(x, "Brah") \
25   EXPAND_SCRIPT_FONT(x, "Brai") \
26   EXPAND_SCRIPT_FONT(x, "Bugi") \
27   EXPAND_SCRIPT_FONT(x, "Buhd") \
28   EXPAND_SCRIPT_FONT(x, "Cakm") \
29   EXPAND_SCRIPT_FONT(x, "Cans") \
30   EXPAND_SCRIPT_FONT(x, "Cari") \
31   EXPAND_SCRIPT_FONT(x, "Cham") \
32   EXPAND_SCRIPT_FONT(x, "Cher") \
33   EXPAND_SCRIPT_FONT(x, "Cirt") \
34   EXPAND_SCRIPT_FONT(x, "Copt") \
35   EXPAND_SCRIPT_FONT(x, "Cprt") \
36   EXPAND_SCRIPT_FONT(x, "Cyrl") \
37   EXPAND_SCRIPT_FONT(x, "Cyrs") \
38   EXPAND_SCRIPT_FONT(x, "Deva") \
39   EXPAND_SCRIPT_FONT(x, "Dsrt") \
40   EXPAND_SCRIPT_FONT(x, "Dupl") \
41   EXPAND_SCRIPT_FONT(x, "Egyd") \
42   EXPAND_SCRIPT_FONT(x, "Egyh") \
43   EXPAND_SCRIPT_FONT(x, "Egyp") \
44   EXPAND_SCRIPT_FONT(x, "Elba") \
45   EXPAND_SCRIPT_FONT(x, "Ethi") \
46   EXPAND_SCRIPT_FONT(x, "Geor") \
47   EXPAND_SCRIPT_FONT(x, "Geok") \
48   EXPAND_SCRIPT_FONT(x, "Glag") \
49   EXPAND_SCRIPT_FONT(x, "Goth") \
50   EXPAND_SCRIPT_FONT(x, "Gran") \
51   EXPAND_SCRIPT_FONT(x, "Grek") \
52   EXPAND_SCRIPT_FONT(x, "Gujr") \
53   EXPAND_SCRIPT_FONT(x, "Guru") \
54   EXPAND_SCRIPT_FONT(x, "Hang") \
55   EXPAND_SCRIPT_FONT(x, "Hani") \
56   EXPAND_SCRIPT_FONT(x, "Hano") \
57   EXPAND_SCRIPT_FONT(x, "Hans") \
58   EXPAND_SCRIPT_FONT(x, "Hant") \
59   EXPAND_SCRIPT_FONT(x, "Hebr") \
60   EXPAND_SCRIPT_FONT(x, "Hluw") \
61   EXPAND_SCRIPT_FONT(x, "Hmng") \
62   EXPAND_SCRIPT_FONT(x, "Hung") \
63   EXPAND_SCRIPT_FONT(x, "Inds") \
64   EXPAND_SCRIPT_FONT(x, "Ital") \
65   EXPAND_SCRIPT_FONT(x, "Java") \
66   EXPAND_SCRIPT_FONT(x, "Jpan") \
67   EXPAND_SCRIPT_FONT(x, "Jurc") \
68   EXPAND_SCRIPT_FONT(x, "Kali") \
69   EXPAND_SCRIPT_FONT(x, "Khar") \
70   EXPAND_SCRIPT_FONT(x, "Khmr") \
71   EXPAND_SCRIPT_FONT(x, "Khoj") \
72   EXPAND_SCRIPT_FONT(x, "Knda") \
73   EXPAND_SCRIPT_FONT(x, "Kpel") \
74   EXPAND_SCRIPT_FONT(x, "Kthi") \
75   EXPAND_SCRIPT_FONT(x, "Lana") \
76   EXPAND_SCRIPT_FONT(x, "Laoo") \
77   EXPAND_SCRIPT_FONT(x, "Latf") \
78   EXPAND_SCRIPT_FONT(x, "Latg") \
79   EXPAND_SCRIPT_FONT(x, "Latn") \
80   EXPAND_SCRIPT_FONT(x, "Lepc") \
81   EXPAND_SCRIPT_FONT(x, "Limb") \
82   EXPAND_SCRIPT_FONT(x, "Lina") \
83   EXPAND_SCRIPT_FONT(x, "Linb") \
84   EXPAND_SCRIPT_FONT(x, "Lisu") \
85   EXPAND_SCRIPT_FONT(x, "Loma") \
86   EXPAND_SCRIPT_FONT(x, "Lyci") \
87   EXPAND_SCRIPT_FONT(x, "Lydi") \
88   EXPAND_SCRIPT_FONT(x, "Mand") \
89   EXPAND_SCRIPT_FONT(x, "Mani") \
90   EXPAND_SCRIPT_FONT(x, "Maya") \
91   EXPAND_SCRIPT_FONT(x, "Mend") \
92   EXPAND_SCRIPT_FONT(x, "Merc") \
93   EXPAND_SCRIPT_FONT(x, "Mero") \
94   EXPAND_SCRIPT_FONT(x, "Mlym") \
95   EXPAND_SCRIPT_FONT(x, "Moon") \
96   EXPAND_SCRIPT_FONT(x, "Mong") \
97   EXPAND_SCRIPT_FONT(x, "Mroo") \
98   EXPAND_SCRIPT_FONT(x, "Mtei") \
99   EXPAND_SCRIPT_FONT(x, "Mymr") \
100   EXPAND_SCRIPT_FONT(x, "Narb") \
101   EXPAND_SCRIPT_FONT(x, "Nbat") \
102   EXPAND_SCRIPT_FONT(x, "Nkgb") \
103   EXPAND_SCRIPT_FONT(x, "Nkoo") \
104   EXPAND_SCRIPT_FONT(x, "Nshu") \
105   EXPAND_SCRIPT_FONT(x, "Ogam") \
106   EXPAND_SCRIPT_FONT(x, "Olck") \
107   EXPAND_SCRIPT_FONT(x, "Orkh") \
108   EXPAND_SCRIPT_FONT(x, "Orya") \
109   EXPAND_SCRIPT_FONT(x, "Osma") \
110   EXPAND_SCRIPT_FONT(x, "Palm") \
111   EXPAND_SCRIPT_FONT(x, "Perm") \
112   EXPAND_SCRIPT_FONT(x, "Phag") \
113   EXPAND_SCRIPT_FONT(x, "Phli") \
114   EXPAND_SCRIPT_FONT(x, "Phlp") \
115   EXPAND_SCRIPT_FONT(x, "Phlv") \
116   EXPAND_SCRIPT_FONT(x, "Phnx") \
117   EXPAND_SCRIPT_FONT(x, "Plrd") \
118   EXPAND_SCRIPT_FONT(x, "Prti") \
119   EXPAND_SCRIPT_FONT(x, "Rjng") \
120   EXPAND_SCRIPT_FONT(x, "Roro") \
121   EXPAND_SCRIPT_FONT(x, "Runr") \
122   EXPAND_SCRIPT_FONT(x, "Samr") \
123   EXPAND_SCRIPT_FONT(x, "Sara") \
124   EXPAND_SCRIPT_FONT(x, "Sarb") \
125   EXPAND_SCRIPT_FONT(x, "Saur") \
126   EXPAND_SCRIPT_FONT(x, "Sgnw") \
127   EXPAND_SCRIPT_FONT(x, "Shaw") \
128   EXPAND_SCRIPT_FONT(x, "Shrd") \
129   EXPAND_SCRIPT_FONT(x, "Sind") \
130   EXPAND_SCRIPT_FONT(x, "Sinh") \
131   EXPAND_SCRIPT_FONT(x, "Sora") \
132   EXPAND_SCRIPT_FONT(x, "Sund") \
133   EXPAND_SCRIPT_FONT(x, "Sylo") \
134   EXPAND_SCRIPT_FONT(x, "Syrc") \
135   EXPAND_SCRIPT_FONT(x, "Syre") \
136   EXPAND_SCRIPT_FONT(x, "Syrj") \
137   EXPAND_SCRIPT_FONT(x, "Syrn") \
138   EXPAND_SCRIPT_FONT(x, "Tagb") \
139   EXPAND_SCRIPT_FONT(x, "Takr") \
140   EXPAND_SCRIPT_FONT(x, "Tale") \
141   EXPAND_SCRIPT_FONT(x, "Talu") \
142   EXPAND_SCRIPT_FONT(x, "Taml") \
143   EXPAND_SCRIPT_FONT(x, "Tang") \
144   EXPAND_SCRIPT_FONT(x, "Tavt") \
145   EXPAND_SCRIPT_FONT(x, "Telu") \
146   EXPAND_SCRIPT_FONT(x, "Teng") \
147   EXPAND_SCRIPT_FONT(x, "Tfng") \
148   EXPAND_SCRIPT_FONT(x, "Tglg") \
149   EXPAND_SCRIPT_FONT(x, "Thaa") \
150   EXPAND_SCRIPT_FONT(x, "Thai") \
151   EXPAND_SCRIPT_FONT(x, "Tibt") \
152   EXPAND_SCRIPT_FONT(x, "Tirh") \
153   EXPAND_SCRIPT_FONT(x, "Ugar") \
154   EXPAND_SCRIPT_FONT(x, "Vaii") \
155   EXPAND_SCRIPT_FONT(x, "Visp") \
156   EXPAND_SCRIPT_FONT(x, "Wara") \
157   EXPAND_SCRIPT_FONT(x, "Wole") \
158   EXPAND_SCRIPT_FONT(x, "Xpeo") \
159   EXPAND_SCRIPT_FONT(x, "Xsux") \
160   EXPAND_SCRIPT_FONT(x, "Yiii") \
161   EXPAND_SCRIPT_FONT(x, "Zmth") \
162   EXPAND_SCRIPT_FONT(x, "Zsym") \
163   EXPAND_SCRIPT_FONT(x, "Zyyy")
164