| 1 |
// Copyright 2008 The Closure Library Authors. All Rights Reserved. |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS-IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
/** |
| 16 |
* @fileoverview List of generic font names and font fallbacks. |
| 17 |
* This file lists the font fallback for each font family for each locale or |
| 18 |
* script. In this map, each value is an array of pair. The pair is stored |
| 19 |
* as an array of two elements. |
| 20 |
* |
| 21 |
* First element of the pair is the generic name |
| 22 |
* for the font family in that locale. In case of script indexed entries, |
| 23 |
* It will be just font family name. Second element in the pair is a string |
| 24 |
* comma separated list of font names. API to access this data is provided |
| 25 |
* through goog.locale.genericFontNames. |
| 26 |
* |
| 27 |
* Warning: this file is automatically generated from CLDR. |
| 28 |
* Please contact i18n team or change the script and regenerate data. |
| 29 |
* Code location: http://go/generate_genericfontnames |
| 30 |
* |
| 31 |
*/ |
| 32 |
|
| 33 |
// clang-format off |
| 34 |
|
| 35 |
/** |
| 36 |
* Namespace for Generic Font Names |
| 37 |
*/ |
| 38 |
goog.provide('goog.locale.genericFontNamesData'); |
| 39 |
|
| 40 |
|
| 41 |
/** |
| 42 |
* Map from script code or language code to list of pairs of (generic name, |
| 43 |
* font name fallback list). |
| 44 |
* @const {!Object<string, !Array<!Array<string>>>} |
| 45 |
*/ |
| 46 |
|
| 47 |
/* ~!@# genmethods.genericFontNamesData() #@!~ */ |
| 48 |
goog.locale.genericFontNamesData = { |
| 49 |
'Arab': [ |
| 50 |
[ |
| 51 |
'sans-serif', |
| 52 |
'Arial,Al Bayan' |
| 53 |
], |
| 54 |
[ |
| 55 |
'serif', |
| 56 |
'Arabic Typesetting,Times New Roman' |
| 57 |
] |
| 58 |
], |
| 59 |
'Armn': [[ |
| 60 |
'serif', |
| 61 |
'Sylfaen,Mshtakan' |
| 62 |
]], |
| 63 |
'Beng': [[ |
| 64 |
'sans-serif', |
| 65 |
'Vrinda,Lohit Bengali' |
| 66 |
]], |
| 67 |
'Cans': [[ |
| 68 |
'sans-serif', |
| 69 |
'Euphemia,Euphemia UCAS' |
| 70 |
]], |
| 71 |
'Cher': [[ |
| 72 |
'serif', |
| 73 |
'Plantagenet,Plantagenet Cherokee' |
| 74 |
]], |
| 75 |
'Deva': [ |
| 76 |
[ |
| 77 |
'sans-serif', |
| 78 |
'Mangal,Lohit Hindi' |
| 79 |
], |
| 80 |
[ |
| 81 |
'serif', |
| 82 |
'Arial Unicode MS,Devanagari' |
| 83 |
] |
| 84 |
], |
| 85 |
'Ethi': [[ |
| 86 |
'serif', |
| 87 |
'Nyala' |
| 88 |
]], |
| 89 |
'Geor': [[ |
| 90 |
'serif', |
| 91 |
'Sylfaen' |
| 92 |
]], |
| 93 |
'Gujr': [ |
| 94 |
[ |
| 95 |
'sans-serif', |
| 96 |
'Shruti,Lohit Gujarati' |
| 97 |
], |
| 98 |
[ |
| 99 |
'serif', |
| 100 |
'Gujarati' |
| 101 |
] |
| 102 |
], |
| 103 |
'Guru': [ |
| 104 |
[ |
| 105 |
'sans-serif', |
| 106 |
'Raavi,Lohit Punjabi' |
| 107 |
], |
| 108 |
[ |
| 109 |
'serif', |
| 110 |
'Gurmukhi' |
| 111 |
] |
| 112 |
], |
| 113 |
'Hebr': [ |
| 114 |
[ |
| 115 |
'sans-serif', |
| 116 |
'Gisha,Aharoni,Arial Hebrew' |
| 117 |
], |
| 118 |
[ |
| 119 |
'serif', |
| 120 |
'David' |
| 121 |
], |
| 122 |
[ |
| 123 |
'monospace', |
| 124 |
'Miriam Fixed' |
| 125 |
] |
| 126 |
], |
| 127 |
'Khmr': [ |
| 128 |
[ |
| 129 |
'sans-serif', |
| 130 |
'MoolBoran,Khmer OS' |
| 131 |
], |
| 132 |
[ |
| 133 |
'serif', |
| 134 |
'DaunPenh' |
| 135 |
] |
| 136 |
], |
| 137 |
'Knda': [ |
| 138 |
[ |
| 139 |
'sans-serif', |
| 140 |
'Tunga' |
| 141 |
], |
| 142 |
[ |
| 143 |
'serif', |
| 144 |
'Kedage' |
| 145 |
] |
| 146 |
], |
| 147 |
'Laoo': [[ |
| 148 |
'sans-serif', |
| 149 |
'DokChampa,Phetsarath OT' |
| 150 |
]], |
| 151 |
'Mlym': [ |
| 152 |
[ |
| 153 |
'sans-serif', |
| 154 |
'AnjaliOldLipi,Kartika' |
| 155 |
], |
| 156 |
[ |
| 157 |
'serif', |
| 158 |
'Rachana' |
| 159 |
] |
| 160 |
], |
| 161 |
'Mong': [[ |
| 162 |
'serif', |
| 163 |
'Mongolian Baiti' |
| 164 |
]], |
| 165 |
'Nkoo': [[ |
| 166 |
'serif', |
| 167 |
'Conakry' |
| 168 |
]], |
| 169 |
'Orya': [[ |
| 170 |
'sans-serif', |
| 171 |
'Kalinga,utkal' |
| 172 |
]], |
| 173 |
'Sinh': [[ |
| 174 |
'serif', |
| 175 |
'Iskoola Pota,Malithi Web' |
| 176 |
]], |
| 177 |
'Syrc': [[ |
| 178 |
'sans-serif', |
| 179 |
'Estrangelo Edessa' |
| 180 |
]], |
| 181 |
'Taml': [ |
| 182 |
[ |
| 183 |
'sans-serif', |
| 184 |
'Latha,Lohit Tamil' |
| 185 |
], |
| 186 |
[ |
| 187 |
'serif', |
| 188 |
'Inai Mathi' |
| 189 |
] |
| 190 |
], |
| 191 |
'Telu': [ |
| 192 |
[ |
| 193 |
'sans-serif', |
| 194 |
'Gautami' |
| 195 |
], |
| 196 |
[ |
| 197 |
'serif', |
| 198 |
'Pothana' |
| 199 |
] |
| 200 |
], |
| 201 |
'Thaa': [[ |
| 202 |
'sans-serif', |
| 203 |
'MV Boli' |
| 204 |
]], |
| 205 |
'Thai': [ |
| 206 |
[ |
| 207 |
'sans-serif', |
| 208 |
'Tahoma,Thonburi' |
| 209 |
], |
| 210 |
[ |
| 211 |
'monospace', |
| 212 |
'Tahoma,Ayuthaya' |
| 213 |
] |
| 214 |
], |
| 215 |
'Tibt': [[ |
| 216 |
'serif', |
| 217 |
'Microsoft Himalaya' |
| 218 |
]], |
| 219 |
'Yiii': [[ |
| 220 |
'sans-serif', |
| 221 |
'Microsoft Yi Baiti' |
| 222 |
]], |
| 223 |
'Zsym': [[ |
| 224 |
'sans-serif', |
| 225 |
'Apple Symbols' |
| 226 |
]], |
| 227 |
'jp': [ |
| 228 |
[ |
| 229 |
'\uff30\u30b4\u30b7\u30c3\u30af', |
| 230 |
'MS PGothic,\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af,Hiragino Kaku G' + |
| 231 |
'othic Pro,\u30d2\u30e9\u30ae\u30ce\u89d2\u30b4 Pro W3,Sazanami Gothic' + |
| 232 |
',\u3055\u3056\u306a\u307f\u30b4\u30b7\u30c3\u30af,sans-serif' |
| 233 |
], |
| 234 |
[ |
| 235 |
'\u30e1\u30a4\u30ea\u30aa', |
| 236 |
'Meiryo,\u30e1\u30a4\u30ea\u30aa,sans-serif' |
| 237 |
], |
| 238 |
[ |
| 239 |
'\uff30\u660e\u671d', |
| 240 |
'MS PMincho,\uff2d\uff33 \uff30\u660e\u671d,Hiragino Mincho Pro,\u30d2' + |
| 241 |
'\u30e9\u30ae\u30ce\u660e\u671d Pro W3,Sazanami Mincho,\u3055\u3056' + |
| 242 |
'\u306a\u307f\u660e\u671d,serif' |
| 243 |
], |
| 244 |
[ |
| 245 |
'\u7b49\u5e45', |
| 246 |
'MS Gothic,\uff2d\uff33 \u30b4\u30b7\u30c3\u30af,Osaka-Mono,Osaka\uff0d' + |
| 247 |
'\u7b49\u5e45,monospace' |
| 248 |
] |
| 249 |
], |
| 250 |
'ko': [ |
| 251 |
[ |
| 252 |
'\uace0\ub515', |
| 253 |
'Gulim,\uad74\ub9bc,AppleGothic,\uc560\ud50c\uace0\ub515,UnDotum,\uc740' + |
| 254 |
' \ub3cb\uc6c0,Baekmuk Gulim,\ubc31\ubb35 \uad74\ub9bc,sans-serif' |
| 255 |
], |
| 256 |
[ |
| 257 |
'\ub9d1\uc740\uace0\ub515', |
| 258 |
'Malgun Gothic,\ub9d1\uc740\uace0\ub515,sans-serif' |
| 259 |
], |
| 260 |
[ |
| 261 |
'\ubc14\ud0d5', |
| 262 |
'Batang,\ubc14\ud0d5,AppleMyungjo,\uc560\ud50c\uba85\uc870,UnBatang,' + |
| 263 |
'\uc740 \ubc14\ud0d5,Baekmuk Batang,\ubc31\ubb35 \ubc14\ud0d5,serif' |
| 264 |
], |
| 265 |
[ |
| 266 |
'\uad81\uc11c', |
| 267 |
'Gungseo,\uad81\uc11c,serif' |
| 268 |
], |
| 269 |
[ |
| 270 |
'\uace0\uc815\ud3ed', |
| 271 |
'GulimChe,\uad74\ub9bc\uccb4,AppleGothic,\uc560\ud50c\uace0\ub515,monos' + |
| 272 |
'pace' |
| 273 |
] |
| 274 |
], |
| 275 |
'root': [ |
| 276 |
[ |
| 277 |
'sans-serif', |
| 278 |
'FreeSans' |
| 279 |
], |
| 280 |
[ |
| 281 |
'serif', |
| 282 |
'FreeSerif' |
| 283 |
], |
| 284 |
[ |
| 285 |
'monospace', |
| 286 |
'FreeMono' |
| 287 |
] |
| 288 |
], |
| 289 |
'transpose': { |
| 290 |
'zh': { |
| 291 |
'zh_Hant': { |
| 292 |
'\u5b8b\u4f53': '\u65b0\u7d30\u660e\u9ad4', |
| 293 |
'\u9ed1\u4f53': '\u5fae\u8edf\u6b63\u9ed1\u9ad4' |
| 294 |
} |
| 295 |
} |
| 296 |
}, |
| 297 |
'ug': [[ |
| 298 |
'serif', |
| 299 |
'Microsoft Uighur' |
| 300 |
]], |
| 301 |
'zh': [ |
| 302 |
[ |
| 303 |
'\u9ed1\u4f53', |
| 304 |
'Microsoft JhengHei,\u5fae\u8edf\u6b63\u9ed1\u9ad4,SimHei,\u9ed1\u4f53,' + |
| 305 |
'MS Hei,STHeiti,\u534e\u6587\u9ed1\u4f53,Apple LiGothic Medium,\u860b' + |
| 306 |
'\u679c\u5137\u4e2d\u9ed1,LiHei Pro Medium,\u5137\u9ed1 Pro,STHeiti Li' + |
| 307 |
'ght,\u534e\u6587\u7ec6\u9ed1,AR PL ZenKai Uni,\u6587\u9f0ePL\u4e2d' + |
| 308 |
'\u6977Uni,sans-serif' |
| 309 |
], |
| 310 |
[ |
| 311 |
'\u5fae\u8f6f\u96c5\u9ed1\u5b57\u4f53', |
| 312 |
'Microsoft YaHei,\u5fae\u8f6f\u96c5\u9ed1\u5b57\u4f53,sans-serif' |
| 313 |
], |
| 314 |
[ |
| 315 |
'\u5b8b\u4f53', |
| 316 |
'SimSun,\u5b8b\u4f53,MS Song,STSong,\u534e\u6587\u5b8b\u4f53,Apple LiSu' + |
| 317 |
'ng Light,\u860b\u679c\u5137\u7d30\u5b8b,LiSong Pro Light,\u5137\u5b8b' + |
| 318 |
' Pro,STFangSong,\u534e\u6587\u4eff\u5b8b,AR PL ShanHeiSun Uni,\u6587' + |
| 319 |
'\u9f0ePL\u7ec6\u4e0a\u6d77\u5b8bUni,AR PL New Sung,\u6587\u9f0e PL ' + |
| 320 |
'\u65b0\u5b8b,serif' |
| 321 |
], |
| 322 |
[ |
| 323 |
'\u7d30\u660e\u9ad4', |
| 324 |
'NSimsun,\u65b0\u5b8b\u4f53,monospace' |
| 325 |
] |
| 326 |
] |
| 327 |
}; |
| 328 |
/* ~!@# END #@!~ */ |