mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Prevent readCmapTable
from failing if the cmap
is missing in TrueType fonts
Fixes http://arrow.dit.ie/cgi/viewcontent.cgi?article=1000&context=aaschadpoth#page=3.
This commit is contained in:
parent
1280b7b76b
commit
ff64ef0243
4 changed files with 17 additions and 0 deletions
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
|
@ -2,6 +2,7 @@
|
|||
*.error
|
||||
|
||||
!tracemonkey.pdf
|
||||
!TrueType_without_cmap.pdf
|
||||
!franz.pdf
|
||||
!franz_2.pdf
|
||||
!xref_command_missing.pdf
|
||||
|
|
BIN
test/pdfs/TrueType_without_cmap.pdf
Normal file
BIN
test/pdfs/TrueType_without_cmap.pdf
Normal file
Binary file not shown.
|
@ -1196,6 +1196,13 @@
|
|||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "TrueType_without_cmap",
|
||||
"file": "pdfs/TrueType_without_cmap.pdf",
|
||||
"md5": "afca8bb11f2e1f7298b4e5dd85785fb0",
|
||||
"link": false,
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue3323",
|
||||
"file": "pdfs/issue3323.pdf",
|
||||
"md5": "1a14ff574013caeafa9d598269988764",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue