diff --git a/src/core/standard_fonts.js b/src/core/standard_fonts.js index 1883b2c3858d6..56212b9019716 100644 --- a/src/core/standard_fonts.js +++ b/src/core/standard_fonts.js @@ -136,6 +136,10 @@ 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.GillSansMT = "Helvetica"; + t["GillSansMT-Bold"] = "Helvetica-Bold"; + t["GillSansMT-BoldItalic"] = "Helvetica-BoldOblique"; + t["GillSansMT-Italic"] = "Helvetica-Oblique"; t.Impact = "Helvetica"; t["ItcSymbol-Bold"] = "Helvetica-Bold"; t["ItcSymbol-BoldItalic"] = "Helvetica-BoldOblique"; diff --git a/test/pdfs/issue18801.pdf.link b/test/pdfs/issue18801.pdf.link new file mode 100644 index 0000000000000..3dd8e4e32d71e --- /dev/null +++ b/test/pdfs/issue18801.pdf.link @@ -0,0 +1 @@ +https://github.com/user-attachments/files/17150005/Test_FontIssue.2.pdf diff --git a/test/test_manifest.json b/test/test_manifest.json index d73a2ab2c0651..b078193a42386 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -3031,6 +3031,15 @@ "lastPage": 1, "type": "eq" }, + { + "id": "issue18801", + "file": "pdfs/issue18801.pdf", + "md5": "580258d9a282bfbec7b74da076bbccc9", + "link": true, + "rounds": 1, + "lastPage": 1, + "type": "eq" + }, { "id": "issue11139", "file": "pdfs/issue11139.pdf",