charsets.js 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. /* Copyright 2017 Mozilla Foundation
  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. 'use strict';
  16. var ISOAdobeCharset = [
  17. '.notdef',
  18. 'space',
  19. 'exclam',
  20. 'quotedbl',
  21. 'numbersign',
  22. 'dollar',
  23. 'percent',
  24. 'ampersand',
  25. 'quoteright',
  26. 'parenleft',
  27. 'parenright',
  28. 'asterisk',
  29. 'plus',
  30. 'comma',
  31. 'hyphen',
  32. 'period',
  33. 'slash',
  34. 'zero',
  35. 'one',
  36. 'two',
  37. 'three',
  38. 'four',
  39. 'five',
  40. 'six',
  41. 'seven',
  42. 'eight',
  43. 'nine',
  44. 'colon',
  45. 'semicolon',
  46. 'less',
  47. 'equal',
  48. 'greater',
  49. 'question',
  50. 'at',
  51. 'A',
  52. 'B',
  53. 'C',
  54. 'D',
  55. 'E',
  56. 'F',
  57. 'G',
  58. 'H',
  59. 'I',
  60. 'J',
  61. 'K',
  62. 'L',
  63. 'M',
  64. 'N',
  65. 'O',
  66. 'P',
  67. 'Q',
  68. 'R',
  69. 'S',
  70. 'T',
  71. 'U',
  72. 'V',
  73. 'W',
  74. 'X',
  75. 'Y',
  76. 'Z',
  77. 'bracketleft',
  78. 'backslash',
  79. 'bracketright',
  80. 'asciicircum',
  81. 'underscore',
  82. 'quoteleft',
  83. 'a',
  84. 'b',
  85. 'c',
  86. 'd',
  87. 'e',
  88. 'f',
  89. 'g',
  90. 'h',
  91. 'i',
  92. 'j',
  93. 'k',
  94. 'l',
  95. 'm',
  96. 'n',
  97. 'o',
  98. 'p',
  99. 'q',
  100. 'r',
  101. 's',
  102. 't',
  103. 'u',
  104. 'v',
  105. 'w',
  106. 'x',
  107. 'y',
  108. 'z',
  109. 'braceleft',
  110. 'bar',
  111. 'braceright',
  112. 'asciitilde',
  113. 'exclamdown',
  114. 'cent',
  115. 'sterling',
  116. 'fraction',
  117. 'yen',
  118. 'florin',
  119. 'section',
  120. 'currency',
  121. 'quotesingle',
  122. 'quotedblleft',
  123. 'guillemotleft',
  124. 'guilsinglleft',
  125. 'guilsinglright',
  126. 'fi',
  127. 'fl',
  128. 'endash',
  129. 'dagger',
  130. 'daggerdbl',
  131. 'periodcentered',
  132. 'paragraph',
  133. 'bullet',
  134. 'quotesinglbase',
  135. 'quotedblbase',
  136. 'quotedblright',
  137. 'guillemotright',
  138. 'ellipsis',
  139. 'perthousand',
  140. 'questiondown',
  141. 'grave',
  142. 'acute',
  143. 'circumflex',
  144. 'tilde',
  145. 'macron',
  146. 'breve',
  147. 'dotaccent',
  148. 'dieresis',
  149. 'ring',
  150. 'cedilla',
  151. 'hungarumlaut',
  152. 'ogonek',
  153. 'caron',
  154. 'emdash',
  155. 'AE',
  156. 'ordfeminine',
  157. 'Lslash',
  158. 'Oslash',
  159. 'OE',
  160. 'ordmasculine',
  161. 'ae',
  162. 'dotlessi',
  163. 'lslash',
  164. 'oslash',
  165. 'oe',
  166. 'germandbls',
  167. 'onesuperior',
  168. 'logicalnot',
  169. 'mu',
  170. 'trademark',
  171. 'Eth',
  172. 'onehalf',
  173. 'plusminus',
  174. 'Thorn',
  175. 'onequarter',
  176. 'divide',
  177. 'brokenbar',
  178. 'degree',
  179. 'thorn',
  180. 'threequarters',
  181. 'twosuperior',
  182. 'registered',
  183. 'minus',
  184. 'eth',
  185. 'multiply',
  186. 'threesuperior',
  187. 'copyright',
  188. 'Aacute',
  189. 'Acircumflex',
  190. 'Adieresis',
  191. 'Agrave',
  192. 'Aring',
  193. 'Atilde',
  194. 'Ccedilla',
  195. 'Eacute',
  196. 'Ecircumflex',
  197. 'Edieresis',
  198. 'Egrave',
  199. 'Iacute',
  200. 'Icircumflex',
  201. 'Idieresis',
  202. 'Igrave',
  203. 'Ntilde',
  204. 'Oacute',
  205. 'Ocircumflex',
  206. 'Odieresis',
  207. 'Ograve',
  208. 'Otilde',
  209. 'Scaron',
  210. 'Uacute',
  211. 'Ucircumflex',
  212. 'Udieresis',
  213. 'Ugrave',
  214. 'Yacute',
  215. 'Ydieresis',
  216. 'Zcaron',
  217. 'aacute',
  218. 'acircumflex',
  219. 'adieresis',
  220. 'agrave',
  221. 'aring',
  222. 'atilde',
  223. 'ccedilla',
  224. 'eacute',
  225. 'ecircumflex',
  226. 'edieresis',
  227. 'egrave',
  228. 'iacute',
  229. 'icircumflex',
  230. 'idieresis',
  231. 'igrave',
  232. 'ntilde',
  233. 'oacute',
  234. 'ocircumflex',
  235. 'odieresis',
  236. 'ograve',
  237. 'otilde',
  238. 'scaron',
  239. 'uacute',
  240. 'ucircumflex',
  241. 'udieresis',
  242. 'ugrave',
  243. 'yacute',
  244. 'ydieresis',
  245. 'zcaron'
  246. ];
  247. var ExpertCharset = [
  248. '.notdef',
  249. 'space',
  250. 'exclamsmall',
  251. 'Hungarumlautsmall',
  252. 'dollaroldstyle',
  253. 'dollarsuperior',
  254. 'ampersandsmall',
  255. 'Acutesmall',
  256. 'parenleftsuperior',
  257. 'parenrightsuperior',
  258. 'twodotenleader',
  259. 'onedotenleader',
  260. 'comma',
  261. 'hyphen',
  262. 'period',
  263. 'fraction',
  264. 'zerooldstyle',
  265. 'oneoldstyle',
  266. 'twooldstyle',
  267. 'threeoldstyle',
  268. 'fouroldstyle',
  269. 'fiveoldstyle',
  270. 'sixoldstyle',
  271. 'sevenoldstyle',
  272. 'eightoldstyle',
  273. 'nineoldstyle',
  274. 'colon',
  275. 'semicolon',
  276. 'commasuperior',
  277. 'threequartersemdash',
  278. 'periodsuperior',
  279. 'questionsmall',
  280. 'asuperior',
  281. 'bsuperior',
  282. 'centsuperior',
  283. 'dsuperior',
  284. 'esuperior',
  285. 'isuperior',
  286. 'lsuperior',
  287. 'msuperior',
  288. 'nsuperior',
  289. 'osuperior',
  290. 'rsuperior',
  291. 'ssuperior',
  292. 'tsuperior',
  293. 'ff',
  294. 'fi',
  295. 'fl',
  296. 'ffi',
  297. 'ffl',
  298. 'parenleftinferior',
  299. 'parenrightinferior',
  300. 'Circumflexsmall',
  301. 'hyphensuperior',
  302. 'Gravesmall',
  303. 'Asmall',
  304. 'Bsmall',
  305. 'Csmall',
  306. 'Dsmall',
  307. 'Esmall',
  308. 'Fsmall',
  309. 'Gsmall',
  310. 'Hsmall',
  311. 'Ismall',
  312. 'Jsmall',
  313. 'Ksmall',
  314. 'Lsmall',
  315. 'Msmall',
  316. 'Nsmall',
  317. 'Osmall',
  318. 'Psmall',
  319. 'Qsmall',
  320. 'Rsmall',
  321. 'Ssmall',
  322. 'Tsmall',
  323. 'Usmall',
  324. 'Vsmall',
  325. 'Wsmall',
  326. 'Xsmall',
  327. 'Ysmall',
  328. 'Zsmall',
  329. 'colonmonetary',
  330. 'onefitted',
  331. 'rupiah',
  332. 'Tildesmall',
  333. 'exclamdownsmall',
  334. 'centoldstyle',
  335. 'Lslashsmall',
  336. 'Scaronsmall',
  337. 'Zcaronsmall',
  338. 'Dieresissmall',
  339. 'Brevesmall',
  340. 'Caronsmall',
  341. 'Dotaccentsmall',
  342. 'Macronsmall',
  343. 'figuredash',
  344. 'hypheninferior',
  345. 'Ogoneksmall',
  346. 'Ringsmall',
  347. 'Cedillasmall',
  348. 'onequarter',
  349. 'onehalf',
  350. 'threequarters',
  351. 'questiondownsmall',
  352. 'oneeighth',
  353. 'threeeighths',
  354. 'fiveeighths',
  355. 'seveneighths',
  356. 'onethird',
  357. 'twothirds',
  358. 'zerosuperior',
  359. 'onesuperior',
  360. 'twosuperior',
  361. 'threesuperior',
  362. 'foursuperior',
  363. 'fivesuperior',
  364. 'sixsuperior',
  365. 'sevensuperior',
  366. 'eightsuperior',
  367. 'ninesuperior',
  368. 'zeroinferior',
  369. 'oneinferior',
  370. 'twoinferior',
  371. 'threeinferior',
  372. 'fourinferior',
  373. 'fiveinferior',
  374. 'sixinferior',
  375. 'seveninferior',
  376. 'eightinferior',
  377. 'nineinferior',
  378. 'centinferior',
  379. 'dollarinferior',
  380. 'periodinferior',
  381. 'commainferior',
  382. 'Agravesmall',
  383. 'Aacutesmall',
  384. 'Acircumflexsmall',
  385. 'Atildesmall',
  386. 'Adieresissmall',
  387. 'Aringsmall',
  388. 'AEsmall',
  389. 'Ccedillasmall',
  390. 'Egravesmall',
  391. 'Eacutesmall',
  392. 'Ecircumflexsmall',
  393. 'Edieresissmall',
  394. 'Igravesmall',
  395. 'Iacutesmall',
  396. 'Icircumflexsmall',
  397. 'Idieresissmall',
  398. 'Ethsmall',
  399. 'Ntildesmall',
  400. 'Ogravesmall',
  401. 'Oacutesmall',
  402. 'Ocircumflexsmall',
  403. 'Otildesmall',
  404. 'Odieresissmall',
  405. 'OEsmall',
  406. 'Oslashsmall',
  407. 'Ugravesmall',
  408. 'Uacutesmall',
  409. 'Ucircumflexsmall',
  410. 'Udieresissmall',
  411. 'Yacutesmall',
  412. 'Thornsmall',
  413. 'Ydieresissmall'
  414. ];
  415. var ExpertSubsetCharset = [
  416. '.notdef',
  417. 'space',
  418. 'dollaroldstyle',
  419. 'dollarsuperior',
  420. 'parenleftsuperior',
  421. 'parenrightsuperior',
  422. 'twodotenleader',
  423. 'onedotenleader',
  424. 'comma',
  425. 'hyphen',
  426. 'period',
  427. 'fraction',
  428. 'zerooldstyle',
  429. 'oneoldstyle',
  430. 'twooldstyle',
  431. 'threeoldstyle',
  432. 'fouroldstyle',
  433. 'fiveoldstyle',
  434. 'sixoldstyle',
  435. 'sevenoldstyle',
  436. 'eightoldstyle',
  437. 'nineoldstyle',
  438. 'colon',
  439. 'semicolon',
  440. 'commasuperior',
  441. 'threequartersemdash',
  442. 'periodsuperior',
  443. 'asuperior',
  444. 'bsuperior',
  445. 'centsuperior',
  446. 'dsuperior',
  447. 'esuperior',
  448. 'isuperior',
  449. 'lsuperior',
  450. 'msuperior',
  451. 'nsuperior',
  452. 'osuperior',
  453. 'rsuperior',
  454. 'ssuperior',
  455. 'tsuperior',
  456. 'ff',
  457. 'fi',
  458. 'fl',
  459. 'ffi',
  460. 'ffl',
  461. 'parenleftinferior',
  462. 'parenrightinferior',
  463. 'hyphensuperior',
  464. 'colonmonetary',
  465. 'onefitted',
  466. 'rupiah',
  467. 'centoldstyle',
  468. 'figuredash',
  469. 'hypheninferior',
  470. 'onequarter',
  471. 'onehalf',
  472. 'threequarters',
  473. 'oneeighth',
  474. 'threeeighths',
  475. 'fiveeighths',
  476. 'seveneighths',
  477. 'onethird',
  478. 'twothirds',
  479. 'zerosuperior',
  480. 'onesuperior',
  481. 'twosuperior',
  482. 'threesuperior',
  483. 'foursuperior',
  484. 'fivesuperior',
  485. 'sixsuperior',
  486. 'sevensuperior',
  487. 'eightsuperior',
  488. 'ninesuperior',
  489. 'zeroinferior',
  490. 'oneinferior',
  491. 'twoinferior',
  492. 'threeinferior',
  493. 'fourinferior',
  494. 'fiveinferior',
  495. 'sixinferior',
  496. 'seveninferior',
  497. 'eightinferior',
  498. 'nineinferior',
  499. 'centinferior',
  500. 'dollarinferior',
  501. 'periodinferior',
  502. 'commainferior'
  503. ];
  504. exports.ISOAdobeCharset = ISOAdobeCharset;
  505. exports.ExpertCharset = ExpertCharset;
  506. exports.ExpertSubsetCharset = ExpertSubsetCharset;