flxzt / rnote

Sketch and take handwritten notes.
https://rnote.flxzt.net
GNU General Public License v3.0
7.96k stars 268 forks source link

improve Vector PDFs sharpness on high DPI screens #684

Open philipwilk opened 1 year ago

philipwilk commented 1 year ago

Describe the bug
When using a high dpi screen, PDFs remain blurry until you zoom in very close to them. On lower DPI screens, this is ok, as there is not enough pixels to actually see text when zoomed out so much, but on a high dpi screen, there is, and it just appears blurry.

To Reproduce

  1. Use a high DPI screen
  2. import a pdf and zoom out to a point where it should still be legible
  3. The PDF is blurry

Expected behavior
PDFs should be legible when zoomed out on high DPI monitors. Perhaps a toggle to make it render properly past a certain DPI regardless of zoom, or scale when it becomes blurry after zooming out based on window size and DPI, idk.

Screenshots
image image

Desktop (please complete the following information):

Additional context
Add any other context about the problem here.

BlueCannonBall commented 1 week ago

PDFs are blurry for me even though my display is not HiDPI.