Skip to content
Commit 8c61b6a2 authored by Max Mueggler's avatar Max Mueggler Committed by Oliver Sander
Browse files

Fixed issue with occasional mis-sized tile

It turns out that there were two issues at play here: rounding errors
meant that pixmaps were almost never the same size as pagePainter
thought the tiles should be, and the tile-is-the-size-it-should-be code
path was broken (but only hit in rare cases, seemingly at random).

To help with rounding errors in the future, I added a geometryF function
to NormalizedRect that returns a QRectF. In general,
device-independent-pixel points/rects should be floating point, and
device-pixel rects should be integer.
parent 521ea660
Pipeline #277485 passed with stage
in 12 minutes and 37 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment