Browse Source

Fixing properties.widths is null issue; fips197 test file

notmasteryet 14 years ago
parent
commit
e512000877
  1. 2
      pdf.js
  2. 1
      test/pdfs/fips197.pdf.link
  3. 6
      test/test_manifest.json

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

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

6
test/test_manifest.json

@ -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…
Cancel
Save