Increase resolution when magnifying
Opened this issue · 1 comments
As per @cfcurtis suggestion in #288.
I'm thinking make a new canvas the size of the viewport, fill it with the clicked on section of the PDF at full resolution. We could start with only doing that for single page patterns, then add in the logic for stitched together PDFs later since that's more complicated and less likely to have resolution problems because A4/letter sized PDFs don't hit the canvas size limitations.
Definitely trickier with stitched together PDFs!
I explored this possibility a little bit and gave up as it seemed like it would be really slow (per this issue that says that rendering a partial PDF is no faster than rendering the whole thing). You are much more familiar with pdfjs than I am though, so maybe you can make it work!