Browse Source

Merge pull request #2318 from init-js/master

try/catch fallback fails to disable linearization
Yury Delendik 13 years ago
parent
commit
02aee99400
  1. 1
      src/core.js

1
src/core.js

@ -458,6 +458,7 @@ var PDFDocument = (function PDFDocumentClosure() { @@ -458,6 +458,7 @@ var PDFDocument = (function PDFDocumentClosure() {
} catch (err) {
warn('The linearization data is not available ' +
'or unreadable pdf data is found');
linearization = false;
}
}
// shadow the prototype getter with a data property

Loading…
Cancel
Save