mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
[api-minor] Remove the CMapCompressionType
enumeration
After the binary CMap format had been added there were also some ideas about *maybe* providing other formats, see [here](https://github.com/mozilla/pdf.js/pull/8064#issuecomment-279730182), however that was over seven years ago and we still only use binary CMaps. Hence it now seems reasonable to simplify the relevant code by removing `CMapCompressionType` and instead just use a boolean to indicate the type of the built-in CMaps.
This commit is contained in:
parent
50c291eb33
commit
b048420d21
7 changed files with 8 additions and 34 deletions
|
@ -18,7 +18,6 @@ import {
|
|||
AnnotationEditorParamsType,
|
||||
AnnotationEditorType,
|
||||
AnnotationMode,
|
||||
CMapCompressionType,
|
||||
createValidAbsoluteUrl,
|
||||
FeatureTest,
|
||||
ImageKind,
|
||||
|
@ -74,7 +73,6 @@ const expectedAPI = Object.freeze({
|
|||
AnnotationLayer,
|
||||
AnnotationMode,
|
||||
build,
|
||||
CMapCompressionType,
|
||||
ColorPicker,
|
||||
createValidAbsoluteUrl,
|
||||
DOMSVGFactory,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue