D26185: Fix font rendering when compiled against Qt >= 5.14

Andreas Hartmetz noreply at phabricator.kde.org
Tue Dec 24 21:58:29 GMT 2019


ahartmetz added a comment.


  Just to make this extra clear, I have nothing against auto-scaling. There is probably a KCM to set it however I want if I don't like the default. My problem is with blurry and in some cases ("-=") disfigured font rendering. That should never happen regardless of physical and logical DPI (though no subpixel rendering and maybe no hinting might be fine at >= 2.0 scaling). With this patch, it looks like with Qt 5.13 on not very high DPI screens, which is fine. I don't own a really high DPI screen so far.
  
  I would guess that a full solution is somewhere in the guts of the Qt FreeType font engine, not in how DPI is determined. The scaling factor is always just one number (correct me?), and regardless of its value, the rendering should look good. I have some experience in Qt font engines, but very little with high DPI. This patch is what I could come up with without days of research. Can somebody with serious knowledge about high DPI help out here?

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D26185

To: ahartmetz, #plasma, apol, davidedmundson
Cc: asturmlechner, dfaure, davidedmundson, anthonyfieroni, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191224/43159ca1/attachment.html>


More information about the Plasma-devel mailing list