encodings.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836
  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 ExpertEncoding = [
  17. '',
  18. '',
  19. '',
  20. '',
  21. '',
  22. '',
  23. '',
  24. '',
  25. '',
  26. '',
  27. '',
  28. '',
  29. '',
  30. '',
  31. '',
  32. '',
  33. '',
  34. '',
  35. '',
  36. '',
  37. '',
  38. '',
  39. '',
  40. '',
  41. '',
  42. '',
  43. '',
  44. '',
  45. '',
  46. '',
  47. '',
  48. '',
  49. 'space',
  50. 'exclamsmall',
  51. 'Hungarumlautsmall',
  52. '',
  53. 'dollaroldstyle',
  54. 'dollarsuperior',
  55. 'ampersandsmall',
  56. 'Acutesmall',
  57. 'parenleftsuperior',
  58. 'parenrightsuperior',
  59. 'twodotenleader',
  60. 'onedotenleader',
  61. 'comma',
  62. 'hyphen',
  63. 'period',
  64. 'fraction',
  65. 'zerooldstyle',
  66. 'oneoldstyle',
  67. 'twooldstyle',
  68. 'threeoldstyle',
  69. 'fouroldstyle',
  70. 'fiveoldstyle',
  71. 'sixoldstyle',
  72. 'sevenoldstyle',
  73. 'eightoldstyle',
  74. 'nineoldstyle',
  75. 'colon',
  76. 'semicolon',
  77. 'commasuperior',
  78. 'threequartersemdash',
  79. 'periodsuperior',
  80. 'questionsmall',
  81. '',
  82. 'asuperior',
  83. 'bsuperior',
  84. 'centsuperior',
  85. 'dsuperior',
  86. 'esuperior',
  87. '',
  88. '',
  89. 'isuperior',
  90. '',
  91. '',
  92. 'lsuperior',
  93. 'msuperior',
  94. 'nsuperior',
  95. 'osuperior',
  96. '',
  97. '',
  98. 'rsuperior',
  99. 'ssuperior',
  100. 'tsuperior',
  101. '',
  102. 'ff',
  103. 'fi',
  104. 'fl',
  105. 'ffi',
  106. 'ffl',
  107. 'parenleftinferior',
  108. '',
  109. 'parenrightinferior',
  110. 'Circumflexsmall',
  111. 'hyphensuperior',
  112. 'Gravesmall',
  113. 'Asmall',
  114. 'Bsmall',
  115. 'Csmall',
  116. 'Dsmall',
  117. 'Esmall',
  118. 'Fsmall',
  119. 'Gsmall',
  120. 'Hsmall',
  121. 'Ismall',
  122. 'Jsmall',
  123. 'Ksmall',
  124. 'Lsmall',
  125. 'Msmall',
  126. 'Nsmall',
  127. 'Osmall',
  128. 'Psmall',
  129. 'Qsmall',
  130. 'Rsmall',
  131. 'Ssmall',
  132. 'Tsmall',
  133. 'Usmall',
  134. 'Vsmall',
  135. 'Wsmall',
  136. 'Xsmall',
  137. 'Ysmall',
  138. 'Zsmall',
  139. 'colonmonetary',
  140. 'onefitted',
  141. 'rupiah',
  142. 'Tildesmall',
  143. '',
  144. '',
  145. '',
  146. '',
  147. '',
  148. '',
  149. '',
  150. '',
  151. '',
  152. '',
  153. '',
  154. '',
  155. '',
  156. '',
  157. '',
  158. '',
  159. '',
  160. '',
  161. '',
  162. '',
  163. '',
  164. '',
  165. '',
  166. '',
  167. '',
  168. '',
  169. '',
  170. '',
  171. '',
  172. '',
  173. '',
  174. '',
  175. '',
  176. '',
  177. 'exclamdownsmall',
  178. 'centoldstyle',
  179. 'Lslashsmall',
  180. '',
  181. '',
  182. 'Scaronsmall',
  183. 'Zcaronsmall',
  184. 'Dieresissmall',
  185. 'Brevesmall',
  186. 'Caronsmall',
  187. '',
  188. 'Dotaccentsmall',
  189. '',
  190. '',
  191. 'Macronsmall',
  192. '',
  193. '',
  194. 'figuredash',
  195. 'hypheninferior',
  196. '',
  197. '',
  198. 'Ogoneksmall',
  199. 'Ringsmall',
  200. 'Cedillasmall',
  201. '',
  202. '',
  203. '',
  204. 'onequarter',
  205. 'onehalf',
  206. 'threequarters',
  207. 'questiondownsmall',
  208. 'oneeighth',
  209. 'threeeighths',
  210. 'fiveeighths',
  211. 'seveneighths',
  212. 'onethird',
  213. 'twothirds',
  214. '',
  215. '',
  216. 'zerosuperior',
  217. 'onesuperior',
  218. 'twosuperior',
  219. 'threesuperior',
  220. 'foursuperior',
  221. 'fivesuperior',
  222. 'sixsuperior',
  223. 'sevensuperior',
  224. 'eightsuperior',
  225. 'ninesuperior',
  226. 'zeroinferior',
  227. 'oneinferior',
  228. 'twoinferior',
  229. 'threeinferior',
  230. 'fourinferior',
  231. 'fiveinferior',
  232. 'sixinferior',
  233. 'seveninferior',
  234. 'eightinferior',
  235. 'nineinferior',
  236. 'centinferior',
  237. 'dollarinferior',
  238. 'periodinferior',
  239. 'commainferior',
  240. 'Agravesmall',
  241. 'Aacutesmall',
  242. 'Acircumflexsmall',
  243. 'Atildesmall',
  244. 'Adieresissmall',
  245. 'Aringsmall',
  246. 'AEsmall',
  247. 'Ccedillasmall',
  248. 'Egravesmall',
  249. 'Eacutesmall',
  250. 'Ecircumflexsmall',
  251. 'Edieresissmall',
  252. 'Igravesmall',
  253. 'Iacutesmall',
  254. 'Icircumflexsmall',
  255. 'Idieresissmall',
  256. 'Ethsmall',
  257. 'Ntildesmall',
  258. 'Ogravesmall',
  259. 'Oacutesmall',
  260. 'Ocircumflexsmall',
  261. 'Otildesmall',
  262. 'Odieresissmall',
  263. 'OEsmall',
  264. 'Oslashsmall',
  265. 'Ugravesmall',
  266. 'Uacutesmall',
  267. 'Ucircumflexsmall',
  268. 'Udieresissmall',
  269. 'Yacutesmall',
  270. 'Thornsmall',
  271. 'Ydieresissmall'
  272. ];
  273. var MacExpertEncoding = [
  274. '',
  275. '',
  276. '',
  277. '',
  278. '',
  279. '',
  280. '',
  281. '',
  282. '',
  283. '',
  284. '',
  285. '',
  286. '',
  287. '',
  288. '',
  289. '',
  290. '',
  291. '',
  292. '',
  293. '',
  294. '',
  295. '',
  296. '',
  297. '',
  298. '',
  299. '',
  300. '',
  301. '',
  302. '',
  303. '',
  304. '',
  305. '',
  306. 'space',
  307. 'exclamsmall',
  308. 'Hungarumlautsmall',
  309. 'centoldstyle',
  310. 'dollaroldstyle',
  311. 'dollarsuperior',
  312. 'ampersandsmall',
  313. 'Acutesmall',
  314. 'parenleftsuperior',
  315. 'parenrightsuperior',
  316. 'twodotenleader',
  317. 'onedotenleader',
  318. 'comma',
  319. 'hyphen',
  320. 'period',
  321. 'fraction',
  322. 'zerooldstyle',
  323. 'oneoldstyle',
  324. 'twooldstyle',
  325. 'threeoldstyle',
  326. 'fouroldstyle',
  327. 'fiveoldstyle',
  328. 'sixoldstyle',
  329. 'sevenoldstyle',
  330. 'eightoldstyle',
  331. 'nineoldstyle',
  332. 'colon',
  333. 'semicolon',
  334. '',
  335. 'threequartersemdash',
  336. '',
  337. 'questionsmall',
  338. '',
  339. '',
  340. '',
  341. '',
  342. 'Ethsmall',
  343. '',
  344. '',
  345. 'onequarter',
  346. 'onehalf',
  347. 'threequarters',
  348. 'oneeighth',
  349. 'threeeighths',
  350. 'fiveeighths',
  351. 'seveneighths',
  352. 'onethird',
  353. 'twothirds',
  354. '',
  355. '',
  356. '',
  357. '',
  358. '',
  359. '',
  360. 'ff',
  361. 'fi',
  362. 'fl',
  363. 'ffi',
  364. 'ffl',
  365. 'parenleftinferior',
  366. '',
  367. 'parenrightinferior',
  368. 'Circumflexsmall',
  369. 'hypheninferior',
  370. 'Gravesmall',
  371. 'Asmall',
  372. 'Bsmall',
  373. 'Csmall',
  374. 'Dsmall',
  375. 'Esmall',
  376. 'Fsmall',
  377. 'Gsmall',
  378. 'Hsmall',
  379. 'Ismall',
  380. 'Jsmall',
  381. 'Ksmall',
  382. 'Lsmall',
  383. 'Msmall',
  384. 'Nsmall',
  385. 'Osmall',
  386. 'Psmall',
  387. 'Qsmall',
  388. 'Rsmall',
  389. 'Ssmall',
  390. 'Tsmall',
  391. 'Usmall',
  392. 'Vsmall',
  393. 'Wsmall',
  394. 'Xsmall',
  395. 'Ysmall',
  396. 'Zsmall',
  397. 'colonmonetary',
  398. 'onefitted',
  399. 'rupiah',
  400. 'Tildesmall',
  401. '',
  402. '',
  403. 'asuperior',
  404. 'centsuperior',
  405. '',
  406. '',
  407. '',
  408. '',
  409. 'Aacutesmall',
  410. 'Agravesmall',
  411. 'Acircumflexsmall',
  412. 'Adieresissmall',
  413. 'Atildesmall',
  414. 'Aringsmall',
  415. 'Ccedillasmall',
  416. 'Eacutesmall',
  417. 'Egravesmall',
  418. 'Ecircumflexsmall',
  419. 'Edieresissmall',
  420. 'Iacutesmall',
  421. 'Igravesmall',
  422. 'Icircumflexsmall',
  423. 'Idieresissmall',
  424. 'Ntildesmall',
  425. 'Oacutesmall',
  426. 'Ogravesmall',
  427. 'Ocircumflexsmall',
  428. 'Odieresissmall',
  429. 'Otildesmall',
  430. 'Uacutesmall',
  431. 'Ugravesmall',
  432. 'Ucircumflexsmall',
  433. 'Udieresissmall',
  434. '',
  435. 'eightsuperior',
  436. 'fourinferior',
  437. 'threeinferior',
  438. 'sixinferior',
  439. 'eightinferior',
  440. 'seveninferior',
  441. 'Scaronsmall',
  442. '',
  443. 'centinferior',
  444. 'twoinferior',
  445. '',
  446. 'Dieresissmall',
  447. '',
  448. 'Caronsmall',
  449. 'osuperior',
  450. 'fiveinferior',
  451. '',
  452. 'commainferior',
  453. 'periodinferior',
  454. 'Yacutesmall',
  455. '',
  456. 'dollarinferior',
  457. '',
  458. 'Thornsmall',
  459. '',
  460. 'nineinferior',
  461. 'zeroinferior',
  462. 'Zcaronsmall',
  463. 'AEsmall',
  464. 'Oslashsmall',
  465. 'questiondownsmall',
  466. 'oneinferior',
  467. 'Lslashsmall',
  468. '',
  469. '',
  470. '',
  471. '',
  472. '',
  473. '',
  474. 'Cedillasmall',
  475. '',
  476. '',
  477. '',
  478. '',
  479. '',
  480. 'OEsmall',
  481. 'figuredash',
  482. 'hyphensuperior',
  483. '',
  484. '',
  485. '',
  486. '',
  487. 'exclamdownsmall',
  488. '',
  489. 'Ydieresissmall',
  490. '',
  491. 'onesuperior',
  492. 'twosuperior',
  493. 'threesuperior',
  494. 'foursuperior',
  495. 'fivesuperior',
  496. 'sixsuperior',
  497. 'sevensuperior',
  498. 'ninesuperior',
  499. 'zerosuperior',
  500. '',
  501. 'esuperior',
  502. 'rsuperior',
  503. 'tsuperior',
  504. '',
  505. '',
  506. 'isuperior',
  507. 'ssuperior',
  508. 'dsuperior',
  509. '',
  510. '',
  511. '',
  512. '',
  513. '',
  514. 'lsuperior',
  515. 'Ogoneksmall',
  516. 'Brevesmall',
  517. 'Macronsmall',
  518. 'bsuperior',
  519. 'nsuperior',
  520. 'msuperior',
  521. 'commasuperior',
  522. 'periodsuperior',
  523. 'Dotaccentsmall',
  524. 'Ringsmall'
  525. ];
  526. var MacRomanEncoding = [
  527. '',
  528. '',
  529. '',
  530. '',
  531. '',
  532. '',
  533. '',
  534. '',
  535. '',
  536. '',
  537. '',
  538. '',
  539. '',
  540. '',
  541. '',
  542. '',
  543. '',
  544. '',
  545. '',
  546. '',
  547. '',
  548. '',
  549. '',
  550. '',
  551. '',
  552. '',
  553. '',
  554. '',
  555. '',
  556. '',
  557. '',
  558. '',
  559. 'space',
  560. 'exclam',
  561. 'quotedbl',
  562. 'numbersign',
  563. 'dollar',
  564. 'percent',
  565. 'ampersand',
  566. 'quotesingle',
  567. 'parenleft',
  568. 'parenright',
  569. 'asterisk',
  570. 'plus',
  571. 'comma',
  572. 'hyphen',
  573. 'period',
  574. 'slash',
  575. 'zero',
  576. 'one',
  577. 'two',
  578. 'three',
  579. 'four',
  580. 'five',
  581. 'six',
  582. 'seven',
  583. 'eight',
  584. 'nine',
  585. 'colon',
  586. 'semicolon',
  587. 'less',
  588. 'equal',
  589. 'greater',
  590. 'question',
  591. 'at',
  592. 'A',
  593. 'B',
  594. 'C',
  595. 'D',
  596. 'E',
  597. 'F',
  598. 'G',
  599. 'H',
  600. 'I',
  601. 'J',
  602. 'K',
  603. 'L',
  604. 'M',
  605. 'N',
  606. 'O',
  607. 'P',
  608. 'Q',
  609. 'R',
  610. 'S',
  611. 'T',
  612. 'U',
  613. 'V',
  614. 'W',
  615. 'X',
  616. 'Y',
  617. 'Z',
  618. 'bracketleft',
  619. 'backslash',
  620. 'bracketright',
  621. 'asciicircum',
  622. 'underscore',
  623. 'grave',
  624. 'a',
  625. 'b',
  626. 'c',
  627. 'd',
  628. 'e',
  629. 'f',
  630. 'g',
  631. 'h',
  632. 'i',
  633. 'j',
  634. 'k',
  635. 'l',
  636. 'm',
  637. 'n',
  638. 'o',
  639. 'p',
  640. 'q',
  641. 'r',
  642. 's',
  643. 't',
  644. 'u',
  645. 'v',
  646. 'w',
  647. 'x',
  648. 'y',
  649. 'z',
  650. 'braceleft',
  651. 'bar',
  652. 'braceright',
  653. 'asciitilde',
  654. '',
  655. 'Adieresis',
  656. 'Aring',
  657. 'Ccedilla',
  658. 'Eacute',
  659. 'Ntilde',
  660. 'Odieresis',
  661. 'Udieresis',
  662. 'aacute',
  663. 'agrave',
  664. 'acircumflex',
  665. 'adieresis',
  666. 'atilde',
  667. 'aring',
  668. 'ccedilla',
  669. 'eacute',
  670. 'egrave',
  671. 'ecircumflex',
  672. 'edieresis',
  673. 'iacute',
  674. 'igrave',
  675. 'icircumflex',
  676. 'idieresis',
  677. 'ntilde',
  678. 'oacute',
  679. 'ograve',
  680. 'ocircumflex',
  681. 'odieresis',
  682. 'otilde',
  683. 'uacute',
  684. 'ugrave',
  685. 'ucircumflex',
  686. 'udieresis',
  687. 'dagger',
  688. 'degree',
  689. 'cent',
  690. 'sterling',
  691. 'section',
  692. 'bullet',
  693. 'paragraph',
  694. 'germandbls',
  695. 'registered',
  696. 'copyright',
  697. 'trademark',
  698. 'acute',
  699. 'dieresis',
  700. 'notequal',
  701. 'AE',
  702. 'Oslash',
  703. 'infinity',
  704. 'plusminus',
  705. 'lessequal',
  706. 'greaterequal',
  707. 'yen',
  708. 'mu',
  709. 'partialdiff',
  710. 'summation',
  711. 'product',
  712. 'pi',
  713. 'integral',
  714. 'ordfeminine',
  715. 'ordmasculine',
  716. 'Omega',
  717. 'ae',
  718. 'oslash',
  719. 'questiondown',
  720. 'exclamdown',
  721. 'logicalnot',
  722. 'radical',
  723. 'florin',
  724. 'approxequal',
  725. 'Delta',
  726. 'guillemotleft',
  727. 'guillemotright',
  728. 'ellipsis',
  729. 'space',
  730. 'Agrave',
  731. 'Atilde',
  732. 'Otilde',
  733. 'OE',
  734. 'oe',
  735. 'endash',
  736. 'emdash',
  737. 'quotedblleft',
  738. 'quotedblright',
  739. 'quoteleft',
  740. 'quoteright',
  741. 'divide',
  742. 'lozenge',
  743. 'ydieresis',
  744. 'Ydieresis',
  745. 'fraction',
  746. 'currency',
  747. 'guilsinglleft',
  748. 'guilsinglright',
  749. 'fi',
  750. 'fl',
  751. 'daggerdbl',
  752. 'periodcentered',
  753. 'quotesinglbase',
  754. 'quotedblbase',
  755. 'perthousand',
  756. 'Acircumflex',
  757. 'Ecircumflex',
  758. 'Aacute',
  759. 'Edieresis',
  760. 'Egrave',
  761. 'Iacute',
  762. 'Icircumflex',
  763. 'Idieresis',
  764. 'Igrave',
  765. 'Oacute',
  766. 'Ocircumflex',
  767. 'apple',
  768. 'Ograve',
  769. 'Uacute',
  770. 'Ucircumflex',
  771. 'Ugrave',
  772. 'dotlessi',
  773. 'circumflex',
  774. 'tilde',
  775. 'macron',
  776. 'breve',
  777. 'dotaccent',
  778. 'ring',
  779. 'cedilla',
  780. 'hungarumlaut',
  781. 'ogonek',
  782. 'caron'
  783. ];
  784. var StandardEncoding = [
  785. '',
  786. '',
  787. '',
  788. '',
  789. '',
  790. '',
  791. '',
  792. '',
  793. '',
  794. '',
  795. '',
  796. '',
  797. '',
  798. '',
  799. '',
  800. '',
  801. '',
  802. '',
  803. '',
  804. '',
  805. '',
  806. '',
  807. '',
  808. '',
  809. '',
  810. '',
  811. '',
  812. '',
  813. '',
  814. '',
  815. '',
  816. '',
  817. 'space',
  818. 'exclam',
  819. 'quotedbl',
  820. 'numbersign',
  821. 'dollar',
  822. 'percent',
  823. 'ampersand',
  824. 'quoteright',
  825. 'parenleft',
  826. 'parenright',
  827. 'asterisk',
  828. 'plus',
  829. 'comma',
  830. 'hyphen',
  831. 'period',
  832. 'slash',
  833. 'zero',
  834. 'one',
  835. 'two',
  836. 'three',
  837. 'four',
  838. 'five',
  839. 'six',
  840. 'seven',
  841. 'eight',
  842. 'nine',
  843. 'colon',
  844. 'semicolon',
  845. 'less',
  846. 'equal',
  847. 'greater',
  848. 'question',
  849. 'at',
  850. 'A',
  851. 'B',
  852. 'C',
  853. 'D',
  854. 'E',
  855. 'F',
  856. 'G',
  857. 'H',
  858. 'I',
  859. 'J',
  860. 'K',
  861. 'L',
  862. 'M',
  863. 'N',
  864. 'O',
  865. 'P',
  866. 'Q',
  867. 'R',
  868. 'S',
  869. 'T',
  870. 'U',
  871. 'V',
  872. 'W',
  873. 'X',
  874. 'Y',
  875. 'Z',
  876. 'bracketleft',
  877. 'backslash',
  878. 'bracketright',
  879. 'asciicircum',
  880. 'underscore',
  881. 'quoteleft',
  882. 'a',
  883. 'b',
  884. 'c',
  885. 'd',
  886. 'e',
  887. 'f',
  888. 'g',
  889. 'h',
  890. 'i',
  891. 'j',
  892. 'k',
  893. 'l',
  894. 'm',
  895. 'n',
  896. 'o',
  897. 'p',
  898. 'q',
  899. 'r',
  900. 's',
  901. 't',
  902. 'u',
  903. 'v',
  904. 'w',
  905. 'x',
  906. 'y',
  907. 'z',
  908. 'braceleft',
  909. 'bar',
  910. 'braceright',
  911. 'asciitilde',
  912. '',
  913. '',
  914. '',
  915. '',
  916. '',
  917. '',
  918. '',
  919. '',
  920. '',
  921. '',
  922. '',
  923. '',
  924. '',
  925. '',
  926. '',
  927. '',
  928. '',
  929. '',
  930. '',
  931. '',
  932. '',
  933. '',
  934. '',
  935. '',
  936. '',
  937. '',
  938. '',
  939. '',
  940. '',
  941. '',
  942. '',
  943. '',
  944. '',
  945. '',
  946. 'exclamdown',
  947. 'cent',
  948. 'sterling',
  949. 'fraction',
  950. 'yen',
  951. 'florin',
  952. 'section',
  953. 'currency',
  954. 'quotesingle',
  955. 'quotedblleft',
  956. 'guillemotleft',
  957. 'guilsinglleft',
  958. 'guilsinglright',
  959. 'fi',
  960. 'fl',
  961. '',
  962. 'endash',
  963. 'dagger',
  964. 'daggerdbl',
  965. 'periodcentered',
  966. '',
  967. 'paragraph',
  968. 'bullet',
  969. 'quotesinglbase',
  970. 'quotedblbase',
  971. 'quotedblright',
  972. 'guillemotright',
  973. 'ellipsis',
  974. 'perthousand',
  975. '',
  976. 'questiondown',
  977. '',
  978. 'grave',
  979. 'acute',
  980. 'circumflex',
  981. 'tilde',
  982. 'macron',
  983. 'breve',
  984. 'dotaccent',
  985. 'dieresis',
  986. '',
  987. 'ring',
  988. 'cedilla',
  989. '',
  990. 'hungarumlaut',
  991. 'ogonek',
  992. 'caron',
  993. 'emdash',
  994. '',
  995. '',
  996. '',
  997. '',
  998. '',
  999. '',
  1000. '',
  1001. '',
  1002. '',
  1003. '',
  1004. '',
  1005. '',
  1006. '',
  1007. '',
  1008. '',
  1009. '',
  1010. 'AE',
  1011. '',
  1012. 'ordfeminine',
  1013. '',
  1014. '',
  1015. '',
  1016. '',
  1017. 'Lslash',
  1018. 'Oslash',
  1019. 'OE',
  1020. 'ordmasculine',
  1021. '',
  1022. '',
  1023. '',
  1024. '',
  1025. '',
  1026. 'ae',
  1027. '',
  1028. '',
  1029. '',
  1030. 'dotlessi',
  1031. '',
  1032. '',
  1033. 'lslash',
  1034. 'oslash',
  1035. 'oe',
  1036. 'germandbls'
  1037. ];
  1038. var WinAnsiEncoding = [
  1039. '',
  1040. '',
  1041. '',
  1042. '',
  1043. '',
  1044. '',
  1045. '',
  1046. '',
  1047. '',
  1048. '',
  1049. '',
  1050. '',
  1051. '',
  1052. '',
  1053. '',
  1054. '',
  1055. '',
  1056. '',
  1057. '',
  1058. '',
  1059. '',
  1060. '',
  1061. '',
  1062. '',
  1063. '',
  1064. '',
  1065. '',
  1066. '',
  1067. '',
  1068. '',
  1069. '',
  1070. '',
  1071. 'space',
  1072. 'exclam',
  1073. 'quotedbl',
  1074. 'numbersign',
  1075. 'dollar',
  1076. 'percent',
  1077. 'ampersand',
  1078. 'quotesingle',
  1079. 'parenleft',
  1080. 'parenright',
  1081. 'asterisk',
  1082. 'plus',
  1083. 'comma',
  1084. 'hyphen',
  1085. 'period',
  1086. 'slash',
  1087. 'zero',
  1088. 'one',
  1089. 'two',
  1090. 'three',
  1091. 'four',
  1092. 'five',
  1093. 'six',
  1094. 'seven',
  1095. 'eight',
  1096. 'nine',
  1097. 'colon',
  1098. 'semicolon',
  1099. 'less',
  1100. 'equal',
  1101. 'greater',
  1102. 'question',
  1103. 'at',
  1104. 'A',
  1105. 'B',
  1106. 'C',
  1107. 'D',
  1108. 'E',
  1109. 'F',
  1110. 'G',
  1111. 'H',
  1112. 'I',
  1113. 'J',
  1114. 'K',
  1115. 'L',
  1116. 'M',
  1117. 'N',
  1118. 'O',
  1119. 'P',
  1120. 'Q',
  1121. 'R',
  1122. 'S',
  1123. 'T',
  1124. 'U',
  1125. 'V',
  1126. 'W',
  1127. 'X',
  1128. 'Y',
  1129. 'Z',
  1130. 'bracketleft',
  1131. 'backslash',
  1132. 'bracketright',
  1133. 'asciicircum',
  1134. 'underscore',
  1135. 'grave',
  1136. 'a',
  1137. 'b',
  1138. 'c',
  1139. 'd',
  1140. 'e',
  1141. 'f',
  1142. 'g',
  1143. 'h',
  1144. 'i',
  1145. 'j',
  1146. 'k',
  1147. 'l',
  1148. 'm',
  1149. 'n',
  1150. 'o',
  1151. 'p',
  1152. 'q',
  1153. 'r',
  1154. 's',
  1155. 't',
  1156. 'u',
  1157. 'v',
  1158. 'w',
  1159. 'x',
  1160. 'y',
  1161. 'z',
  1162. 'braceleft',
  1163. 'bar',
  1164. 'braceright',
  1165. 'asciitilde',
  1166. 'bullet',
  1167. 'Euro',
  1168. 'bullet',
  1169. 'quotesinglbase',
  1170. 'florin',
  1171. 'quotedblbase',
  1172. 'ellipsis',
  1173. 'dagger',
  1174. 'daggerdbl',
  1175. 'circumflex',
  1176. 'perthousand',
  1177. 'Scaron',
  1178. 'guilsinglleft',
  1179. 'OE',
  1180. 'bullet',
  1181. 'Zcaron',
  1182. 'bullet',
  1183. 'bullet',
  1184. 'quoteleft',
  1185. 'quoteright',
  1186. 'quotedblleft',
  1187. 'quotedblright',
  1188. 'bullet',
  1189. 'endash',
  1190. 'emdash',
  1191. 'tilde',
  1192. 'trademark',
  1193. 'scaron',
  1194. 'guilsinglright',
  1195. 'oe',
  1196. 'bullet',
  1197. 'zcaron',
  1198. 'Ydieresis',
  1199. 'space',
  1200. 'exclamdown',
  1201. 'cent',
  1202. 'sterling',
  1203. 'currency',
  1204. 'yen',
  1205. 'brokenbar',
  1206. 'section',
  1207. 'dieresis',
  1208. 'copyright',
  1209. 'ordfeminine',
  1210. 'guillemotleft',
  1211. 'logicalnot',
  1212. 'hyphen',
  1213. 'registered',
  1214. 'macron',
  1215. 'degree',
  1216. 'plusminus',
  1217. 'twosuperior',
  1218. 'threesuperior',
  1219. 'acute',
  1220. 'mu',
  1221. 'paragraph',
  1222. 'periodcentered',
  1223. 'cedilla',
  1224. 'onesuperior',
  1225. 'ordmasculine',
  1226. 'guillemotright',
  1227. 'onequarter',
  1228. 'onehalf',
  1229. 'threequarters',
  1230. 'questiondown',
  1231. 'Agrave',
  1232. 'Aacute',
  1233. 'Acircumflex',
  1234. 'Atilde',
  1235. 'Adieresis',
  1236. 'Aring',
  1237. 'AE',
  1238. 'Ccedilla',
  1239. 'Egrave',
  1240. 'Eacute',
  1241. 'Ecircumflex',
  1242. 'Edieresis',
  1243. 'Igrave',
  1244. 'Iacute',
  1245. 'Icircumflex',
  1246. 'Idieresis',
  1247. 'Eth',
  1248. 'Ntilde',
  1249. 'Ograve',
  1250. 'Oacute',
  1251. 'Ocircumflex',
  1252. 'Otilde',
  1253. 'Odieresis',
  1254. 'multiply',
  1255. 'Oslash',
  1256. 'Ugrave',
  1257. 'Uacute',
  1258. 'Ucircumflex',
  1259. 'Udieresis',
  1260. 'Yacute',
  1261. 'Thorn',
  1262. 'germandbls',
  1263. 'agrave',
  1264. 'aacute',
  1265. 'acircumflex',
  1266. 'atilde',
  1267. 'adieresis',
  1268. 'aring',
  1269. 'ae',
  1270. 'ccedilla',
  1271. 'egrave',
  1272. 'eacute',
  1273. 'ecircumflex',
  1274. 'edieresis',
  1275. 'igrave',
  1276. 'iacute',
  1277. 'icircumflex',
  1278. 'idieresis',
  1279. 'eth',
  1280. 'ntilde',
  1281. 'ograve',
  1282. 'oacute',
  1283. 'ocircumflex',
  1284. 'otilde',
  1285. 'odieresis',
  1286. 'divide',
  1287. 'oslash',
  1288. 'ugrave',
  1289. 'uacute',
  1290. 'ucircumflex',
  1291. 'udieresis',
  1292. 'yacute',
  1293. 'thorn',
  1294. 'ydieresis'
  1295. ];
  1296. var SymbolSetEncoding = [
  1297. '',
  1298. '',
  1299. '',
  1300. '',
  1301. '',
  1302. '',
  1303. '',
  1304. '',
  1305. '',
  1306. '',
  1307. '',
  1308. '',
  1309. '',
  1310. '',
  1311. '',
  1312. '',
  1313. '',
  1314. '',
  1315. '',
  1316. '',
  1317. '',
  1318. '',
  1319. '',
  1320. '',
  1321. '',
  1322. '',
  1323. '',
  1324. '',
  1325. '',
  1326. '',
  1327. '',
  1328. '',
  1329. 'space',
  1330. 'exclam',
  1331. 'universal',
  1332. 'numbersign',
  1333. 'existential',
  1334. 'percent',
  1335. 'ampersand',
  1336. 'suchthat',
  1337. 'parenleft',
  1338. 'parenright',
  1339. 'asteriskmath',
  1340. 'plus',
  1341. 'comma',
  1342. 'minus',
  1343. 'period',
  1344. 'slash',
  1345. 'zero',
  1346. 'one',
  1347. 'two',
  1348. 'three',
  1349. 'four',
  1350. 'five',
  1351. 'six',
  1352. 'seven',
  1353. 'eight',
  1354. 'nine',
  1355. 'colon',
  1356. 'semicolon',
  1357. 'less',
  1358. 'equal',
  1359. 'greater',
  1360. 'question',
  1361. 'congruent',
  1362. 'Alpha',
  1363. 'Beta',
  1364. 'Chi',
  1365. 'Delta',
  1366. 'Epsilon',
  1367. 'Phi',
  1368. 'Gamma',
  1369. 'Eta',
  1370. 'Iota',
  1371. 'theta1',
  1372. 'Kappa',
  1373. 'Lambda',
  1374. 'Mu',
  1375. 'Nu',
  1376. 'Omicron',
  1377. 'Pi',
  1378. 'Theta',
  1379. 'Rho',
  1380. 'Sigma',
  1381. 'Tau',
  1382. 'Upsilon',
  1383. 'sigma1',
  1384. 'Omega',
  1385. 'Xi',
  1386. 'Psi',
  1387. 'Zeta',
  1388. 'bracketleft',
  1389. 'therefore',
  1390. 'bracketright',
  1391. 'perpendicular',
  1392. 'underscore',
  1393. 'radicalex',
  1394. 'alpha',
  1395. 'beta',
  1396. 'chi',
  1397. 'delta',
  1398. 'epsilon',
  1399. 'phi',
  1400. 'gamma',
  1401. 'eta',
  1402. 'iota',
  1403. 'phi1',
  1404. 'kappa',
  1405. 'lambda',
  1406. 'mu',
  1407. 'nu',
  1408. 'omicron',
  1409. 'pi',
  1410. 'theta',
  1411. 'rho',
  1412. 'sigma',
  1413. 'tau',
  1414. 'upsilon',
  1415. 'omega1',
  1416. 'omega',
  1417. 'xi',
  1418. 'psi',
  1419. 'zeta',
  1420. 'braceleft',
  1421. 'bar',
  1422. 'braceright',
  1423. 'similar',
  1424. '',
  1425. '',
  1426. '',
  1427. '',
  1428. '',
  1429. '',
  1430. '',
  1431. '',
  1432. '',
  1433. '',
  1434. '',
  1435. '',
  1436. '',
  1437. '',
  1438. '',
  1439. '',
  1440. '',
  1441. '',
  1442. '',
  1443. '',
  1444. '',
  1445. '',
  1446. '',
  1447. '',
  1448. '',
  1449. '',
  1450. '',
  1451. '',
  1452. '',
  1453. '',
  1454. '',
  1455. '',
  1456. '',
  1457. 'Euro',
  1458. 'Upsilon1',
  1459. 'minute',
  1460. 'lessequal',
  1461. 'fraction',
  1462. 'infinity',
  1463. 'florin',
  1464. 'club',
  1465. 'diamond',
  1466. 'heart',
  1467. 'spade',
  1468. 'arrowboth',
  1469. 'arrowleft',
  1470. 'arrowup',
  1471. 'arrowright',
  1472. 'arrowdown',
  1473. 'degree',
  1474. 'plusminus',
  1475. 'second',
  1476. 'greaterequal',
  1477. 'multiply',
  1478. 'proportional',
  1479. 'partialdiff',
  1480. 'bullet',
  1481. 'divide',
  1482. 'notequal',
  1483. 'equivalence',
  1484. 'approxequal',
  1485. 'ellipsis',
  1486. 'arrowvertex',
  1487. 'arrowhorizex',
  1488. 'carriagereturn',
  1489. 'aleph',
  1490. 'Ifraktur',
  1491. 'Rfraktur',
  1492. 'weierstrass',
  1493. 'circlemultiply',
  1494. 'circleplus',
  1495. 'emptyset',
  1496. 'intersection',
  1497. 'union',
  1498. 'propersuperset',
  1499. 'reflexsuperset',
  1500. 'notsubset',
  1501. 'propersubset',
  1502. 'reflexsubset',
  1503. 'element',
  1504. 'notelement',
  1505. 'angle',
  1506. 'gradient',
  1507. 'registerserif',
  1508. 'copyrightserif',
  1509. 'trademarkserif',
  1510. 'product',
  1511. 'radical',
  1512. 'dotmath',
  1513. 'logicalnot',
  1514. 'logicaland',
  1515. 'logicalor',
  1516. 'arrowdblboth',
  1517. 'arrowdblleft',
  1518. 'arrowdblup',
  1519. 'arrowdblright',
  1520. 'arrowdbldown',
  1521. 'lozenge',
  1522. 'angleleft',
  1523. 'registersans',
  1524. 'copyrightsans',
  1525. 'trademarksans',
  1526. 'summation',
  1527. 'parenlefttp',
  1528. 'parenleftex',
  1529. 'parenleftbt',
  1530. 'bracketlefttp',
  1531. 'bracketleftex',
  1532. 'bracketleftbt',
  1533. 'bracelefttp',
  1534. 'braceleftmid',
  1535. 'braceleftbt',
  1536. 'braceex',
  1537. '',
  1538. 'angleright',
  1539. 'integral',
  1540. 'integraltp',
  1541. 'integralex',
  1542. 'integralbt',
  1543. 'parenrighttp',
  1544. 'parenrightex',
  1545. 'parenrightbt',
  1546. 'bracketrighttp',
  1547. 'bracketrightex',
  1548. 'bracketrightbt',
  1549. 'bracerighttp',
  1550. 'bracerightmid',
  1551. 'bracerightbt'
  1552. ];
  1553. var ZapfDingbatsEncoding = [
  1554. '',
  1555. '',
  1556. '',
  1557. '',
  1558. '',
  1559. '',
  1560. '',
  1561. '',
  1562. '',
  1563. '',
  1564. '',
  1565. '',
  1566. '',
  1567. '',
  1568. '',
  1569. '',
  1570. '',
  1571. '',
  1572. '',
  1573. '',
  1574. '',
  1575. '',
  1576. '',
  1577. '',
  1578. '',
  1579. '',
  1580. '',
  1581. '',
  1582. '',
  1583. '',
  1584. '',
  1585. '',
  1586. 'space',
  1587. 'a1',
  1588. 'a2',
  1589. 'a202',
  1590. 'a3',
  1591. 'a4',
  1592. 'a5',
  1593. 'a119',
  1594. 'a118',
  1595. 'a117',
  1596. 'a11',
  1597. 'a12',
  1598. 'a13',
  1599. 'a14',
  1600. 'a15',
  1601. 'a16',
  1602. 'a105',
  1603. 'a17',
  1604. 'a18',
  1605. 'a19',
  1606. 'a20',
  1607. 'a21',
  1608. 'a22',
  1609. 'a23',
  1610. 'a24',
  1611. 'a25',
  1612. 'a26',
  1613. 'a27',
  1614. 'a28',
  1615. 'a6',
  1616. 'a7',
  1617. 'a8',
  1618. 'a9',
  1619. 'a10',
  1620. 'a29',
  1621. 'a30',
  1622. 'a31',
  1623. 'a32',
  1624. 'a33',
  1625. 'a34',
  1626. 'a35',
  1627. 'a36',
  1628. 'a37',
  1629. 'a38',
  1630. 'a39',
  1631. 'a40',
  1632. 'a41',
  1633. 'a42',
  1634. 'a43',
  1635. 'a44',
  1636. 'a45',
  1637. 'a46',
  1638. 'a47',
  1639. 'a48',
  1640. 'a49',
  1641. 'a50',
  1642. 'a51',
  1643. 'a52',
  1644. 'a53',
  1645. 'a54',
  1646. 'a55',
  1647. 'a56',
  1648. 'a57',
  1649. 'a58',
  1650. 'a59',
  1651. 'a60',
  1652. 'a61',
  1653. 'a62',
  1654. 'a63',
  1655. 'a64',
  1656. 'a65',
  1657. 'a66',
  1658. 'a67',
  1659. 'a68',
  1660. 'a69',
  1661. 'a70',
  1662. 'a71',
  1663. 'a72',
  1664. 'a73',
  1665. 'a74',
  1666. 'a203',
  1667. 'a75',
  1668. 'a204',
  1669. 'a76',
  1670. 'a77',
  1671. 'a78',
  1672. 'a79',
  1673. 'a81',
  1674. 'a82',
  1675. 'a83',
  1676. 'a84',
  1677. 'a97',
  1678. 'a98',
  1679. 'a99',
  1680. 'a100',
  1681. '',
  1682. 'a89',
  1683. 'a90',
  1684. 'a93',
  1685. 'a94',
  1686. 'a91',
  1687. 'a92',
  1688. 'a205',
  1689. 'a85',
  1690. 'a206',
  1691. 'a86',
  1692. 'a87',
  1693. 'a88',
  1694. 'a95',
  1695. 'a96',
  1696. '',
  1697. '',
  1698. '',
  1699. '',
  1700. '',
  1701. '',
  1702. '',
  1703. '',
  1704. '',
  1705. '',
  1706. '',
  1707. '',
  1708. '',
  1709. '',
  1710. '',
  1711. '',
  1712. '',
  1713. '',
  1714. '',
  1715. 'a101',
  1716. 'a102',
  1717. 'a103',
  1718. 'a104',
  1719. 'a106',
  1720. 'a107',
  1721. 'a108',
  1722. 'a112',
  1723. 'a111',
  1724. 'a110',
  1725. 'a109',
  1726. 'a120',
  1727. 'a121',
  1728. 'a122',
  1729. 'a123',
  1730. 'a124',
  1731. 'a125',
  1732. 'a126',
  1733. 'a127',
  1734. 'a128',
  1735. 'a129',
  1736. 'a130',
  1737. 'a131',
  1738. 'a132',
  1739. 'a133',
  1740. 'a134',
  1741. 'a135',
  1742. 'a136',
  1743. 'a137',
  1744. 'a138',
  1745. 'a139',
  1746. 'a140',
  1747. 'a141',
  1748. 'a142',
  1749. 'a143',
  1750. 'a144',
  1751. 'a145',
  1752. 'a146',
  1753. 'a147',
  1754. 'a148',
  1755. 'a149',
  1756. 'a150',
  1757. 'a151',
  1758. 'a152',
  1759. 'a153',
  1760. 'a154',
  1761. 'a155',
  1762. 'a156',
  1763. 'a157',
  1764. 'a158',
  1765. 'a159',
  1766. 'a160',
  1767. 'a161',
  1768. 'a163',
  1769. 'a164',
  1770. 'a196',
  1771. 'a165',
  1772. 'a192',
  1773. 'a166',
  1774. 'a167',
  1775. 'a168',
  1776. 'a169',
  1777. 'a170',
  1778. 'a171',
  1779. 'a172',
  1780. 'a173',
  1781. 'a162',
  1782. 'a174',
  1783. 'a175',
  1784. 'a176',
  1785. 'a177',
  1786. 'a178',
  1787. 'a179',
  1788. 'a193',
  1789. 'a180',
  1790. 'a199',
  1791. 'a181',
  1792. 'a200',
  1793. 'a182',
  1794. '',
  1795. 'a201',
  1796. 'a183',
  1797. 'a184',
  1798. 'a197',
  1799. 'a185',
  1800. 'a194',
  1801. 'a198',
  1802. 'a186',
  1803. 'a195',
  1804. 'a187',
  1805. 'a188',
  1806. 'a189',
  1807. 'a190',
  1808. 'a191'
  1809. ];
  1810. function getEncoding(encodingName) {
  1811. switch (encodingName) {
  1812. case 'WinAnsiEncoding':
  1813. return WinAnsiEncoding;
  1814. case 'StandardEncoding':
  1815. return StandardEncoding;
  1816. case 'MacRomanEncoding':
  1817. return MacRomanEncoding;
  1818. case 'SymbolSetEncoding':
  1819. return SymbolSetEncoding;
  1820. case 'ZapfDingbatsEncoding':
  1821. return ZapfDingbatsEncoding;
  1822. case 'ExpertEncoding':
  1823. return ExpertEncoding;
  1824. case 'MacExpertEncoding':
  1825. return MacExpertEncoding;
  1826. default:
  1827. return null;
  1828. }
  1829. }
  1830. exports.WinAnsiEncoding = WinAnsiEncoding;
  1831. exports.StandardEncoding = StandardEncoding;
  1832. exports.MacRomanEncoding = MacRomanEncoding;
  1833. exports.SymbolSetEncoding = SymbolSetEncoding;
  1834. exports.ZapfDingbatsEncoding = ZapfDingbatsEncoding;
  1835. exports.ExpertEncoding = ExpertEncoding;
  1836. exports.getEncoding = getEncoding;