1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-28 23:28:16 +02:00

Attempt to improve non-embedded Wingdings font support (bug 1652224)

Now that font-substitution has been implemented, we should be able to do much a better job at supporting non-embedded Wingdings fonts.
Given that this is a Windows-specific font, see https://en.wikipedia.org/wiki/Wingdings, this is however not guaranteed to work (well) on other platforms.
This commit is contained in:
Jonas Jenwald 2023-05-21 18:15:45 +02:00
parent daa48e5305
commit 5a7beb9f30
7 changed files with 41 additions and 6 deletions

View file

@ -166,8 +166,6 @@ const getNonStdFontMap = getLookupTableFactory(function (t) {
t["MS-PMincho-Italic"] = "MS PMincho-Italic";
t.NuptialScript = "Times-Italic";
t.SegoeUISymbol = "Helvetica";
t.Wingdings = "ZapfDingbats";
t["Wingdings-Regular"] = "ZapfDingbats";
});
const getSerifFonts = getLookupTableFactory(function (t) {