mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #3268 from yurydelendik/issue-3207
Fixes reading unordered Subrs in Type1
This commit is contained in:
commit
59f2e71738
4 changed files with 12 additions and 4 deletions
1
test/pdfs/issue3207.pdf.link
Normal file
1
test/pdfs/issue3207.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://www.eff.org/sites/default/files/filenode/DMCA/NTIA%20DMCA%20White%20Paper.pdf
|
|
@ -1144,6 +1144,15 @@
|
|||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue3207",
|
||||
"file": "pdfs/issue3207.pdf",
|
||||
"md5": "667248adae0462c7f5acc7757d97b720",
|
||||
"link": true,
|
||||
"firstPage": 1,
|
||||
"lastPage": 1,
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue2829",
|
||||
"file": "pdfs/issue2829.pdf",
|
||||
"md5": "f32b28cf8792f6ccc470446bfbb38584",
|
||||
|
|
|
@ -360,6 +360,7 @@ describe('font', function() {
|
|||
'/ExpansionFactor 99\n' +
|
||||
'/Subrs 1 array\n' +
|
||||
'dup 0 1 RD x noaccess put\n'+
|
||||
'end\n' +
|
||||
'/CharStrings 46 dict dup begin\n' +
|
||||
'/.notdef 1 RD x ND' + '\n' +
|
||||
'end');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue