1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 09:38:06 +02:00

Extend getSupplementalGlyphMapForCalibri with more entries (issue 15443)

This commit is contained in:
Jonas Jenwald 2022-09-15 22:19:16 +02:00
parent 9bfd997c12
commit 7a19def34c
4 changed files with 117 additions and 0 deletions

View file

@ -763,18 +763,21 @@ const getSupplementalGlyphMapForArialBlack = getLookupTableFactory(function (
const getSupplementalGlyphMapForCalibri = getLookupTableFactory(function (t) {
t[1] = 32;
t[4] = 65;
t[5] = 192;
t[6] = 193;
t[17] = 66;
t[18] = 67;
t[21] = 268;
t[24] = 68;
t[28] = 69;
t[29] = 200;
t[30] = 201;
t[32] = 282;
t[38] = 70;
t[39] = 71;
t[44] = 72;
t[47] = 73;
t[48] = 204;
t[49] = 205;
t[58] = 74;
t[60] = 75;
@ -782,6 +785,7 @@ const getSupplementalGlyphMapForCalibri = getLookupTableFactory(function (t) {
t[68] = 77;
t[69] = 78;
t[75] = 79;
t[76] = 210;
t[87] = 80;
t[89] = 81;
t[90] = 82;
@ -798,6 +802,7 @@ const getSupplementalGlyphMapForCalibri = getLookupTableFactory(function (t) {
t[127] = 90;
t[129] = 381;
t[258] = 97;
t[259] = 224;
t[260] = 225;
t[268] = 261;
t[271] = 98;
@ -806,6 +811,7 @@ const getSupplementalGlyphMapForCalibri = getLookupTableFactory(function (t) {
t[275] = 269;
t[282] = 100;
t[286] = 101;
t[287] = 232;
t[288] = 233;
t[290] = 283;
t[295] = 281;
@ -813,6 +819,7 @@ const getSupplementalGlyphMapForCalibri = getLookupTableFactory(function (t) {
t[336] = 103;
t[346] = 104;
t[349] = 105;
t[350] = 236;
t[351] = 237;
t[361] = 106;
t[364] = 107;
@ -821,6 +828,7 @@ const getSupplementalGlyphMapForCalibri = getLookupTableFactory(function (t) {
t[373] = 109;
t[374] = 110;
t[381] = 111;
t[382] = 242;
t[383] = 243;
t[393] = 112;
t[395] = 113;