mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +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));
|
const lexer = new Lexer(new Stream(cMapData));
|
||||||
return parseCMap(cMap, lexer, fetchBuiltInCMap, null);
|
return parseCMap(cMap, lexer, fetchBuiltInCMap, null);
|
||||||
}
|
}
|
||||||
throw new Error(
|
throw new Error(`Invalid CMap "compressionType" value: ${compressionType}`);
|
||||||
"TODO: Only BINARY/NONE CMap compression is currently supported."
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -271,7 +271,6 @@ const VerbosityLevel = {
|
||||||
const CMapCompressionType = {
|
const CMapCompressionType = {
|
||||||
NONE: 0,
|
NONE: 0,
|
||||||
BINARY: 1,
|
BINARY: 1,
|
||||||
STREAM: 2,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// All the possible operations for an operator list.
|
// All the possible operations for an operator list.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue