Skip to content

Commit

Permalink
Update pdf.js
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Oct 15, 2023
1 parent 90565ae commit 18f7bf9
Show file tree
Hide file tree
Showing 33 changed files with 2,459 additions and 1,605 deletions.
331 changes: 155 additions & 176 deletions build/pdf.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/pdf.mjs.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/pdf.sandbox.mjs

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion build/pdf.worker.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32581,6 +32581,11 @@ class PartialEvaluator {
descent: font.descent,
vertical: font.vertical
};
if (self.options.fontExtraProperties && font.systemFontInfo) {
const style = textContent.styles[loadedName];
style.fontSubstitution = font.systemFontInfo.css;
style.fontSubstitutionLoadedName = font.systemFontInfo.loadedName;
}
}
textContentItem.fontName = loadedName;
const trm = textContentItem.transform = getCurrentTextTransform();
Expand Down Expand Up @@ -56959,7 +56964,7 @@ if (typeof window === "undefined" && !isNodeJS && typeof self !== "undefined" &&
;// CONCATENATED MODULE: ./src/pdf.worker.js

const pdfjsVersion = '4.0.0';
const pdfjsBuild = '60a458d';
const pdfjsBuild = '5c45dfa';

var __webpack_exports__WorkerMessageHandler = __webpack_exports__.WorkerMessageHandler;
export { __webpack_exports__WorkerMessageHandler as WorkerMessageHandler };
Expand Down
2 changes: 1 addition & 1 deletion build/pdf.worker.mjs.map

Large diffs are not rendered by default.

Loading

0 comments on commit 18f7bf9

Please sign in to comment.