davidedmundson added a comment.
> bonus points if the dpi is calculated as mean of dpiX and dpiY. Maybe, but it's more important that it matches what frameSvg is doing which is currently :src/declarativeimports/core/units.cpp: const qreal dpi = primary->logicalDotsPerInchX(); If it's set via Xft DPI override, it's set squarely anyway. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D5114 To: mart, #plasma, graesslin Cc: davidedmundson, rikmills, luebking, plasma-devel, kwin, #kwin, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas