|
|
@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') { |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.3.62'; |
|
|
|
PDFJS.version = '1.3.64'; |
|
|
|
PDFJS.build = '084bb86'; |
|
|
|
PDFJS.build = 'a966022'; |
|
|
|
|
|
|
|
|
|
|
|
(function pdfjsWrapper() { |
|
|
|
(function pdfjsWrapper() { |
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
@ -23928,6 +23928,9 @@ function reverseIfRtl(chars) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function adjustWidths(properties) { |
|
|
|
function adjustWidths(properties) { |
|
|
|
|
|
|
|
if (!properties.fontMatrix) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
if (properties.fontMatrix[0] === FONT_IDENTITY_MATRIX[0]) { |
|
|
|
if (properties.fontMatrix[0] === FONT_IDENTITY_MATRIX[0]) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
@ -24442,6 +24445,8 @@ var Font = (function FontClosure() { |
|
|
|
// view of the sanitizer
|
|
|
|
// view of the sanitizer
|
|
|
|
data = this.checkAndRepair(name, file, properties); |
|
|
|
data = this.checkAndRepair(name, file, properties); |
|
|
|
if (this.isOpenType) { |
|
|
|
if (this.isOpenType) { |
|
|
|
|
|
|
|
adjustWidths(properties); |
|
|
|
|
|
|
|
|
|
|
|
type = 'OpenType'; |
|
|
|
type = 'OpenType'; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -25874,6 +25879,8 @@ var Font = (function FontClosure() { |
|
|
|
cffFile = new Stream(tables['CFF '].data); |
|
|
|
cffFile = new Stream(tables['CFF '].data); |
|
|
|
cff = new CFFFont(cffFile, properties); |
|
|
|
cff = new CFFFont(cffFile, properties); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
adjustWidths(properties); |
|
|
|
|
|
|
|
|
|
|
|
return this.convert(name, cff, properties); |
|
|
|
return this.convert(name, cff, properties); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|