You are not logged in.
Hi everyone,
I recently switched my display to a nice 32" EIZO 4K screen. Following the HiDPI guide(s) I got almost everything correctly scaled and nicely displayed on the desktop.
The only issue still remaining is the font scaling of LibreOffice (fresh). All native dialog fonts and the actual writing font get zoomed by the display scaling factor of plasma (1.4 in my case) without proper font scaling. The Menu and other QT dialogs are scaled correctly, also the Icons (SVG theme).
GIMP and Firefox scale very well.
My HiDPI settings:
Forced Fonts DPI 134 (my actual display DPI)
Display scaling 1.4 (Xorg)
No GTK or QT scaling variables set
I could also live with LibreOffice scaled to 1 but could not find a way to just scale a specific application. Is there one?
Other Ideas are also very welcome.
System:
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Kernel Version: 5.0.0-arch1-1-ARCH
OS Type: 64-bit
Processors: 16 × AMD Ryzen 7 1700X Eight-Core Processor
Memory: 15.7 GiB of RAM
Graphics: AMD Vega 64 on AMDGPU driver
Last edited by theringoffire (2019-04-30 19:21:34)
Offline
I have similar problems with Libreoffice and e.g. Filelight. See the screenshot for a taste of how the font looks and the software versions in use. Unfortunately I can't tell when this behaviour started appearing.
https://i.imgur.com/QurlMY9.png
On the left you can see filelight. The font inside the pie chart is fuzzy.
On the right is libreoffice. The font inside the cells and the info dialog is fuzzy.
Menus of both programs look fine as you can see.
Settings:
Forcing fonts to 144 DPI (Tried 96 and 168 also. Nothing helps)
Display scaling: 1.5
My setup:
Intel integrated graphics
27 inch 4k screen
Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code
Last edited by Slithery (2019-03-18 12:58:14)
Offline
It seems the problem is known: https://bbs.archlinux.org/viewtopic.php … 3#p1832013
There are still lots of rough edges, including a very ugly general look with most text elements in the UI, if you happen to use fractional display scaling (a bug in Qt 5.11 that needs a workaround, not implemented yet).
Offline
I've been fighting this for days...glad to see it's not just me! I just want to follow this to see how it plays out. For now, I set KDE's display scaling back to 1, even though everything else but libreoffice was fine with the 1.3 I had it set to.
Now I'm curious (and probably a separate topic) where Libreoffice gets it's font display settings. An internal engine or something else on a system that is tweak-able?
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline
It seems the problem is known: https://bbs.archlinux.org/viewtopic.php … 3#p1832013
That bug report is about the backspace key no longer working, right? Because I still have this display issue of UI text elements (blurry font rendering) in the gui using Libreoffice Fresh 6.2.2.2.
Operating System: Arch Linux
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Kernel Version: 5.0.7-arch1-1-ARCH
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15,4 GiB of RAM
Last edited by LordChaos73 (2019-04-16 07:36:29)
Offline
True, the linked issue is about the backspace issue. However he also talks about how the font scaling issue seems to be a problem in Qt not Libreoffice.
Offline
True, the linked issue is about the backspace issue. However he also talks about how the font scaling issue seems to be a problem in Qt not Libreoffice.
Indeed, LibreOffice seems to use some deprecated Qt environment variables. Adding the following 'script' to ${HOME}/.config/plasma-workspace/env/ solved the problem for me:
#!/bin/bash
export QT_SCREEN_SCALE_FACTORS=
export QT_SCALE_FACTOR=
export QT_AUTO_SCREEN_SCALE_FACTOR=
After that, don't forget to:
$ chmod -w+x <your_script_name>.sh
And log off and on again (or reboot? Im not sure here.)
Actually I think, just unsetting the QT_AUTO_SCREEN_SCALE_FACTOR environment variable should be enough, you can test it with
$ QT_AUTO_SCREEN_SCALE_FACTOR= libreoffice
Hope I could help.
Offline
Thanks a lot oniboni, this worked!
Offline
oniboni it's
QT_SCREEN_SCALE_FACTORS=
that fixed the font scaling for me -- thank you! Icons are still highly pixelated and using the environmental variable globally messes up other applications, so I've applied it specifically to my Libreoffice launchers.
Offline