Bug 374199

Summary: Inconsistent font sizes in X11/xcb and Wayland applications
Product: [Frameworks and Libraries] kwayland Reporter: Laurent Bonnaud <L.Bonnaud>
Component: generalAssignee: Martin Flöser <mgraesslin>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.29.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Laurent Bonnaud 2016-12-27 09:45:49 UTC
Created attachment 103012 [details]
screenshot

When I tried plasma/wayland for the first time all fonts on the desktop looked much bigger than when I was using plasma/X11.

Here is a screenshot that illustrates the problem.

PS: sorry if my report is not for the right piece of software.
Comment 1 Martin Flöser 2016-12-27 16:18:28 UTC
Qt calculates the font sizes in a different way for X11 and Wayland. There is nothing our side of the stack controls that - especially not the server component.

Feel free to force the DPI in the font configuration module to get the same font size on x11 and Wayland.
Comment 2 Laurent Bonnaud 2017-01-10 17:30:51 UTC
Thanks for the hint!
Manually setting the DPI did fix the problem.
However it would be better if not setting were necessary (it is a kind of "unbreak my desktop" setting).
Comment 3 Martin Flöser 2017-01-10 18:36:34 UTC
Tell Qt! It's outside of our control.