Fixing properties.widths is null issue; fips197 test file

This commit is contained in:
notmasteryet 2011-09-14 21:29:32 -05:00
parent 40e0cb40a6
commit e512000877
3 changed files with 8 additions and 1 deletions

2
pdf.js
View File

@ -4506,7 +4506,7 @@ var PartialEvaluator = (function() {
type: type.name,
encoding: map,
differences: [],
widths: widths,
widths: widths || {},
defaultWidth: defaultWidth,
firstChar: 0,
lastChar: 256

View File

@ -0,0 +1 @@
http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf

View File

@ -109,5 +109,11 @@
"link": true,
"rounds": 1,
"type": "eq"
},
{ "id": "fips197",
"file": "pdfs/fips197.pdf",
"link": true,
"rounds": 1,
"type": "load"
}
]