Merge pull request #15046 from Snuffleupagus/issue-15044

Add basic support for non-embedded ArialUnicodeMS fonts (issue 15044)
This commit is contained in:
Jonas Jenwald 2022-06-15 11:27:19 +02:00 committed by GitHub
commit c3d0858062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View File

@ -54,10 +54,14 @@ const getStdFontMap = getLookupTableFactory(function (t) {
t["Arial-Bold"] = "Helvetica-Bold";
t["Arial-BoldItalic"] = "Helvetica-BoldOblique";
t["Arial-Italic"] = "Helvetica-Oblique";
t.ArialMT = "Helvetica";
t["Arial-BoldItalicMT"] = "Helvetica-BoldOblique";
t["Arial-BoldMT"] = "Helvetica-Bold";
t["Arial-ItalicMT"] = "Helvetica-Oblique";
t.ArialMT = "Helvetica";
t.ArialUnicodeMS = "Helvetica";
t["ArialUnicodeMS-Bold"] = "Helvetica-Bold";
t["ArialUnicodeMS-BoldItalic"] = "Helvetica-BoldOblique";
t["ArialUnicodeMS-Italic"] = "Helvetica-Oblique";
t["Courier-BoldItalic"] = "Courier-BoldOblique";
t["Courier-Italic"] = "Courier-Oblique";
t.CourierNew = "Courier";

View File

@ -0,0 +1 @@
https://github.com/mozilla/pdf.js/files/8903822/HY0030809983.pdf

View File

@ -4966,6 +4966,14 @@
"lastPage": 1,
"type": "eq"
},
{ "id": "issue15044",
"file": "pdfs/issue15044.pdf",
"md5": "a1ef114e432df51f0c6cbe22c66c5c2e",
"rounds": 1,
"link": true,
"lastPage": 1,
"type": "eq"
},
{ "id": "gesamt",
"file": "pdfs/gesamt.pdf",
"md5": "743aaa6f46ed0a42864f079d632d942e",