|
@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
|
|
}
|
|
|
|
|
|
-PDFJS.version = '1.0.131';
|
|
|
-PDFJS.build = 'f0043f8';
|
|
|
+PDFJS.version = '1.0.133';
|
|
|
+PDFJS.build = 'f8b3444';
|
|
|
|
|
|
(function pdfjsWrapper() {
|
|
|
// Use strict in our context only - users might not want it
|
|
@@ -10685,6 +10685,11 @@ var XRef = (function XRefClosure() {
|
|
|
// The parser goes through the entire stream << ... >> and provides
|
|
|
// a getter interface for the key-value table
|
|
|
var dict = parser.getObj();
|
|
|
+
|
|
|
+ // The pdflib PDF generator can generate a nested trailer dictionary
|
|
|
+ if (!isDict(dict) && dict.dict) {
|
|
|
+ dict = dict.dict;
|
|
|
+ }
|
|
|
if (!isDict(dict)) {
|
|
|
error('Invalid XRef table: could not parse trailer dictionary');
|
|
|
}
|