Skip to content

Commit 365cc69

Browse files
Extend getGlyphMapForStandardFonts with some Russian entries (issue 20453)
1 parent ddf3a98 commit 365cc69

4 files changed

Lines changed: 41 additions & 0 deletions

File tree

src/core/standard_fonts.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,39 @@ const getGlyphMapForStandardFonts = getLookupTableFactory(function (t) {
574574
t[598] = 1068;
575575
t[599] = 1069;
576576
t[600] = 1070;
577+
t[601] = 1071;
578+
t[602] = 1072;
579+
t[603] = 1073;
580+
t[604] = 1074;
581+
t[605] = 1075;
582+
t[606] = 1076;
583+
t[607] = 1077;
584+
t[608] = 1078;
585+
t[609] = 1079;
586+
t[610] = 1080;
587+
t[611] = 1081;
588+
t[612] = 1082;
589+
t[613] = 1083;
590+
t[614] = 1084;
591+
t[615] = 1085;
592+
t[616] = 1086;
593+
t[617] = 1087;
594+
t[618] = 1088;
595+
t[619] = 1089;
596+
t[620] = 1090;
597+
t[621] = 1091;
598+
t[622] = 1092;
599+
t[623] = 1093;
600+
t[624] = 1094;
601+
t[625] = 1095;
602+
t[626] = 1096;
603+
t[627] = 1097;
604+
t[628] = 1098;
605+
t[629] = 1099;
606+
t[630] = 1100;
607+
t[631] = 1101;
608+
t[632] = 1102;
609+
t[633] = 1103;
577610
t[672] = 1488;
578611
t[673] = 1489;
579612
t[674] = 1490;

test/pdfs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@
672672
!issue17730.pdf
673673
!bug1883609.pdf
674674
!issue19550.pdf
675+
!issue20453.pdf
675676
!issue17808.pdf
676677
!issue17871_bottom_right.pdf
677678
!issue17871_top_right.pdf

test/pdfs/issue20453.pdf

21.7 KB
Binary file not shown.

test/test_manifest.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4549,6 +4549,13 @@
45494549
"rounds": 1,
45504550
"type": "eq"
45514551
},
4552+
{
4553+
"id": "issue20453",
4554+
"file": "pdfs/issue20453.pdf",
4555+
"md5": "20b5f2a2ea2933328edf023ef48a0759",
4556+
"rounds": 1,
4557+
"type": "eq"
4558+
},
45524559
{
45534560
"id": "issue19611",
45544561
"file": "pdfs/issue19611.pdf",

0 commit comments

Comments
 (0)