https://bugs.kde.org/show_bug.cgi?id=411118
Boudewijn Rempt <b...@valdyas.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/grap | |hics/krita/commit/1d8b94e3c | |545b5d2ac98242dd14c6c0becb1 | |7071 --- Comment #7 from Boudewijn Rempt <b...@valdyas.org> --- Git commit 1d8b94e3c545b5d2ac98242dd14c6c0becb17071 by Boudewijn Rempt, on behalf of Agata Cacko. Committed on 28/10/2020 at 09:24. Pushed by rempt into branch 'master'. Draw reference images in high res on 4k display Before this commit, reference images would be stored in a buffer which size was not determined by the actual size of the area in pixels which was available for the QPainter, but that size scaled down by devicePixelRatioF(). Hence on high resolution displays all reference images would look blurry and low-res. This commit fixes this behaviour by introducing high-res buffer and making sure that it takes the reference image from the mipmap which size is the closest to the actual new size instead of the one that is scaled down because of the UI scaling (devicePixelRatioF()). I also changed the way the pixel art images (or any images that are being enlarged) are drawn: now they use FastTransformation instead of SmoothTransformation. M +6 -2 libs/brush/kis_qimage_pyramid.cpp M +1 -1 libs/brush/kis_qimage_pyramid.h M +14 -3 libs/ui/KisReferenceImage.cpp M +9 -3 libs/ui/KisReferenceImagesDecoration.cpp https://invent.kde.org/graphics/krita/commit/1d8b94e3c545b5d2ac98242dd14c6c0becb17071 -- You are receiving this mail because: You are watching all bug changes.