mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 01:28:06 +02:00
Add basic support for non-embedded ArialUnicodeMS fonts (issue 15044)
This appears to be a Microsoft-specific version of the regular Arial font, hence we simply map this to Helvetica in the same way that we treat many other Arial-named fonts.
This commit is contained in:
parent
89cebcb6f9
commit
64cce1269e
3 changed files with 14 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue