Merge pull request #15553 from Snuffleupagus/rm-CMapCompressionType-STREAM

Remove the unused `CMapCompressionType.STREAM` value
This commit is contained in:
Tim van der Meij 2022-10-09 13:33:54 +02:00 committed by GitHub
commit 229d21b50d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -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 {

View File

@ -271,7 +271,6 @@ const VerbosityLevel = {
const CMapCompressionType = {
NONE: 0,
BINARY: 1,
STREAM: 2,
};
// All the possible operations for an operator list.