D7185: Set a default font DPI if not set

David Edmundson noreply at phabricator.kde.org
Mon Aug 7 13:49:49 UTC 2017


davidedmundson created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  Currently X and Xwayland (unless set otherwise) defaults to a DPI of 96.
  
  GTK on wayland (unless set otherwise) defaults to a DPI of 96.
  
  Qt (currently) defaults to physical size/resolution. This leads to
  reports that Wayland looks big.
  
  Qt is potentially also changing to 96 for > Qt5.10.
  (it's in review at the time of writing)
  
  Now kwin has proper scaling support, legacy apps get scaled by the
  compositor without font hacks, and apps that scale themselves need a
  non-scaled font DPI. (i.e a 4k screen at 2x still wants a DPI of 96 not
  184).
  
  We want to change the wayland scale factor not the font.
  
  If a user does override this setting that override will still work.
  
  BUG: 374978

TEST PLAN
  don't have this setting explcitly set
  dolphin --platform wayland and dolphin --platform xcb have everything
  the same size. Even on a scaled display where one is scaled up by the 
  compositor and one is native.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  python

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

AFFECTED FILES
  startkde/startplasmacompositor.cmake

To: davidedmundson, #plasma
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170807/78a0bcf5/attachment.html>


More information about the Plasma-devel mailing list