mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
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:
parent
47ab4b839f
commit
f8ab8c4d3a
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue