|
|
|
@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
|
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
|
'use strict'; |
|
|
|
|
|
|
|
|
|
var pdfjsVersion = '1.4.260'; |
|
|
|
|
var pdfjsBuild = '2001953'; |
|
|
|
|
var pdfjsVersion = '1.4.263'; |
|
|
|
|
var pdfjsBuild = 'd5c0008'; |
|
|
|
|
|
|
|
|
|
var pdfjsFilePath = |
|
|
|
|
typeof document !== 'undefined' && document.currentScript ? |
|
|
|
@ -43425,6 +43425,12 @@ var XRef = (function XRefClosure() {
@@ -43425,6 +43425,12 @@ var XRef = (function XRefClosure() {
|
|
|
|
|
error('Invalid entry in XRef subsection: ' + first + ', ' + count); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// The first xref table entry, i.e. obj 0, should be free. Attempting
|
|
|
|
|
// to adjust an incorrect first obj # (fixes issue 3248 and 7229).
|
|
|
|
|
if (i === 0 && entry.free && first === 1) { |
|
|
|
|
first = 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!this.entries[i + first]) { |
|
|
|
|
this.entries[i + first] = entry; |
|
|
|
|
} |
|
|
|
@ -43438,12 +43444,6 @@ var XRef = (function XRefClosure() {
@@ -43438,12 +43444,6 @@ var XRef = (function XRefClosure() {
|
|
|
|
|
delete tableState.entryCount; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Per issue 3248: hp scanners generate bad XRef
|
|
|
|
|
if (first === 1 && this.entries[1] && this.entries[1].free) { |
|
|
|
|
// shifting the entries
|
|
|
|
|
this.entries.shift(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Sanity check: as per spec, first object must be free
|
|
|
|
|
if (this.entries[0] && !this.entries[0].free) { |
|
|
|
|
error('Invalid XRef table: unexpected first object'); |
|
|
|
|