app-extension-qpdfviewer icon indicating copy to clipboard operation
app-extension-qpdfviewer copied to clipboard

Update PDFjs to 4.x

Open philippebourcier opened this issue 2 years ago • 1 comments

PDFjs 4.x is out with some breaking changes, optimizations and bugfixes. 🚀

philippebourcier avatar Nov 07 '23 19:11 philippebourcier

Luckily the 2.x version can also use native HTML5 instead of PDFjs.

But on the other side if you only need the HTML5 rendering you can just do

<object data="https://foo.com/bar.pdf" type="application/pdf" width="100%" height="500px">
	<p>Unable to display PDF file. <a href="https://foo.com/bar.pdf">Download</a> instead.</p>
</object>

and avoid this extension.

MartinX3 avatar Jan 13 '24 12:01 MartinX3