mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #15553 from Snuffleupagus/rm-CMapCompressionType-STREAM
Remove the unused `CMapCompressionType.STREAM` value
This commit is contained in:
commit
229d21b50d
2 changed files with 1 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -271,7 +271,6 @@ const VerbosityLevel = {
|
|||
const CMapCompressionType = {
|
||||
NONE: 0,
|
||||
BINARY: 1,
|
||||
STREAM: 2,
|
||||
};
|
||||
|
||||
// All the possible operations for an operator list.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue