ouwerkerk added a comment.
Ideally you would also warn if the reciprocal times the horizontal, vertical resolution yields a non-integer output, not just if some value is chosen which cannot be represented in floating point exactly. E.g. on a 4K (3840 × 2160) a scaling factor of 1.5 is fine because the horizontal resolution scales down to effectively 3840 × 2 ÷ 3 = 2160 and the vertical resolution scales down to 2160 × 2 ÷ 3 = 1440. This means that the scaled renders will fit the physical display exactly. REPOSITORY R104 KScreen REVISION DETAIL https://phabricator.kde.org/D24321 To: ngraham, #vdg, #plasma, romangg Cc: ouwerkerk, GB_2, ndavis, cullmann, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart