Fixes bias calculation for type2 subr
This commit is contained in:
parent
e17d828b64
commit
6277e6eda7
@ -4031,9 +4031,9 @@ Type1Font.prototype = {
|
||||
getType2Subrs: function Type1Font_getType2Subrs(type1Subrs) {
|
||||
var bias = 0;
|
||||
var count = type1Subrs.length;
|
||||
if (count < 1240)
|
||||
if (count < 1133)
|
||||
bias = 107;
|
||||
else if (count < 33900)
|
||||
else if (count < 33769)
|
||||
bias = 1131;
|
||||
else
|
||||
bias = 32768;
|
||||
|
1
test/pdfs/issue1655.pdf.link
Normal file
1
test/pdfs/issue1655.pdf.link
Normal file
@ -0,0 +1 @@
|
||||
http://bblum.net/thesis-draft.pdf
|
@ -515,6 +515,14 @@
|
||||
"link": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue1655",
|
||||
"file": "pdfs/issue1655.pdf",
|
||||
"md5": "696ef6de6f4f71643771419ef04fc968",
|
||||
"rounds": 1,
|
||||
"pageLimit": 9,
|
||||
"link": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue1133",
|
||||
"file": "pdfs/issue1133.pdf",
|
||||
"md5": "d1b61580cb100e3df93d33703af1773a",
|
||||
|
Loading…
Reference in New Issue
Block a user