Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Font rendering issue #1656

Open
tsoernes opened this issue Sep 12, 2024 · 4 comments
Open

Font rendering issue #1656

tsoernes opened this issue Sep 12, 2024 · 4 comments

Comments

@tsoernes
Copy link

Fedora 40
Zeal 0.7.1-dev
image

@trollixx
Copy link
Member

Unfortunately, I have no idea what is going on. Too many variables at play. Do you see any errors printed when you run Zeal from command line?

@tsoernes
Copy link
Author

qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0

It runs wayland, Intel graphics if that matters.

@jan-schreib
Copy link

jan-schreib commented Jan 8, 2025

As a workaround you can use QT_SCALE_FACTOR_ROUNDING_POLICY="RoundPreferFloor" to fix the fonts.
In your terminal:

$ QT_SCALE_FACTOR_ROUNDING_POLICY="RoundPreferFloor" zeal

I added that setting to the env variables in the .desktop file. (via the KDE gui). It now works permanently.

@trollixx

@trollixx
Copy link
Member

The need to configure environment variables indicates that Qt's platform plugin is not doing its job. Unless there's a way to detect improper rendering automatically, at most we can only add these instructions to docs.

# for free to join this conversation on GitHub. Already have an account? # to comment
Development

No branches or pull requests

3 participants