
That is indeed one thing I could not stand on Mac OS - that to increase menu fonts you need to zoom the whole desktop. Saying that - can't one one just go to Settings/Fonts and change font sizes (option I could not find on Mac OS) ?rab0171610 wrote:"Force Font DPI" and use Display Configuration -> Scale do not actually accomplish the same thing. I appreciate that the KDE devs do not wish to support Force Font DPI anymore, but for some people with vision problems or extreme setups (85 inch montitor 18 feet away in industrial settings) Font DPI was a useful tool to increase only fonts and certain screen elements like the system tray icons. Scaling the display resolution scales everything, not just fonts. It also changes the screen real estate.
I would like to know where you (Zarhan) found "Force Font DPI" in System Settings in KDE 6? I thought it was removed. I do not see any such setting.
Nope, that just scales everything. As I said, I'd prefer the font sizes to represent paper sizes. I do plenty of documentation that sometimes gets printed so I want to have a proper WYSIWYG setup. If I *know* that a 12 pt font is 4.23mm both on display and on paper, it makes checking for readability on screen much easier.asturm wrote: Display Configuration -> Scale
Unfortunately, no dice. Those settings just bring the capability to set font DPI on Wayland side as well (where as on X11 you have that setting in the systemsettings). The screen elements still get ridiculously large and have huge spacings.Zarhan wrote: Anyway, some have found a proper workaround by setting either "QT_FONT_DPI" or "QT_USE_PHYSICAL_DPI" (hints to that in the final link).

Code: Select all
echo "Xft.dpi: 157" | xrdb -mergePretty much same results as with the other methods. Font sizes are fine, but other screen elements have are ridiculously large in comparison (icons, spacings, etc).Ralphred wrote:How does it behave if you usethen open a program?Code: Select all
echo "Xft.dpi: 157" | xrdb -merge
Thanks for this! I had also the font problem with Firefox. Resolved for FF now with this!rab0171610 wrote: **On a side note, I noticed that despite all of my efforts to get desirable results in Firefox, the font still was too small (in KDE Plasma 6), despite my efforts. Ultimately, I found a solution. In about:config, searching for 'perpx', changing 'layout.css.devPixelsPerPx' to 2.5 from the default value of '1.0' along with desktop scaling was an effective setting. Depending on users individual needs, change the increments in values of 0.2 and monitor the effects. Other values may be more desirable in their respective setups.

Code: Select all
Set the scale factor in display settings. On Ubuntu 20.04 and later this can be done per display, in increments of 25%. Earlier versions support setting a global scale to either 100% or 200%.
X11 Set Xft.dpi, or opt-in to use physical DPI.
Wayland Qt reads wl_output::scale, which is restricted to integer values. Wayland compositors typically have a configuration option for setting the scale factor, for example weston --scale.
EGLFS Set QT_FONT_DPI to the desired logical DPI value, for example QT_FONT_DPI=192. Qt assumes that the base DPI is 96, and scales the UI accordingly.