1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 23:28:06 +02:00

Parse Type1 font files to determine the various Length{n} properties, instead of trusting the PDF file (issue 5686, issue 3928)

Fixes 5686.
Fixes 3928.
This commit is contained in:
Jonas Jenwald 2016-03-05 22:32:54 +01:00
parent c40df8a393
commit 05cf709f8e
6 changed files with 141 additions and 4 deletions

View file

@ -49,6 +49,8 @@
!issue3207r.pdf
!issue3263r.pdf
!issue3879r.pdf
!issue5686.pdf
!issue3928.pdf
!close-path-bug.pdf
!issue6019.pdf
!issue6621.pdf

BIN
test/pdfs/issue3928.pdf Normal file

Binary file not shown.

BIN
test/pdfs/issue5686.pdf Normal file

Binary file not shown.

View file

@ -1443,6 +1443,22 @@
"link": false,
"type": "eq"
},
{ "id": "issue5686",
"file": "pdfs/issue5686.pdf",
"md5": "78d16b9df07a355ad00d70504a9194f8",
"rounds": 1,
"link": false,
"type": "eq",
"about": "Type1 font where Length1/Length2 are slightly incorrect."
},
{ "id": "issue3928",
"file": "pdfs/issue3928.pdf",
"md5": "1963493f843e981cbe768b707ef7f08a",
"rounds": 1,
"link": false,
"type": "eq",
"about": "Type1 font where Length1/Length2 are several orders of magnitude too large."
},
{ "id": "html5checker",
"file": "pdfs/html5checker.pdf",
"md5": "74bbd80d1e7eb5f2951582233ef9ebab",