Version entry in the catalog has to be a name and not a string
This commit is contained in:
parent
57334bd205
commit
a98b0b1fb5
@ -550,7 +550,7 @@ class PDFEditor {
|
|||||||
async #makeRoot() {
|
async #makeRoot() {
|
||||||
const { rootDict } = this;
|
const { rootDict } = this;
|
||||||
rootDict.setIfName("Type", "Catalog");
|
rootDict.setIfName("Type", "Catalog");
|
||||||
rootDict.set("Version", this.version);
|
rootDict.setIfName("Version", this.version);
|
||||||
this.#makePageTree();
|
this.#makePageTree();
|
||||||
this.#makePageLabelsTree();
|
this.#makePageLabelsTree();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user