Skip to content

Commit f90732e

Browse files
committed
Extend getSupplementalGlyphMapForCalibri with Pound-sign (issue 19695)
1 parent a229914 commit f90732e

4 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/core/standard_fonts.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,7 @@ const getSupplementalGlyphMapForCalibri = getLookupTableFactory(function (t) {
906906
t[896] = 91;
907907
t[897] = 93;
908908
t[923] = 64;
909+
t[940] = 163;
909910
t[1004] = 48;
910911
t[1005] = 49;
911912
t[1006] = 50;

test/pdfs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@
260260
!bug860632.pdf
261261
!bug894572.pdf
262262
!bug911034.pdf
263+
!issue19695.pdf
263264
!bug1108301.pdf
264265
!issue10301.pdf
265266
!bug1157493.pdf

test/pdfs/issue19695.pdf

1.45 KB
Binary file not shown.

test/test_manifest.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,13 @@
706706
"rounds": 1,
707707
"type": "load"
708708
},
709+
{
710+
"id": "issue19695",
711+
"file": "pdfs/issue19695.pdf",
712+
"md5": "963474b8847afc9eeda4ff4635f7a523",
713+
"rounds": 1,
714+
"type": "eq"
715+
},
709716
{
710717
"id": "openofficearabiccidtruetype-pdf",
711718
"file": "pdfs/arial_unicode_ab_cidfont.pdf",

0 commit comments

Comments
 (0)