diff --git a/src/core/fonts.js b/src/core/fonts.js index 205fc95c4..1e18e23ad 100644 --- a/src/core/fonts.js +++ b/src/core/fonts.js @@ -2971,7 +2971,12 @@ var Font = (function FontClosure() { if (!potentialTable) { warn('Could not find a preferred cmap table.'); - return []; + return { + platformId: -1, + encodingId: -1, + mappings: [], + hasShortCmap: false + }; } font.pos = start + potentialTable.offset;