<table><tr><td style="">fvogt added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12405">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Docs say QT_SCREEN_SCALE_FACTORS doesn't affect the logical DPI. which means you have a 1x scale on one screen 2x on another..they both have the same font size which will just be really wrong.</p></blockquote>

<p>Exactly that is not the case.</p>

<p>Let me give you an example for broken font size: Screen "DP-0" has Scale 1 and "DP-1" has scale 1. You set "Xft.dpi: 96". The result is 96 dpi font on DP-0 and 48 dpi font on DP-1.<br />
This can only happen if Qt scales the font DPI depending on the QT_SCREEN_SCALE_FACTORS values.</p>

<p>Screenshot of a working setup: <a href="https://phabricator.kde.org/F5816419" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F5816419: image.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R104 KScreen</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12405">https://phabricator.kde.org/D12405</a></div></div><br /><div><strong>To: </strong>fvogt, Plasma<br /><strong>Cc: </strong>davidedmundson, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>