Skip to content

Commit

Permalink
Merge pull request #18802 from Snuffleupagus/issue-18801
Browse files Browse the repository at this point in the history
Add basic support for non-embedded GillSansMT fonts (issue 18801)
  • Loading branch information
Snuffleupagus authored Sep 26, 2024
2 parents 6daaa2f + 7db9941 commit 7063be9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/standard_fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
1 change: 1 addition & 0 deletions test/pdfs/issue18801.pdf.link
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/user-attachments/files/17150005/Test_FontIssue.2.pdf
9 changes: 9 additions & 0 deletions test/test_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7063be9

Please sign in to comment.