genericfontnamesdata.js 6.8 KB

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