Merge pull request #11625 from Snuffleupagus/issue-11451
Use the same non-embedded Wingdings fallback for fonts named "Wingdings-Regular" too (PR 5463 follow-up, issue 11451)
This commit is contained in:
commit
30e0f028b5
@ -2373,7 +2373,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
||||
if (!properties.file) {
|
||||
if (/Symbol/i.test(properties.name)) {
|
||||
encoding = SymbolSetEncoding;
|
||||
} else if (/Dingbats/i.test(properties.name)) {
|
||||
} else if (/Dingbats|Wingdings/i.test(properties.name)) {
|
||||
encoding = ZapfDingbatsEncoding;
|
||||
}
|
||||
}
|
||||
|
@ -119,6 +119,7 @@ const getNonStdFontMap = getLookupTableFactory(function(t) {
|
||||
t["NuptialScript"] = "Times-Italic";
|
||||
t["SegoeUISymbol"] = "Helvetica";
|
||||
t["Wingdings"] = "ZapfDingbats";
|
||||
t["Wingdings-Regular"] = "ZapfDingbats";
|
||||
});
|
||||
|
||||
const getSerifFonts = getLookupTableFactory(function(t) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user