mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +02:00
Remove glyph id's outside the range of valid glyphs.
OTS does not like invalid glyph ids in a camp table.
This commit is contained in:
parent
e93512f1eb
commit
87762afec4
4 changed files with 21 additions and 5 deletions
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
|
@ -22,6 +22,7 @@
|
|||
!bug1020858.pdf
|
||||
!bug1050040.pdf
|
||||
!bug1200096.pdf
|
||||
!issue5564_reduced.pdf
|
||||
!canvas.pdf
|
||||
!complex_ttf_font.pdf
|
||||
!extgstate.pdf
|
||||
|
|
BIN
test/pdfs/issue5564_reduced.pdf
Normal file
BIN
test/pdfs/issue5564_reduced.pdf
Normal file
Binary file not shown.
|
@ -40,6 +40,16 @@
|
|||
"type": "load",
|
||||
"about": "PDF with undefined stream length."
|
||||
},
|
||||
{ "id": "issue5564_reduced",
|
||||
"file": "pdfs/issue5564_reduced.pdf",
|
||||
"md5": "097853614b56fc10bfbf7e56daa0c66b",
|
||||
"rounds": 1,
|
||||
"link": false,
|
||||
"firstPage": 1,
|
||||
"lastPage": 1,
|
||||
"type": "eq",
|
||||
"about": "Causes cmap to be created with invalid glyph ids."
|
||||
},
|
||||
{ "id": "bug946506",
|
||||
"file": "pdfs/bug946506.pdf",
|
||||
"md5": "c28911b5c31bdc337c2ce404c5971cfc",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue