mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Remove the unused CMapCompressionType.STREAM
value
This was added in PR 8064, over five years ago, for a possible future CMap file-format that was never implemented.
This commit is contained in:
parent
3dc9b427b9
commit
4cc98de6d7
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