Move the SegoeUISymbol font to the getNonStdFontMap (PR 8698 follow-up)

For reasons that I now cannot even begin to understand, the non-standard SegoeUISymbol font was placed in the `getStdFontMap`. That honestly makes no sense, hence this patch which does what I *should* have done from the start.
This commit is contained in:
Jonas Jenwald 2019-12-28 10:59:03 +01:00
parent 47ab4b839f
commit f8ab8c4d3a

View File

@ -58,7 +58,6 @@ const getStdFontMap = getLookupTableFactory(function(t) {
t["Helvetica-BoldOblique"] = "Helvetica-BoldOblique";
t["Helvetica-Italic"] = "Helvetica-Oblique";
t["Helvetica-Oblique"] = "Helvetica-Oblique";
t["SegoeUISymbol"] = "Helvetica";
t["Symbol-Bold"] = "Symbol";
t["Symbol-BoldItalic"] = "Symbol";
t["Symbol-Italic"] = "Symbol";
@ -118,6 +117,7 @@ const getNonStdFontMap = getLookupTableFactory(function(t) {
t["MS-PMincho-BoldItalic"] = "MS PMincho-BoldItalic";
t["MS-PMincho-Italic"] = "MS PMincho-Italic";
t["NuptialScript"] = "Times-Italic";
t["SegoeUISymbol"] = "Helvetica";
t["Wingdings"] = "ZapfDingbats";
});