change to Pdf.js-Legacy Version 4.3.136 (#1444)

* add: PDF.js-Legacy

* change path
This commit is contained in:
Ludy
2024-06-12 21:33:25 +02:00
committed by GitHub
parent 76660eb791
commit 446bc68768
388 changed files with 148314 additions and 20 deletions

View File

@@ -715,7 +715,7 @@ const defaultOptions = {
kind: OptionKind.API
},
cMapUrl: {
value: "../web/cmaps/",
value: "./pdfjs/cmaps/",
kind: OptionKind.API
},
disableAutoFetch: {
@@ -763,7 +763,7 @@ const defaultOptions = {
kind: OptionKind.API
},
standardFontDataUrl: {
value: "../web/standard_fonts/",
value: "./pdfjs/standard_fonts/",
kind: OptionKind.API
},
verbosity: {
@@ -785,7 +785,7 @@ const defaultOptions = {
kind: OptionKind.VIEWER
};
defaultOptions.sandboxBundleSrc = {
value: "../build/pdf.sandbox.mjs",
value: "./pdfjs/pdf.sandbox.mjs",
kind: OptionKind.VIEWER
};
defaultOptions.viewerCssTheme = {