mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Extend getNonStdFontMap
for non-embedded Impact fonts (bug 1365930)
According to https://en.wikipedia.org/wiki/Impact_(typeface) this font should be available on all current versions of Windows, and with the recently added font-substitution we should actually be able to render it correctly (at least on Windows).
This commit is contained in:
parent
38287d9435
commit
f657de7de2
4 changed files with 8 additions and 0 deletions
|
@ -136,6 +136,7 @@ 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.Impact = "Helvetica";
|
||||
t["ItcSymbol-Bold"] = "Helvetica-Bold";
|
||||
t["ItcSymbol-BoldItalic"] = "Helvetica-BoldOblique";
|
||||
t["ItcSymbol-Book"] = "Helvetica";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue