|
@@ -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.477';
|
|
|
|
-var pdfjsBuild = '9e927de';
|
|
|
|
|
|
+var pdfjsVersion = '1.5.479';
|
|
|
|
+var pdfjsBuild = '15e1ae4';
|
|
|
|
|
|
var pdfjsFilePath =
|
|
var pdfjsFilePath =
|
|
typeof document !== 'undefined' && document.currentScript ?
|
|
typeof document !== 'undefined' && document.currentScript ?
|
|
@@ -35394,7 +35394,14 @@ var Type1Font = (function Type1FontClosure() {
|
|
var charStringsIndex = new CFFIndex();
|
|
var charStringsIndex = new CFFIndex();
|
|
charStringsIndex.add([0x8B, 0x0E]); // .notdef
|
|
charStringsIndex.add([0x8B, 0x0E]); // .notdef
|
|
for (i = 0; i < count; i++) {
|
|
for (i = 0; i < count; i++) {
|
|
- charStringsIndex.add(glyphs[i]);
|
|
|
|
|
|
+ var glyph = glyphs[i];
|
|
|
|
+ // If the CharString outline is empty, replace it with .notdef to
|
|
|
|
+ // prevent OTS from rejecting the font (fixes bug1252420.pdf).
|
|
|
|
+ if (glyph.length === 0) {
|
|
|
|
+ charStringsIndex.add([0x8B, 0x0E]); // .notdef
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
|
|
+ charStringsIndex.add(glyph);
|
|
}
|
|
}
|
|
cff.charStrings = charStringsIndex;
|
|
cff.charStrings = charStringsIndex;
|
|
|
|
|