2
0

standard_fonts.js 17 KB

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