Merge pull request #16446 from Snuffleupagus/bug-1365930

Extend `getNonStdFontMap` for non-embedded Impact fonts (bug 1365930)
This commit is contained in:
Tim van der Meij 2023-05-20 12:20:52 +02:00 committed by GitHub
commit 1d74936ea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 0 deletions

View File

@ -136,6 +136,7 @@ const getNonStdFontMap = getLookupTableFactory(function (t) {
t["ComicSansMS-Bold"] = "Comic Sans MS-Bold";
t["ComicSansMS-BoldItalic"] = "Comic Sans MS-BoldItalic";
t["ComicSansMS-Italic"] = "Comic Sans MS-Italic";
t.Impact = "Helvetica";
t["ItcSymbol-Bold"] = "Helvetica-Bold";
t["ItcSymbol-BoldItalic"] = "Helvetica-BoldOblique";
t["ItcSymbol-Book"] = "Helvetica";

View File

@ -383,6 +383,7 @@
!issue4650.pdf
!issue6721_reduced.pdf
!issue3025.pdf
!bug1365930.pdf
!french_diacritics.pdf
!issue2099-1.pdf
!issue3371.pdf

BIN
test/pdfs/bug1365930.pdf Normal file

Binary file not shown.

View File

@ -2329,6 +2329,12 @@
"rounds": 1,
"type": "eq"
},
{ "id": "bug1365930",
"file": "pdfs/bug1365930.pdf",
"md5": "0db06efce060d82da16a79e8bd762a1c",
"rounds": 1,
"type": "eq"
},
{ "id": "bug1337429",
"file": "pdfs/bug1337429.pdf",
"md5": "4e6e4dfdab884e9465bdce657b590028",