Fixing properties.widths is null issue; fips197 test file
This commit is contained in:
parent
40e0cb40a6
commit
e512000877
2
pdf.js
2
pdf.js
@ -4506,7 +4506,7 @@ var PartialEvaluator = (function() {
|
|||||||
type: type.name,
|
type: type.name,
|
||||||
encoding: map,
|
encoding: map,
|
||||||
differences: [],
|
differences: [],
|
||||||
widths: widths,
|
widths: widths || {},
|
||||||
defaultWidth: defaultWidth,
|
defaultWidth: defaultWidth,
|
||||||
firstChar: 0,
|
firstChar: 0,
|
||||||
lastChar: 256
|
lastChar: 256
|
||||||
|
1
test/pdfs/fips197.pdf.link
Normal file
1
test/pdfs/fips197.pdf.link
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf
|
@ -109,5 +109,11 @@
|
|||||||
"link": true,
|
"link": true,
|
||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"type": "eq"
|
"type": "eq"
|
||||||
|
},
|
||||||
|
{ "id": "fips197",
|
||||||
|
"file": "pdfs/fips197.pdf",
|
||||||
|
"link": true,
|
||||||
|
"rounds": 1,
|
||||||
|
"type": "load"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user