Skip to content

Commit a872005

Browse files
Update pdf.js
1 parent 57afa13 commit a872005

64 files changed

Lines changed: 1140 additions & 802 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

build/pdf.mjs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/**
2424
* pdfjsVersion = 5.4.0
25-
* pdfjsBuild = e7288dc
25+
* pdfjsBuild = ec71e4e
2626
*/
2727
/******/ // The require scope
2828
/******/ var __webpack_require__ = {};
@@ -7217,6 +7217,9 @@ class FontFaceObject {
72177217
get disableFontFace() {
72187218
return this.#fontData.disableFontFace ?? false;
72197219
}
7220+
set disableFontFace(value) {
7221+
shadow(this, "disableFontFace", !!value);
7222+
}
72207223
get fontExtraProperties() {
72217224
return this.#fontData.fontExtraProperties ?? false;
72227225
}
@@ -7250,6 +7253,9 @@ class FontFaceObject {
72507253
get bbox() {
72517254
return this.#fontData.bbox;
72527255
}
7256+
set bbox(bbox) {
7257+
shadow(this, "bbox", bbox);
7258+
}
72537259
get fontMatrix() {
72547260
return this.#fontData.fontMatrix;
72557261
}
@@ -15858,7 +15864,8 @@ class WorkerTransport {
1585815864
info: results[0],
1585915865
metadata: results[1] ? new Metadata(results[1]) : null,
1586015866
contentDispositionFilename: this._fullReader?.filename ?? null,
15861-
contentLength: this._fullReader?.contentLength ?? null
15867+
contentLength: this._fullReader?.contentLength ?? null,
15868+
hasStructTree: results[2]
1586215869
}));
1586315870
this.#methodPromises.set(name, promise);
1586415871
return promise;
@@ -16073,7 +16080,7 @@ class InternalRenderTask {
1607316080
}
1607416081
}
1607516082
const version = "5.4.0";
16076-
const build = "e7288dc";
16083+
const build = "ec71e4e";
1607716084

1607816085
;// ./src/display/editor/color_picker.js
1607916086

@@ -25671,7 +25678,7 @@ class AnnotationEditorLayer {
2567125678
return;
2567225679
}
2567325680
if (editor.parent && editor.annotationElementId) {
25674-
this.#uiManager.addDeletedAnnotationElement(editor.annotationElementId);
25681+
this.#uiManager.addDeletedAnnotationElement(editor);
2567525682
AnnotationEditor.deleteAnnotationElement(editor);
2567625683
editor.annotationElementId = null;
2567725684
}

build/pdf.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/pdf.sandbox.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/**
2424
* pdfjsVersion = 5.4.0
25-
* pdfjsBuild = e7288dc
25+
* pdfjsBuild = ec71e4e
2626
*/
2727
/******/ // The require scope
2828
/******/ var __webpack_require__ = {};

0 commit comments

Comments
 (0)