mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Support Type1 font files with incomplete /CharStrings definitions (issue 14462)
Please refer to https://www.pdfa.org/norm-refs/Type1Fonts.pdf#page=15 for the expected format for the /CharStrings entries. In the referenced PDF document the /CharStrings are missing the expected end-token, which causes us to swallow the start of the next glyph name.
This commit is contained in:
parent
f955b0e20c
commit
a13ae5d97d
4 changed files with 16 additions and 0 deletions
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
|
@ -483,6 +483,7 @@
|
|||
!tiling-pattern-box.pdf
|
||||
!tiling-pattern-large-steps.pdf
|
||||
!issue13201.pdf
|
||||
!issue14462_reduced.pdf
|
||||
!issue11555.pdf
|
||||
!issue12337.pdf
|
||||
!pr12564.pdf
|
||||
|
|
BIN
test/pdfs/issue14462_reduced.pdf
Normal file
BIN
test/pdfs/issue14462_reduced.pdf
Normal file
Binary file not shown.
|
@ -3699,6 +3699,12 @@
|
|||
"link": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue14462",
|
||||
"file": "pdfs/issue14462_reduced.pdf",
|
||||
"md5": "afe38169322f8e124eaeae00f94ea596",
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "preistabelle",
|
||||
"file": "pdfs/preistabelle.pdf",
|
||||
"md5": "d2f0b2086160d4f3d325c79a5dc1fb4d",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue