This forum has been archived. All content is frozen. Please use KDE Discuss instead.

font scaling x11 wayland

Tags: None
(comma "," separated)
Erni35
Registered Member
Posts
1
Karma
0

font scaling x11 wayland

Fri Sep 23, 2016 7:07 pm
Hi,

i changed yesterday from x11 kwin session to wayland session.
It works stable, no crash in 24 hours. One thing irritating me is, the fonts are much larger than in the x11 session. Is this normal behavior?

Erni35
workoft
Registered Member
Posts
97
Karma
1

Re: font scaling x11 wayland

Wed Oct 12, 2016 5:11 pm
I have no solution but I have the same problem. It seems to be Qt5 related, GTK apps don't have that problem. It's plasma 5.7.5, I don't want to install Gentoo unstable plasma 5.8, maybe it's fixed there.
User avatar
QuartzDragon
Registered Member
Posts
4
Karma
0
OS

Re: font scaling x11 wayland

Sat Jan 14, 2017 7:58 pm
Try forcing font DPI through System Settings -> Fonts, enable Force fonts DPI and set to 96, or whatever your monitor DPI is. That should fix it. :)

Apparently, on Wayland, Qt 5 automatically scales, unlike X11, and so, you need to force the DPI.

If that doesn't work, put "export QT_WAYLAND_FORCE_DPI=[desired DPI]" in your .bashrc, log out and log back in. Should be fixed. :)
molecule-eye
Registered Member
Posts
402
Karma
0
OS

Re: font scaling x11 wayland

Fri Feb 10, 2017 9:25 am
QuartzDragon wrote:Try forcing font DPI through System Settings -> Fonts, enable Force fonts DPI and set to 96, or whatever your monitor DPI is. That should fix it. :)

Apparently, on Wayland, Qt 5 automatically scales, unlike X11, and so, you need to force the DPI.

If that doesn't work, put "export QT_WAYLAND_FORCE_DPI=[desired DPI]" in your .bashrc, log out and log back in. Should be fixed. :)


Both the suggested workarounds don't work for me. I'm running a Broadwell Celeron, latest stock Ubuntu 16.04 kernel, and padoka stable MESA.
molecule-eye
Registered Member
Posts
402
Karma
0
OS

Re: font scaling x11 wayland

Fri Feb 10, 2017 8:44 pm
I figured out what the issue was. I was setting the forced DPI setting within the wayland session. I set it in the X11 session and then logged into a wayland session and everything worked. Weird.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]