mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Fallback to font name matching, when checking for serif fonts (issue 13845)
In order to handle fonts that specify completely bogus /Flags-entries, fallback to font name matching to determine if the font is a serif one.
This commit is contained in:
parent
8dc22f40c7
commit
9acfe486d4
5 changed files with 27 additions and 1 deletions
1
test/pdfs/issue13845.pdf.link
Normal file
1
test/pdfs/issue13845.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/6916129/example.pdf
|
|
@ -1084,6 +1084,14 @@
|
|||
"type": "eq",
|
||||
"forms": true
|
||||
},
|
||||
{ "id": "issue13845",
|
||||
"file": "pdfs/issue13845.pdf",
|
||||
"md5": "7c6b675f61ae68a2e416f4aa26da567c",
|
||||
"link": true,
|
||||
"rounds": 1,
|
||||
"lastPage": 1,
|
||||
"type": "text"
|
||||
},
|
||||
{ "id": "xfa_bug1718521_1",
|
||||
"file": "pdfs/xfa_bug1718521_1.pdf",
|
||||
"md5": "9b89dd9e6a4c6c3258ca24debd806863",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue