3 ms·
Since you've done some work on it, I'll assume you understand the architecture well. My biggest gripe with pdf.js is that resizing triggers a full page reload,
by keeperofdakeys 12y ago
Since you've done some work on it, I'll assume you understand the architecture well. My biggest gripe with pdf.js is that resizing triggers a full page reload, since it has to redraw the canvas. Whereas this is instant on other pdf readers. Would there be any workarounds for this? Or will we be stuck with this behaviour till "pdf.js 2.0".
Edit: This is an example of what I'm talking about https://github.com/mozilla/pdf.js/issues/3853 https://github.com/mozilla/pdf.js/issues/3853
- anon3445 12y agoExperimenting with SVG might be a good option here. Or maybe, implementing a mixture of canvas with SVG, might improve the performance.
- nnethercote 12y ago> Since you've done some work on it, I'll assume you understand the architecture well. Alas, no :) My work was basically a few surgical strikes in which I learned a lot about a few small corners, but my overall understanding of the code base is pretty weak. I recommend filing a new issue here: https://github.com/mozilla/pdf.js/issues/new https://github.com/mozilla/pdf.js/issues/new