mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-30 01:38:07 +00:00
8c61b6a2b4
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. |
||
---|---|---|
.. | ||
certificatemodel.cpp | ||
certificatemodel.h | ||
debug_ui.cpp | ||
debug_ui.h | ||
guiutils.cpp | ||
guiutils.h | ||
pagepainter.cpp | ||
pagepainter.h | ||
priorities.h | ||
signatureguiutils.cpp | ||
signatureguiutils.h | ||
signaturemodel.cpp | ||
signaturemodel.h | ||
tocmodel.cpp | ||
tocmodel.h |