Merge pull request #20432 from calixteman/version
Version entry in the catalog has to be a name and not a string
This commit is contained in:
commit
bc4d90711a
@ -790,7 +790,7 @@ class PDFEditor {
|
||||
async #makeRoot() {
|
||||
const { rootDict } = this;
|
||||
rootDict.setIfName("Type", "Catalog");
|
||||
rootDict.set("Version", this.version);
|
||||
rootDict.setIfName("Version", this.version);
|
||||
this.#makePageTree();
|
||||
this.#makePageLabelsTree();
|
||||
this.#makeDestinationsTree();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user