mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 01:28:06 +02:00
Extend getGlyphMapForStandardFonts
with some Hebrew entries (issue 15033)
This only adds the minimum entries required in order to render the referenced document correctly, rather than trying to support "all" Hebrew glyphs, to ensure that all lines in `getGlyphMapForStandardFonts` are covered by tests.
This commit is contained in:
parent
1a6ae5f034
commit
2dca14028d
3 changed files with 36 additions and 0 deletions
|
@ -524,6 +524,33 @@ const getGlyphMapForStandardFonts = getLookupTableFactory(function (t) {
|
|||
t[337] = 9552;
|
||||
t[493] = 1039;
|
||||
t[494] = 1040;
|
||||
t[672] = 1488;
|
||||
t[673] = 1489;
|
||||
t[674] = 1490;
|
||||
t[675] = 1491;
|
||||
t[676] = 1492;
|
||||
t[677] = 1493;
|
||||
t[678] = 1494;
|
||||
t[679] = 1495;
|
||||
t[680] = 1496;
|
||||
t[681] = 1497;
|
||||
t[682] = 1498;
|
||||
t[683] = 1499;
|
||||
t[684] = 1500;
|
||||
t[685] = 1501;
|
||||
t[686] = 1502;
|
||||
t[687] = 1503;
|
||||
t[688] = 1504;
|
||||
t[689] = 1505;
|
||||
t[690] = 1506;
|
||||
t[691] = 1507;
|
||||
t[692] = 1508;
|
||||
t[693] = 1509;
|
||||
t[694] = 1510;
|
||||
t[695] = 1511;
|
||||
t[696] = 1512;
|
||||
t[697] = 1513;
|
||||
t[698] = 1514;
|
||||
t[705] = 1524;
|
||||
t[706] = 8362;
|
||||
t[710] = 64288;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue