|
@@ -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 pdfjsBuild = '22c7ff4';
|
|
|
|
|
|
+var pdfjsVersion = '1.5.444';
|
|
|
|
+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')) {
|
|
|
|
- // 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') {
|
|
if (subtype === 'CIDFontType0C' && type !== 'CIDFontType0') {
|