1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Add a fallback for non-embedded SegoeUISymbol font (issue 8697)

The PDF file uses a non-embedded SegoeUISymbol font, which is *not* a standard font (and is mainly used by Microsoft, see https://en.wikipedia.org/wiki/Segoe).

Fixes 8697.
This commit is contained in:
Jonas Jenwald 2017-07-25 11:57:38 +02:00
parent bd8c12119a
commit 23ec6b16ca
4 changed files with 104 additions and 0 deletions

View file

@ -57,6 +57,7 @@ var 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';