1
0
Fork 0
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:
Brendan Dahl 2015-12-02 16:47:20 -08:00
parent e93512f1eb
commit 87762afec4
4 changed files with 21 additions and 5 deletions

View file

@ -22,6 +22,7 @@
!bug1020858.pdf
!bug1050040.pdf
!bug1200096.pdf
!issue5564_reduced.pdf
!canvas.pdf
!complex_ttf_font.pdf
!extgstate.pdf

Binary file not shown.

View file

@ -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",