standard_fonts.js 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
  1. /**
  2. * @licstart The following is the entire license notice for the
  3. * Javascript code in this page
  4. *
  5. * Copyright 2017 Mozilla Foundation
  6. *
  7. * Licensed under the Apache License, Version 2.0 (the "License");
  8. * you may not use this file except in compliance with the License.
  9. * You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing, software
  14. * distributed under the License is distributed on an "AS IS" BASIS,
  15. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. * See the License for the specific language governing permissions and
  17. * limitations under the License.
  18. *
  19. * @licend The above is the entire license notice for the
  20. * Javascript code in this page
  21. */
  22. 'use strict';
  23. Object.defineProperty(exports, "__esModule", {
  24. value: true
  25. });
  26. exports.getSupplementalGlyphMapForCalibri = exports.getSupplementalGlyphMapForArialBlack = exports.getGlyphMapForStandardFonts = exports.getSymbolsFonts = exports.getSerifFonts = exports.getNonStdFontMap = exports.getStdFontMap = undefined;
  27. var _util = require('../shared/util');
  28. var getStdFontMap = (0, _util.getLookupTableFactory)(function (t) {
  29. t['ArialNarrow'] = 'Helvetica';
  30. t['ArialNarrow-Bold'] = 'Helvetica-Bold';
  31. t['ArialNarrow-BoldItalic'] = 'Helvetica-BoldOblique';
  32. t['ArialNarrow-Italic'] = 'Helvetica-Oblique';
  33. t['ArialBlack'] = 'Helvetica';
  34. t['ArialBlack-Bold'] = 'Helvetica-Bold';
  35. t['ArialBlack-BoldItalic'] = 'Helvetica-BoldOblique';
  36. t['ArialBlack-Italic'] = 'Helvetica-Oblique';
  37. t['Arial-Black'] = 'Helvetica';
  38. t['Arial-Black-Bold'] = 'Helvetica-Bold';
  39. t['Arial-Black-BoldItalic'] = 'Helvetica-BoldOblique';
  40. t['Arial-Black-Italic'] = 'Helvetica-Oblique';
  41. t['Arial'] = 'Helvetica';
  42. t['Arial-Bold'] = 'Helvetica-Bold';
  43. t['Arial-BoldItalic'] = 'Helvetica-BoldOblique';
  44. t['Arial-Italic'] = 'Helvetica-Oblique';
  45. t['Arial-BoldItalicMT'] = 'Helvetica-BoldOblique';
  46. t['Arial-BoldMT'] = 'Helvetica-Bold';
  47. t['Arial-ItalicMT'] = 'Helvetica-Oblique';
  48. t['ArialMT'] = 'Helvetica';
  49. t['Courier-Bold'] = 'Courier-Bold';
  50. t['Courier-BoldItalic'] = 'Courier-BoldOblique';
  51. t['Courier-Italic'] = 'Courier-Oblique';
  52. t['CourierNew'] = 'Courier';
  53. t['CourierNew-Bold'] = 'Courier-Bold';
  54. t['CourierNew-BoldItalic'] = 'Courier-BoldOblique';
  55. t['CourierNew-Italic'] = 'Courier-Oblique';
  56. t['CourierNewPS-BoldItalicMT'] = 'Courier-BoldOblique';
  57. t['CourierNewPS-BoldMT'] = 'Courier-Bold';
  58. t['CourierNewPS-ItalicMT'] = 'Courier-Oblique';
  59. t['CourierNewPSMT'] = 'Courier';
  60. t['Helvetica'] = 'Helvetica';
  61. t['Helvetica-Bold'] = 'Helvetica-Bold';
  62. t['Helvetica-BoldItalic'] = 'Helvetica-BoldOblique';
  63. t['Helvetica-BoldOblique'] = 'Helvetica-BoldOblique';
  64. t['Helvetica-Italic'] = 'Helvetica-Oblique';
  65. t['Helvetica-Oblique'] = 'Helvetica-Oblique';
  66. t['SegoeUISymbol'] = 'Helvetica';
  67. t['Symbol-Bold'] = 'Symbol';
  68. t['Symbol-BoldItalic'] = 'Symbol';
  69. t['Symbol-Italic'] = 'Symbol';
  70. t['TimesNewRoman'] = 'Times-Roman';
  71. t['TimesNewRoman-Bold'] = 'Times-Bold';
  72. t['TimesNewRoman-BoldItalic'] = 'Times-BoldItalic';
  73. t['TimesNewRoman-Italic'] = 'Times-Italic';
  74. t['TimesNewRomanPS'] = 'Times-Roman';
  75. t['TimesNewRomanPS-Bold'] = 'Times-Bold';
  76. t['TimesNewRomanPS-BoldItalic'] = 'Times-BoldItalic';
  77. t['TimesNewRomanPS-BoldItalicMT'] = 'Times-BoldItalic';
  78. t['TimesNewRomanPS-BoldMT'] = 'Times-Bold';
  79. t['TimesNewRomanPS-Italic'] = 'Times-Italic';
  80. t['TimesNewRomanPS-ItalicMT'] = 'Times-Italic';
  81. t['TimesNewRomanPSMT'] = 'Times-Roman';
  82. t['TimesNewRomanPSMT-Bold'] = 'Times-Bold';
  83. t['TimesNewRomanPSMT-BoldItalic'] = 'Times-BoldItalic';
  84. t['TimesNewRomanPSMT-Italic'] = 'Times-Italic';
  85. });
  86. var getNonStdFontMap = (0, _util.getLookupTableFactory)(function (t) {
  87. t['Calibri'] = 'Helvetica';
  88. t['Calibri-Bold'] = 'Helvetica-Bold';
  89. t['Calibri-BoldItalic'] = 'Helvetica-BoldOblique';
  90. t['Calibri-Italic'] = 'Helvetica-Oblique';
  91. t['CenturyGothic'] = 'Helvetica';
  92. t['CenturyGothic-Bold'] = 'Helvetica-Bold';
  93. t['CenturyGothic-BoldItalic'] = 'Helvetica-BoldOblique';
  94. t['CenturyGothic-Italic'] = 'Helvetica-Oblique';
  95. t['ComicSansMS'] = 'Comic Sans MS';
  96. t['ComicSansMS-Bold'] = 'Comic Sans MS-Bold';
  97. t['ComicSansMS-BoldItalic'] = 'Comic Sans MS-BoldItalic';
  98. t['ComicSansMS-Italic'] = 'Comic Sans MS-Italic';
  99. t['LucidaConsole'] = 'Courier';
  100. t['LucidaConsole-Bold'] = 'Courier-Bold';
  101. t['LucidaConsole-BoldItalic'] = 'Courier-BoldOblique';
  102. t['LucidaConsole-Italic'] = 'Courier-Oblique';
  103. t['LucidaSans-Demi'] = 'Helvetica-Bold';
  104. t['MS-Gothic'] = 'MS Gothic';
  105. t['MS-Gothic-Bold'] = 'MS Gothic-Bold';
  106. t['MS-Gothic-BoldItalic'] = 'MS Gothic-BoldItalic';
  107. t['MS-Gothic-Italic'] = 'MS Gothic-Italic';
  108. t['MS-Mincho'] = 'MS Mincho';
  109. t['MS-Mincho-Bold'] = 'MS Mincho-Bold';
  110. t['MS-Mincho-BoldItalic'] = 'MS Mincho-BoldItalic';
  111. t['MS-Mincho-Italic'] = 'MS Mincho-Italic';
  112. t['MS-PGothic'] = 'MS PGothic';
  113. t['MS-PGothic-Bold'] = 'MS PGothic-Bold';
  114. t['MS-PGothic-BoldItalic'] = 'MS PGothic-BoldItalic';
  115. t['MS-PGothic-Italic'] = 'MS PGothic-Italic';
  116. t['MS-PMincho'] = 'MS PMincho';
  117. t['MS-PMincho-Bold'] = 'MS PMincho-Bold';
  118. t['MS-PMincho-BoldItalic'] = 'MS PMincho-BoldItalic';
  119. t['MS-PMincho-Italic'] = 'MS PMincho-Italic';
  120. t['NuptialScript'] = 'Times-Italic';
  121. t['Wingdings'] = 'ZapfDingbats';
  122. });
  123. var getSerifFonts = (0, _util.getLookupTableFactory)(function (t) {
  124. t['Adobe Jenson'] = true;
  125. t['Adobe Text'] = true;
  126. t['Albertus'] = true;
  127. t['Aldus'] = true;
  128. t['Alexandria'] = true;
  129. t['Algerian'] = true;
  130. t['American Typewriter'] = true;
  131. t['Antiqua'] = true;
  132. t['Apex'] = true;
  133. t['Arno'] = true;
  134. t['Aster'] = true;
  135. t['Aurora'] = true;
  136. t['Baskerville'] = true;
  137. t['Bell'] = true;
  138. t['Bembo'] = true;
  139. t['Bembo Schoolbook'] = true;
  140. t['Benguiat'] = true;
  141. t['Berkeley Old Style'] = true;
  142. t['Bernhard Modern'] = true;
  143. t['Berthold City'] = true;
  144. t['Bodoni'] = true;
  145. t['Bauer Bodoni'] = true;
  146. t['Book Antiqua'] = true;
  147. t['Bookman'] = true;
  148. t['Bordeaux Roman'] = true;
  149. t['Californian FB'] = true;
  150. t['Calisto'] = true;
  151. t['Calvert'] = true;
  152. t['Capitals'] = true;
  153. t['Cambria'] = true;
  154. t['Cartier'] = true;
  155. t['Caslon'] = true;
  156. t['Catull'] = true;
  157. t['Centaur'] = true;
  158. t['Century Old Style'] = true;
  159. t['Century Schoolbook'] = true;
  160. t['Chaparral'] = true;
  161. t['Charis SIL'] = true;
  162. t['Cheltenham'] = true;
  163. t['Cholla Slab'] = true;
  164. t['Clarendon'] = true;
  165. t['Clearface'] = true;
  166. t['Cochin'] = true;
  167. t['Colonna'] = true;
  168. t['Computer Modern'] = true;
  169. t['Concrete Roman'] = true;
  170. t['Constantia'] = true;
  171. t['Cooper Black'] = true;
  172. t['Corona'] = true;
  173. t['Ecotype'] = true;
  174. t['Egyptienne'] = true;
  175. t['Elephant'] = true;
  176. t['Excelsior'] = true;
  177. t['Fairfield'] = true;
  178. t['FF Scala'] = true;
  179. t['Folkard'] = true;
  180. t['Footlight'] = true;
  181. t['FreeSerif'] = true;
  182. t['Friz Quadrata'] = true;
  183. t['Garamond'] = true;
  184. t['Gentium'] = true;
  185. t['Georgia'] = true;
  186. t['Gloucester'] = true;
  187. t['Goudy Old Style'] = true;
  188. t['Goudy Schoolbook'] = true;
  189. t['Goudy Pro Font'] = true;
  190. t['Granjon'] = true;
  191. t['Guardian Egyptian'] = true;
  192. t['Heather'] = true;
  193. t['Hercules'] = true;
  194. t['High Tower Text'] = true;
  195. t['Hiroshige'] = true;
  196. t['Hoefler Text'] = true;
  197. t['Humana Serif'] = true;
  198. t['Imprint'] = true;
  199. t['Ionic No. 5'] = true;
  200. t['Janson'] = true;
  201. t['Joanna'] = true;
  202. t['Korinna'] = true;
  203. t['Lexicon'] = true;
  204. t['Liberation Serif'] = true;
  205. t['Linux Libertine'] = true;
  206. t['Literaturnaya'] = true;
  207. t['Lucida'] = true;
  208. t['Lucida Bright'] = true;
  209. t['Melior'] = true;
  210. t['Memphis'] = true;
  211. t['Miller'] = true;
  212. t['Minion'] = true;
  213. t['Modern'] = true;
  214. t['Mona Lisa'] = true;
  215. t['Mrs Eaves'] = true;
  216. t['MS Serif'] = true;
  217. t['Museo Slab'] = true;
  218. t['New York'] = true;
  219. t['Nimbus Roman'] = true;
  220. t['NPS Rawlinson Roadway'] = true;
  221. t['NuptialScript'] = true;
  222. t['Palatino'] = true;
  223. t['Perpetua'] = true;
  224. t['Plantin'] = true;
  225. t['Plantin Schoolbook'] = true;
  226. t['Playbill'] = true;
  227. t['Poor Richard'] = true;
  228. t['Rawlinson Roadway'] = true;
  229. t['Renault'] = true;
  230. t['Requiem'] = true;
  231. t['Rockwell'] = true;
  232. t['Roman'] = true;
  233. t['Rotis Serif'] = true;
  234. t['Sabon'] = true;
  235. t['Scala'] = true;
  236. t['Seagull'] = true;
  237. t['Sistina'] = true;
  238. t['Souvenir'] = true;
  239. t['STIX'] = true;
  240. t['Stone Informal'] = true;
  241. t['Stone Serif'] = true;
  242. t['Sylfaen'] = true;
  243. t['Times'] = true;
  244. t['Trajan'] = true;
  245. t['Trinité'] = true;
  246. t['Trump Mediaeval'] = true;
  247. t['Utopia'] = true;
  248. t['Vale Type'] = true;
  249. t['Bitstream Vera'] = true;
  250. t['Vera Serif'] = true;
  251. t['Versailles'] = true;
  252. t['Wanted'] = true;
  253. t['Weiss'] = true;
  254. t['Wide Latin'] = true;
  255. t['Windsor'] = true;
  256. t['XITS'] = true;
  257. });
  258. var getSymbolsFonts = (0, _util.getLookupTableFactory)(function (t) {
  259. t['Dingbats'] = true;
  260. t['Symbol'] = true;
  261. t['ZapfDingbats'] = true;
  262. });
  263. var getGlyphMapForStandardFonts = (0, _util.getLookupTableFactory)(function (t) {
  264. t[2] = 10;
  265. t[3] = 32;
  266. t[4] = 33;
  267. t[5] = 34;
  268. t[6] = 35;
  269. t[7] = 36;
  270. t[8] = 37;
  271. t[9] = 38;
  272. t[10] = 39;
  273. t[11] = 40;
  274. t[12] = 41;
  275. t[13] = 42;
  276. t[14] = 43;
  277. t[15] = 44;
  278. t[16] = 45;
  279. t[17] = 46;
  280. t[18] = 47;
  281. t[19] = 48;
  282. t[20] = 49;
  283. t[21] = 50;
  284. t[22] = 51;
  285. t[23] = 52;
  286. t[24] = 53;
  287. t[25] = 54;
  288. t[26] = 55;
  289. t[27] = 56;
  290. t[28] = 57;
  291. t[29] = 58;
  292. t[30] = 894;
  293. t[31] = 60;
  294. t[32] = 61;
  295. t[33] = 62;
  296. t[34] = 63;
  297. t[35] = 64;
  298. t[36] = 65;
  299. t[37] = 66;
  300. t[38] = 67;
  301. t[39] = 68;
  302. t[40] = 69;
  303. t[41] = 70;
  304. t[42] = 71;
  305. t[43] = 72;
  306. t[44] = 73;
  307. t[45] = 74;
  308. t[46] = 75;
  309. t[47] = 76;
  310. t[48] = 77;
  311. t[49] = 78;
  312. t[50] = 79;
  313. t[51] = 80;
  314. t[52] = 81;
  315. t[53] = 82;
  316. t[54] = 83;
  317. t[55] = 84;
  318. t[56] = 85;
  319. t[57] = 86;
  320. t[58] = 87;
  321. t[59] = 88;
  322. t[60] = 89;
  323. t[61] = 90;
  324. t[62] = 91;
  325. t[63] = 92;
  326. t[64] = 93;
  327. t[65] = 94;
  328. t[66] = 95;
  329. t[67] = 96;
  330. t[68] = 97;
  331. t[69] = 98;
  332. t[70] = 99;
  333. t[71] = 100;
  334. t[72] = 101;
  335. t[73] = 102;
  336. t[74] = 103;
  337. t[75] = 104;
  338. t[76] = 105;
  339. t[77] = 106;
  340. t[78] = 107;
  341. t[79] = 108;
  342. t[80] = 109;
  343. t[81] = 110;
  344. t[82] = 111;
  345. t[83] = 112;
  346. t[84] = 113;
  347. t[85] = 114;
  348. t[86] = 115;
  349. t[87] = 116;
  350. t[88] = 117;
  351. t[89] = 118;
  352. t[90] = 119;
  353. t[91] = 120;
  354. t[92] = 121;
  355. t[93] = 122;
  356. t[94] = 123;
  357. t[95] = 124;
  358. t[96] = 125;
  359. t[97] = 126;
  360. t[98] = 196;
  361. t[99] = 197;
  362. t[100] = 199;
  363. t[101] = 201;
  364. t[102] = 209;
  365. t[103] = 214;
  366. t[104] = 220;
  367. t[105] = 225;
  368. t[106] = 224;
  369. t[107] = 226;
  370. t[108] = 228;
  371. t[109] = 227;
  372. t[110] = 229;
  373. t[111] = 231;
  374. t[112] = 233;
  375. t[113] = 232;
  376. t[114] = 234;
  377. t[115] = 235;
  378. t[116] = 237;
  379. t[117] = 236;
  380. t[118] = 238;
  381. t[119] = 239;
  382. t[120] = 241;
  383. t[121] = 243;
  384. t[122] = 242;
  385. t[123] = 244;
  386. t[124] = 246;
  387. t[125] = 245;
  388. t[126] = 250;
  389. t[127] = 249;
  390. t[128] = 251;
  391. t[129] = 252;
  392. t[130] = 8224;
  393. t[131] = 176;
  394. t[132] = 162;
  395. t[133] = 163;
  396. t[134] = 167;
  397. t[135] = 8226;
  398. t[136] = 182;
  399. t[137] = 223;
  400. t[138] = 174;
  401. t[139] = 169;
  402. t[140] = 8482;
  403. t[141] = 180;
  404. t[142] = 168;
  405. t[143] = 8800;
  406. t[144] = 198;
  407. t[145] = 216;
  408. t[146] = 8734;
  409. t[147] = 177;
  410. t[148] = 8804;
  411. t[149] = 8805;
  412. t[150] = 165;
  413. t[151] = 181;
  414. t[152] = 8706;
  415. t[153] = 8721;
  416. t[154] = 8719;
  417. t[156] = 8747;
  418. t[157] = 170;
  419. t[158] = 186;
  420. t[159] = 8486;
  421. t[160] = 230;
  422. t[161] = 248;
  423. t[162] = 191;
  424. t[163] = 161;
  425. t[164] = 172;
  426. t[165] = 8730;
  427. t[166] = 402;
  428. t[167] = 8776;
  429. t[168] = 8710;
  430. t[169] = 171;
  431. t[170] = 187;
  432. t[171] = 8230;
  433. t[210] = 218;
  434. t[223] = 711;
  435. t[224] = 321;
  436. t[225] = 322;
  437. t[227] = 353;
  438. t[229] = 382;
  439. t[234] = 253;
  440. t[252] = 263;
  441. t[253] = 268;
  442. t[254] = 269;
  443. t[258] = 258;
  444. t[260] = 260;
  445. t[261] = 261;
  446. t[265] = 280;
  447. t[266] = 281;
  448. t[268] = 283;
  449. t[269] = 313;
  450. t[275] = 323;
  451. t[276] = 324;
  452. t[278] = 328;
  453. t[284] = 345;
  454. t[285] = 346;
  455. t[286] = 347;
  456. t[292] = 367;
  457. t[295] = 377;
  458. t[296] = 378;
  459. t[298] = 380;
  460. t[305] = 963;
  461. t[306] = 964;
  462. t[307] = 966;
  463. t[308] = 8215;
  464. t[309] = 8252;
  465. t[310] = 8319;
  466. t[311] = 8359;
  467. t[312] = 8592;
  468. t[313] = 8593;
  469. t[337] = 9552;
  470. t[493] = 1039;
  471. t[494] = 1040;
  472. t[705] = 1524;
  473. t[706] = 8362;
  474. t[710] = 64288;
  475. t[711] = 64298;
  476. t[759] = 1617;
  477. t[761] = 1776;
  478. t[763] = 1778;
  479. t[775] = 1652;
  480. t[777] = 1764;
  481. t[778] = 1780;
  482. t[779] = 1781;
  483. t[780] = 1782;
  484. t[782] = 771;
  485. t[783] = 64726;
  486. t[786] = 8363;
  487. t[788] = 8532;
  488. t[790] = 768;
  489. t[791] = 769;
  490. t[792] = 768;
  491. t[795] = 803;
  492. t[797] = 64336;
  493. t[798] = 64337;
  494. t[799] = 64342;
  495. t[800] = 64343;
  496. t[801] = 64344;
  497. t[802] = 64345;
  498. t[803] = 64362;
  499. t[804] = 64363;
  500. t[805] = 64364;
  501. t[2424] = 7821;
  502. t[2425] = 7822;
  503. t[2426] = 7823;
  504. t[2427] = 7824;
  505. t[2428] = 7825;
  506. t[2429] = 7826;
  507. t[2430] = 7827;
  508. t[2433] = 7682;
  509. t[2678] = 8045;
  510. t[2679] = 8046;
  511. t[2830] = 1552;
  512. t[2838] = 686;
  513. t[2840] = 751;
  514. t[2842] = 753;
  515. t[2843] = 754;
  516. t[2844] = 755;
  517. t[2846] = 757;
  518. t[2856] = 767;
  519. t[2857] = 848;
  520. t[2858] = 849;
  521. t[2862] = 853;
  522. t[2863] = 854;
  523. t[2864] = 855;
  524. t[2865] = 861;
  525. t[2866] = 862;
  526. t[2906] = 7460;
  527. t[2908] = 7462;
  528. t[2909] = 7463;
  529. t[2910] = 7464;
  530. t[2912] = 7466;
  531. t[2913] = 7467;
  532. t[2914] = 7468;
  533. t[2916] = 7470;
  534. t[2917] = 7471;
  535. t[2918] = 7472;
  536. t[2920] = 7474;
  537. t[2921] = 7475;
  538. t[2922] = 7476;
  539. t[2924] = 7478;
  540. t[2925] = 7479;
  541. t[2926] = 7480;
  542. t[2928] = 7482;
  543. t[2929] = 7483;
  544. t[2930] = 7484;
  545. t[2932] = 7486;
  546. t[2933] = 7487;
  547. t[2934] = 7488;
  548. t[2936] = 7490;
  549. t[2937] = 7491;
  550. t[2938] = 7492;
  551. t[2940] = 7494;
  552. t[2941] = 7495;
  553. t[2942] = 7496;
  554. t[2944] = 7498;
  555. t[2946] = 7500;
  556. t[2948] = 7502;
  557. t[2950] = 7504;
  558. t[2951] = 7505;
  559. t[2952] = 7506;
  560. t[2954] = 7508;
  561. t[2955] = 7509;
  562. t[2956] = 7510;
  563. t[2958] = 7512;
  564. t[2959] = 7513;
  565. t[2960] = 7514;
  566. t[2962] = 7516;
  567. t[2963] = 7517;
  568. t[2964] = 7518;
  569. t[2966] = 7520;
  570. t[2967] = 7521;
  571. t[2968] = 7522;
  572. t[2970] = 7524;
  573. t[2971] = 7525;
  574. t[2972] = 7526;
  575. t[2974] = 7528;
  576. t[2975] = 7529;
  577. t[2976] = 7530;
  578. t[2978] = 1537;
  579. t[2979] = 1538;
  580. t[2980] = 1539;
  581. t[2982] = 1549;
  582. t[2983] = 1551;
  583. t[2984] = 1552;
  584. t[2986] = 1554;
  585. t[2987] = 1555;
  586. t[2988] = 1556;
  587. t[2990] = 1623;
  588. t[2991] = 1624;
  589. t[2995] = 1775;
  590. t[2999] = 1791;
  591. t[3002] = 64290;
  592. t[3003] = 64291;
  593. t[3004] = 64292;
  594. t[3006] = 64294;
  595. t[3007] = 64295;
  596. t[3008] = 64296;
  597. t[3011] = 1900;
  598. t[3014] = 8223;
  599. t[3015] = 8244;
  600. t[3017] = 7532;
  601. t[3018] = 7533;
  602. t[3019] = 7534;
  603. t[3075] = 7590;
  604. t[3076] = 7591;
  605. t[3079] = 7594;
  606. t[3080] = 7595;
  607. t[3083] = 7598;
  608. t[3084] = 7599;
  609. t[3087] = 7602;
  610. t[3088] = 7603;
  611. t[3091] = 7606;
  612. t[3092] = 7607;
  613. t[3095] = 7610;
  614. t[3096] = 7611;
  615. t[3099] = 7614;
  616. t[3100] = 7615;
  617. t[3103] = 7618;
  618. t[3104] = 7619;
  619. t[3107] = 8337;
  620. t[3108] = 8338;
  621. t[3116] = 1884;
  622. t[3119] = 1885;
  623. t[3120] = 1885;
  624. t[3123] = 1886;
  625. t[3124] = 1886;
  626. t[3127] = 1887;
  627. t[3128] = 1887;
  628. t[3131] = 1888;
  629. t[3132] = 1888;
  630. t[3135] = 1889;
  631. t[3136] = 1889;
  632. t[3139] = 1890;
  633. t[3140] = 1890;
  634. t[3143] = 1891;
  635. t[3144] = 1891;
  636. t[3147] = 1892;
  637. t[3148] = 1892;
  638. t[3153] = 580;
  639. t[3154] = 581;
  640. t[3157] = 584;
  641. t[3158] = 585;
  642. t[3161] = 588;
  643. t[3162] = 589;
  644. t[3165] = 891;
  645. t[3166] = 892;
  646. t[3169] = 1274;
  647. t[3170] = 1275;
  648. t[3173] = 1278;
  649. t[3174] = 1279;
  650. t[3181] = 7622;
  651. t[3182] = 7623;
  652. t[3282] = 11799;
  653. t[3316] = 578;
  654. t[3379] = 42785;
  655. t[3393] = 1159;
  656. t[3416] = 8377;
  657. });
  658. var getSupplementalGlyphMapForArialBlack = (0, _util.getLookupTableFactory)(function (t) {
  659. t[227] = 322;
  660. t[264] = 261;
  661. t[291] = 346;
  662. });
  663. var getSupplementalGlyphMapForCalibri = (0, _util.getLookupTableFactory)(function (t) {
  664. t[1] = 32;
  665. t[4] = 65;
  666. t[17] = 66;
  667. t[18] = 67;
  668. t[24] = 68;
  669. t[28] = 69;
  670. t[38] = 70;
  671. t[39] = 71;
  672. t[44] = 72;
  673. t[47] = 73;
  674. t[58] = 74;
  675. t[60] = 75;
  676. t[62] = 76;
  677. t[68] = 77;
  678. t[69] = 78;
  679. t[75] = 79;
  680. t[87] = 80;
  681. t[89] = 81;
  682. t[90] = 82;
  683. t[94] = 83;
  684. t[100] = 84;
  685. t[104] = 85;
  686. t[115] = 86;
  687. t[116] = 87;
  688. t[121] = 88;
  689. t[122] = 89;
  690. t[127] = 90;
  691. t[258] = 97;
  692. t[268] = 261;
  693. t[271] = 98;
  694. t[272] = 99;
  695. t[273] = 263;
  696. t[282] = 100;
  697. t[286] = 101;
  698. t[295] = 281;
  699. t[296] = 102;
  700. t[336] = 103;
  701. t[346] = 104;
  702. t[349] = 105;
  703. t[361] = 106;
  704. t[364] = 107;
  705. t[367] = 108;
  706. t[371] = 322;
  707. t[373] = 109;
  708. t[374] = 110;
  709. t[381] = 111;
  710. t[383] = 243;
  711. t[393] = 112;
  712. t[395] = 113;
  713. t[396] = 114;
  714. t[400] = 115;
  715. t[401] = 347;
  716. t[410] = 116;
  717. t[437] = 117;
  718. t[448] = 118;
  719. t[449] = 119;
  720. t[454] = 120;
  721. t[455] = 121;
  722. t[460] = 122;
  723. t[463] = 380;
  724. t[853] = 44;
  725. t[855] = 58;
  726. t[856] = 46;
  727. t[876] = 47;
  728. t[878] = 45;
  729. t[882] = 45;
  730. t[894] = 40;
  731. t[895] = 41;
  732. t[896] = 91;
  733. t[897] = 93;
  734. t[923] = 64;
  735. t[1004] = 48;
  736. t[1005] = 49;
  737. t[1006] = 50;
  738. t[1007] = 51;
  739. t[1008] = 52;
  740. t[1009] = 53;
  741. t[1010] = 54;
  742. t[1011] = 55;
  743. t[1012] = 56;
  744. t[1013] = 57;
  745. t[1081] = 37;
  746. t[1085] = 43;
  747. t[1086] = 45;
  748. });
  749. exports.getStdFontMap = getStdFontMap;
  750. exports.getNonStdFontMap = getNonStdFontMap;
  751. exports.getSerifFonts = getSerifFonts;
  752. exports.getSymbolsFonts = getSymbolsFonts;
  753. exports.getGlyphMapForStandardFonts = getGlyphMapForStandardFonts;
  754. exports.getSupplementalGlyphMapForArialBlack = getSupplementalGlyphMapForArialBlack;
  755. exports.getSupplementalGlyphMapForCalibri = getSupplementalGlyphMapForCalibri;