mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-29 15:47:57 +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:
parent
daa48e5305
commit
5a7beb9f30
7 changed files with 41 additions and 6 deletions
|
@ -1238,9 +1238,6 @@ class Font {
|
|||
this.differences
|
||||
);
|
||||
} else if (/Dingbats/i.test(fontName)) {
|
||||
if (/Wingdings/i.test(name)) {
|
||||
warn("Non-embedded Wingdings font, falling back to ZapfDingbats.");
|
||||
}
|
||||
this.toFontChar = buildToFontChar(
|
||||
ZapfDingbatsEncoding,
|
||||
getDingbatsGlyphsUnicode(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue