diff --git a/src/core/cmap.js b/src/core/cmap.js index 9c766c290..5cde7d29f 100644 --- a/src/core/cmap.js +++ b/src/core/cmap.js @@ -1012,9 +1012,7 @@ const CMapFactory = (function CMapFactoryClosure() { const lexer = new Lexer(new Stream(cMapData)); return parseCMap(cMap, lexer, fetchBuiltInCMap, null); } - throw new Error( - "TODO: Only BINARY/NONE CMap compression is currently supported." - ); + throw new Error(`Invalid CMap "compressionType" value: ${compressionType}`); } return { diff --git a/src/shared/util.js b/src/shared/util.js index 80637bf6e..ec5a07f25 100644 --- a/src/shared/util.js +++ b/src/shared/util.js @@ -271,7 +271,6 @@ const VerbosityLevel = { const CMapCompressionType = { NONE: 0, BINARY: 1, - STREAM: 2, }; // All the possible operations for an operator list.