mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #18802 from Snuffleupagus/issue-18801
Add basic support for non-embedded GillSansMT fonts (issue 18801)
This commit is contained in:
commit
7063be9860
3 changed files with 14 additions and 0 deletions
|
@ -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";
|
||||
|
|
1
test/pdfs/issue18801.pdf.link
Normal file
1
test/pdfs/issue18801.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/user-attachments/files/17150005/Test_FontIssue.2.pdf
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue