mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Add basic support for non-embedded GillSansMT fonts (issue 18801)
Given the following excerpt from the [Wikipedia article](https://en.wikipedia.org/wiki/Gill_Sans), mapping this to Helvetica should hopefully be fine: > It has been described as "the British Helvetica" because of its lasting popularity in British design.
This commit is contained in:
parent
6daaa2fef7
commit
7db9941e0f
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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue