|
@@ -23,8 +23,8 @@
|
|
}
|
|
}
|
|
}(this, function (exports) {
|
|
}(this, function (exports) {
|
|
'use strict';
|
|
'use strict';
|
|
- var pdfjsVersion = '1.6.449';
|
|
|
|
- var pdfjsBuild = 'c0d7029';
|
|
|
|
|
|
+ var pdfjsVersion = '1.6.451';
|
|
|
|
+ var pdfjsBuild = '1fda987';
|
|
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
|
|
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
|
|
var pdfjsLibs = {};
|
|
var pdfjsLibs = {};
|
|
(function pdfjsWrapper() {
|
|
(function pdfjsWrapper() {
|
|
@@ -42579,7 +42579,7 @@
|
|
}
|
|
}
|
|
var isTrueType = !tables['CFF '];
|
|
var isTrueType = !tables['CFF '];
|
|
if (!isTrueType) {
|
|
if (!isTrueType) {
|
|
- if (header.version === 'OTTO' && properties.type !== 'CIDFontType2' || !tables['head'] || !tables['hhea'] || !tables['maxp'] || !tables['post']) {
|
|
|
|
|
|
+ if (header.version === 'OTTO' && !properties.composite || !tables['head'] || !tables['hhea'] || !tables['maxp'] || !tables['post']) {
|
|
cffFile = new Stream(tables['CFF '].data);
|
|
cffFile = new Stream(tables['CFF '].data);
|
|
cff = new CFFFont(cffFile, properties);
|
|
cff = new CFFFont(cffFile, properties);
|
|
adjustWidths(properties);
|
|
adjustWidths(properties);
|
|
@@ -42681,7 +42681,7 @@
|
|
}
|
|
}
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- if (properties.type === 'CIDFontType2') {
|
|
|
|
|
|
+ if (properties.composite) {
|
|
var cidToGidMap = properties.cidToGidMap || [];
|
|
var cidToGidMap = properties.cidToGidMap || [];
|
|
var isCidToGidMapEmpty = cidToGidMap.length === 0;
|
|
var isCidToGidMapEmpty = cidToGidMap.length === 0;
|
|
properties.cMap.forEach(function (charCode, cid) {
|
|
properties.cMap.forEach(function (charCode, cid) {
|