mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Ignore named encoding for non-embedded symbol fonts (issue 16464)
The affected font is non-embedded ZapfDingbats, however the PDF document for some inexplicable reason specifies the encoding as "WinAnsiEncoding" (which is obviously wrong). To work-around this bug in the PDF generator, we'll simply ignore any explicitly specified named encoding for non-embedded symbol fonts.
This commit is contained in:
parent
a6f9505a39
commit
aeed6f2b67
3 changed files with 21 additions and 1 deletions
1
test/pdfs/issue16464.pdf.link
Normal file
1
test/pdfs/issue16464.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/11548733/DocumentWithCheckbox.pdf
|
|
@ -58,6 +58,14 @@
|
|||
"lastPage": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue16464",
|
||||
"file": "pdfs/issue16464.pdf",
|
||||
"md5": "2bd97ff909e2185605788daa70de38ee",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"lastPage": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "tracemonkey-fbf",
|
||||
"file": "pdfs/tracemonkey.pdf",
|
||||
"md5": "9a192d8b1a7dc652a19835f6f08098bd",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue