diff --git a/README.md b/README.md index 347858d..5104bb2 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ The element needs an explicit height. Most attributes apply as soon as they chan ## Status -Actively maintained. The package bundles PDF.js 6.4.299 and follows PDF.js releases. +Actively maintained. The package bundles PDF.js 6.5.438 and follows PDF.js releases. ## Contributing diff --git a/demo/asset-attributes.html b/demo/asset-attributes.html index 815b01b..8bcb05c 100644 --- a/demo/asset-attributes.html +++ b/demo/asset-attributes.html @@ -30,11 +30,14 @@ pdfjs-lib-src="{% static 'pdfjs/pdf.mjs' %}" viewer-src="{% static 'pdfjs/viewer.mjs' %}" worker-src="{% static 'pdfjs/pdf.worker.min.mjs' %}" + renderer-src="{% static 'pdfjs/pdf.renderer.min.mjs' %}" viewer-css-src="{% static 'pdfjs/viewer.css' %}" theme-css-src="{% static 'pdfjs/paper-and-ink.css' %}" style="height: 100dvh"> + renderer-src is only used when worker rendering is turned on (see worker-rendering.html). + Resources loaded by directory and filename, such as annotation icons, CMaps, fonts, WASM and the scripting sandbox, default to the folders next to viewer-src and pdfjs-lib-src. Keep their original filenames available there, @@ -46,6 +49,7 @@ pdfjs-lib-src="../dist/pdf.mjs" viewer-src="../dist/viewer.mjs" worker-src="../dist/pdf.worker.min.mjs" + renderer-src="../dist/pdf.renderer.min.mjs" viewer-css-src="../dist/viewer.css" theme-css-src="../dist/paper-and-ink.css" style="height: 100dvh"> diff --git a/demo/assets-base.html b/demo/assets-base.html index 86f2e68..eebba93 100644 --- a/demo/assets-base.html +++ b/demo/assets-base.html @@ -16,7 +16,7 @@
+