Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Jul 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/core/standard_fonts.js
Expand Up @@ -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';
Expand Down
1 change: 1 addition & 0 deletions test/pdfs/.gitignore
Expand Up @@ -55,6 +55,7 @@
!issue8424.pdf
!issue8480.pdf
!issue8570.pdf
!issue8697.pdf
!bad-PageLabels.pdf
!filled-background.pdf
!ArabicCIDTrueType.pdf
Expand Down
Binary file added test/pdfs/issue8697.pdf
Binary file not shown.
7 changes: 7 additions & 0 deletions test/test_manifest.json
Expand Up @@ -1765,6 +1765,13 @@
"rounds": 1,
"type": "eq"
},
{ "id": "issue8697",
"file": "pdfs/issue8697.pdf",
"md5": "65c6f0d861d49fa685051a64c3f78694",
"link": false,
"rounds": 1,
"type": "eq"
},
{ "id": "non-embedded-NuptialScript",
"file": "pdfs/non-embedded-NuptialScript.pdf",
"md5": "94225085d3fbf5d2d12b8be1c52bb3c1",
Expand Down