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

Fix Username Font Weight Issue on Qt 6 #4476

Merged
merged 2 commits into from
Mar 25, 2023

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Mar 25, 2023

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

The QFont::Weight enum changed its range from 0..99 in Qt 5 to 1..1000 in Qt 6 (Qt 5 docs, Qt 6 docs). Since absolute values are used for usernames, this broke the username rendering.

Fixes #4467.

@pajlada pajlada enabled auto-merge (squash) March 25, 2023 10:54
@pajlada pajlada merged commit d590765 into Chatterino:master Mar 25, 2023
@Nerixyz Nerixyz deleted the fix/qt6-font-weight branch March 25, 2023 10:59
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.

Font rendering issues when built with Qt 6
2 participants