Browse Source

PDF.js version 1.5.444 - See mozilla/pdf.js@b112f9f9f40630b74027bb2328e9a7de5e9a13c8

master v1.5.444
Pdf Bot 9 years ago
parent
commit
d134e2fb68
  1. 2
      bower.json
  2. 21
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 21
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.5.442", "version": "1.5.444",
"main": [ "main": [
"build/pdf.js", "build/pdf.js",
"build/pdf.worker.js" "build/pdf.worker.js"

21
build/pdf.combined.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
'use strict'; 'use strict';
var pdfjsVersion = '1.5.442'; var pdfjsVersion = '1.5.444';
var pdfjsBuild = '22c7ff4'; var pdfjsBuild = 'b112f9f';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?
@ -32711,12 +32711,17 @@ var Font = (function FontClosure() {
} }
// Some fonts might use wrong font types for Type1C or CIDFontType0C // Some fonts might use wrong font types for Type1C or CIDFontType0C
if (subtype === 'Type1C' && (type !== 'Type1' && type !== 'MMType1')) { if (subtype === 'Type1C') {
// Some TrueType fonts by mistake claim Type1C if (type !== 'Type1' && type !== 'MMType1') {
if (isTrueTypeFile(file)) { // Some TrueType fonts by mistake claim Type1C
subtype = 'TrueType'; if (isTrueTypeFile(file)) {
} else { subtype = 'TrueType';
type = 'Type1'; } else {
type = 'Type1';
}
} else if (isOpenTypeFile(file)) {
// Sometimes the type/subtype can be a complete lie (see issue7598.pdf).
type = subtype = 'OpenType';
} }
} }
if (subtype === 'CIDFontType0C' && type !== 'CIDFontType0') { if (subtype === 'CIDFontType0C' && type !== 'CIDFontType0') {

4
build/pdf.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
'use strict'; 'use strict';
var pdfjsVersion = '1.5.442'; var pdfjsVersion = '1.5.444';
var pdfjsBuild = '22c7ff4'; var pdfjsBuild = 'b112f9f';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?

21
build/pdf.worker.js vendored

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
'use strict'; 'use strict';
var pdfjsVersion = '1.5.442'; var pdfjsVersion = '1.5.444';
var pdfjsBuild = '22c7ff4'; var pdfjsBuild = 'b112f9f';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?
@ -28428,12 +28428,17 @@ var Font = (function FontClosure() {
} }
// Some fonts might use wrong font types for Type1C or CIDFontType0C // Some fonts might use wrong font types for Type1C or CIDFontType0C
if (subtype === 'Type1C' && (type !== 'Type1' && type !== 'MMType1')) { if (subtype === 'Type1C') {
// Some TrueType fonts by mistake claim Type1C if (type !== 'Type1' && type !== 'MMType1') {
if (isTrueTypeFile(file)) { // Some TrueType fonts by mistake claim Type1C
subtype = 'TrueType'; if (isTrueTypeFile(file)) {
} else { subtype = 'TrueType';
type = 'Type1'; } else {
type = 'Type1';
}
} else if (isOpenTypeFile(file)) {
// Sometimes the type/subtype can be a complete lie (see issue7598.pdf).
type = subtype = 'OpenType';
} }
} }
if (subtype === 'CIDFontType0C' && type !== 'CIDFontType0') { if (subtype === 'CIDFontType0C' && type !== 'CIDFontType0') {

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.5.442", "version": "1.5.444",
"main": "build/pdf.js", "main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.", "description": "Generic build of Mozilla's PDF.js library.",
"keywords": [ "keywords": [

Loading…
Cancel
Save