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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug - No discernible font weight differences on Linux #1322

Open
arthurbfcarvalho opened this issue Sep 17, 2021 · 5 comments
Open

馃悰 Bug - No discernible font weight differences on Linux #1322

arthurbfcarvalho opened this issue Sep 17, 2021 · 5 comments
Assignees
Labels
bug Something isn't working as expected good first issue Good for newcomers stale Used to mark when there was no activity for a set period of time

Comments

@arthurbfcarvalho
Copy link

arthurbfcarvalho commented Sep 17, 2021

Forma 36 bug report

Summary

The medium type weight token doesn鈥檛 look consistent across different OSs. Looks good on Mac, but not on Linux. On Linux, there's no difference between the medium and the regular type.

Environment

Chrome. MacOS and Linux

Expected results

On Linux, the same as in Mac. Medium type is different from the regular.

Actual results

On Linux, type has the same weight

Here are screenshots:

Mac:
image

Linux:
image

@arthurbfcarvalho arthurbfcarvalho added the bug Something isn't working as expected label Sep 17, 2021
@denkristoffer denkristoffer changed the title 馃悰 Bug - 馃悰 Bug - Text rendering font weight differences on Linux Sep 20, 2021
@denkristoffer denkristoffer changed the title 馃悰 Bug - Text rendering font weight differences on Linux 馃悰 Bug - No discernible font weight differences on Linux Sep 20, 2021
@denkristoffer denkristoffer added the good first issue Good for newcomers label Oct 7, 2021
@suevalov
Copy link
Contributor

@arthurbfcarvalho could you please check if it's any better with v4 release?

@denkristoffer
Copy link
Collaborator

Current status from Ubuntu
image

@github-actions
Copy link

github-actions bot commented Aug 9, 2022

Marking issue as stale since there was no acitivty for 30 days

@github-actions github-actions bot added the stale Used to mark when there was no activity for a set period of time label Aug 9, 2022
@denkristoffer
Copy link
Collaborator

denkristoffer commented Mar 17, 2023

So far, investigating this has led to the theory that some Linux distributions return a font for our font stack where the weight we're trying to use simply doesn't exist, and it then falls back to the nearest existing weight. In the case of the screenshot the 400 seems to be rendered with 500.

@github-actions github-actions bot removed the stale Used to mark when there was no activity for a set period of time label Mar 18, 2023
@github-actions
Copy link

Marking issue as stale since there was no activity for 30 days

@github-actions github-actions bot added the stale Used to mark when there was no activity for a set period of time label Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected good first issue Good for newcomers stale Used to mark when there was no activity for a set period of time
Projects
None yet
Development

No branches or pull requests

7 participants