Skip to content

Commit

Permalink
Extend getGlyphMapForStandardFonts with some Cyrillic entries (issu…
Browse files Browse the repository at this point in the history
…e 19550)
  • Loading branch information
Snuffleupagus committed Feb 26, 2025
1 parent 0e08722 commit 59cb9a0
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/core/standard_fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,37 @@ const getGlyphMapForStandardFonts = getLookupTableFactory(function (t) {
t[337] = 9552;
t[493] = 1039;
t[494] = 1040;
t[570] = 1040;
t[571] = 1041;
t[572] = 1042;
t[573] = 1043;
t[574] = 1044;
t[575] = 1045;
t[576] = 1046;
t[577] = 1047;
t[578] = 1048;
t[579] = 1049;
t[580] = 1050;
t[581] = 1051;
t[582] = 1052;
t[583] = 1053;
t[584] = 1054;
t[585] = 1055;
t[586] = 1056;
t[587] = 1057;
t[588] = 1058;
t[589] = 1059;
t[590] = 1060;
t[591] = 1061;
t[592] = 1062;
t[593] = 1063;
t[594] = 1064;
t[595] = 1065;
t[596] = 1066;
t[597] = 1067;
t[598] = 1068;
t[599] = 1069;
t[600] = 1070;
t[672] = 1488;
t[673] = 1489;
t[674] = 1490;
Expand Down
1 change: 1 addition & 0 deletions test/pdfs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@
!bug1868759.pdf
!issue17730.pdf
!bug1883609.pdf
!issue19550.pdf
!issue17808.pdf
!issue17871_bottom_right.pdf
!issue17871_top_right.pdf
Expand Down
Binary file added test/pdfs/issue19550.pdf
Binary file not shown.
7 changes: 7 additions & 0 deletions test/test_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3906,6 +3906,13 @@
"7R": false
}
},
{
"id": "issue19550",
"file": "pdfs/issue19550.pdf",
"md5": "4c978bd99348789e05dad1d2a919ddf0",
"rounds": 1,
"type": "eq"
},
{
"id": "issue1127-text",
"file": "pdfs/issue1127.pdf",
Expand Down

0 comments on commit 59cb9a0

Please sign in to comment.