|
@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
|
|
|
// Use strict in our context only - users might not want it
|
|
|
'use strict';
|
|
|
|
|
|
-var pdfjsVersion = '1.3.218';
|
|
|
-var pdfjsBuild = 'e60fde7';
|
|
|
+var pdfjsVersion = '1.3.220';
|
|
|
+var pdfjsBuild = 'ec06610';
|
|
|
|
|
|
var pdfjsFilePath =
|
|
|
typeof document !== 'undefined' && document.currentScript ?
|
|
@@ -37131,8 +37131,16 @@ var Font = (function FontClosure() {
|
|
|
delete tables['cvt '];
|
|
|
this.isOpenType = true;
|
|
|
} else {
|
|
|
- if (!tables.glyf || !tables.loca) {
|
|
|
- error('Required "glyf" or "loca" tables are not found');
|
|
|
+ if (!tables.loca) {
|
|
|
+ error('Required "loca" table is not found');
|
|
|
+ }
|
|
|
+ if (!tables.glyf) {
|
|
|
+ warn('Required "glyf" table is not found -- trying to recover.');
|
|
|
+ // Note: We use `sanitizeGlyphLocations` to add dummy glyf data below.
|
|
|
+ tables.glyf = {
|
|
|
+ tag: 'glyf',
|
|
|
+ data: new Uint8Array(0),
|
|
|
+ };
|
|
|
}
|
|
|
this.isOpenType = false;
|
|
|
}
|