Browse Source

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

master v1.5.444
Pdf Bot 8 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 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.5.442",
"version": "1.5.444",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

21
build/pdf.combined.js

@ -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.5.442';
var pdfjsBuild = '22c7ff4';
var pdfjsVersion = '1.5.444';
var pdfjsBuild = 'b112f9f';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -32711,12 +32711,17 @@ var Font = (function FontClosure() { @@ -32711,12 +32711,17 @@ var Font = (function FontClosure() {
}
// Some fonts might use wrong font types for Type1C or CIDFontType0C
if (subtype === 'Type1C' && (type !== 'Type1' && type !== 'MMType1')) {
// Some TrueType fonts by mistake claim Type1C
if (isTrueTypeFile(file)) {
subtype = 'TrueType';
} else {
type = 'Type1';
if (subtype === 'Type1C') {
if (type !== 'Type1' && type !== 'MMType1') {
// Some TrueType fonts by mistake claim Type1C
if (isTrueTypeFile(file)) {
subtype = 'TrueType';
} 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') {

4
build/pdf.js

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

21
build/pdf.worker.js vendored

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.5.442';
var pdfjsBuild = '22c7ff4';
var pdfjsVersion = '1.5.444';
var pdfjsBuild = 'b112f9f';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -28428,12 +28428,17 @@ var Font = (function FontClosure() { @@ -28428,12 +28428,17 @@ var Font = (function FontClosure() {
}
// Some fonts might use wrong font types for Type1C or CIDFontType0C
if (subtype === 'Type1C' && (type !== 'Type1' && type !== 'MMType1')) {
// Some TrueType fonts by mistake claim Type1C
if (isTrueTypeFile(file)) {
subtype = 'TrueType';
} else {
type = 'Type1';
if (subtype === 'Type1C') {
if (type !== 'Type1' && type !== 'MMType1') {
// Some TrueType fonts by mistake claim Type1C
if (isTrueTypeFile(file)) {
subtype = 'TrueType';
} 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') {

2
package.json

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

Loading…
Cancel
Save