Skip to content

Commit

Permalink
Merge pull request #19236 from Snuffleupagus/issue-19234
Browse files Browse the repository at this point in the history
Add basic support for non-embedded HelveticaLTStd-Bold fonts (issue 19234)
  • Loading branch information
Snuffleupagus authored Dec 18, 2024
2 parents 8985d80 + 189183a commit 0b48777
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/standard_fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const getStdFontMap = getLookupTableFactory(function (t) {
t.CourierNewPSMT = "Courier";
t["Helvetica-BoldItalic"] = "Helvetica-BoldOblique";
t["Helvetica-Italic"] = "Helvetica-Oblique";
t["HelveticaLTStd-Bold"] = "Helvetica-Bold";
t["Symbol-Bold"] = "Symbol";
t["Symbol-BoldItalic"] = "Symbol";
t["Symbol-Italic"] = "Symbol";
Expand Down
1 change: 1 addition & 0 deletions test/pdfs/issue19234.pdf.link
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/user-attachments/files/18172261/Tax3921.pdf
9 changes: 9 additions & 0 deletions test/test_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11223,5 +11223,14 @@
"rounds": 1,
"disableFontFace": true,
"type": "eq"
},
{
"id": "issue19234",
"file": "pdfs/issue19234.pdf",
"md5": "2b57e3c43fa0ae4a606c13df007c202f",
"rounds": 1,
"link": true,
"disableFontFace": true,
"type": "eq"
}
]

0 comments on commit 0b48777

Please sign in to comment.