D7185: Set a default font DPI if not set

2017-08-08 Thread David Edmundson
This revision was automatically updated to reflect the committed changes.
Closed by commit R120:7cfdd9a5260b: Set a default font DPI if not set (authored 
by davidedmundson).

REPOSITORY
  R120 Plasma Workspace

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D7185?vs=17828=17874

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

AFFECTED FILES
  startkde/startplasmacompositor.cmake

To: davidedmundson, #plasma, mart
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, 
abetts, sebas, apol, mart, lukas


D7185: Set a default font DPI if not set

2017-08-07 Thread Marco Martin
mart added a comment.


  hopefully with this gui elements on plasma mobile should stop being so 
comically big

REPOSITORY
  R120 Plasma Workspace

BRANCH
  python

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

To: davidedmundson, #plasma, mart
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, 
abetts, sebas, apol, mart, lukas


D7185: Set a default font DPI if not set

2017-08-07 Thread Marco Martin
mart accepted this revision.
This revision is now accepted and ready to land.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  python

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

To: davidedmundson, #plasma, mart
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, 
abetts, sebas, apol, mart, lukas


D7185: Set a default font DPI if not set

2017-08-07 Thread David Edmundson
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