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

More Accurately Convert Font-Weights in Qt 6 #4568

Merged
merged 4 commits into from
Apr 22, 2023

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Apr 21, 2023

Description

In #4476 I added a mapping function. It turns out the function isn't ideal and Qt recommends to use setLegacyWeight. You can see the differences here: https://www.desmos.com/calculator/igvv6oe9pd. This makes sure the default values for the settings will be as identical as possible.

@pajlada pajlada enabled auto-merge (squash) April 22, 2023 21:11
@pajlada pajlada merged commit f293899 into Chatterino:master Apr 22, 2023
@Nerixyz Nerixyz deleted the fix/font-weight-number-two branch April 23, 2023 06:58
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