Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

chore: keep GDI fontengine on Windows for now #5710

Merged
merged 4 commits into from
Nov 12, 2024

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Nov 12, 2024

From #5694: The DirectWrite font engine in Qt 6.8.0 doesn't match the behavior of the old GDI engine. As explained in #5694 (comment), I filed QTBUG-130861, but that won't be fixed until at least 6.8.2 (most likely - 6.8.1 is to be released on 21st of November). The issue doesn't affect the default configuration on Windows that uses Segoe UI as it has a style for the 600 weight. Only fonts that don't have a style for the 600 weight are affected.

Currently, we don't gain much by using DirectWrite exclusively (note the DirectWrite is already used for some fonts that require it - it's also used in the linked issue), so I disabled that fontengine by default. Users can still opt-out by disabling CHATTERINO_USE_GDI_FONTENGINE.

I also removed the dpiawareness=2 as this was never read, because the key was wrong (WindowArguments had the s in Windows missing).

@pajlada pajlada enabled auto-merge (squash) November 12, 2024 21:55
@pajlada pajlada merged commit eeb797c into Chatterino:master Nov 12, 2024
18 checks passed
@Nerixyz Nerixyz deleted the chore/keep-gdi-for-now branch November 13, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants