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

Text looks funny in Chrome when system UI font is set to Inter #247

Open
hexchain opened this issue May 14, 2024 · 2 comments
Open

Text looks funny in Chrome when system UI font is set to Inter #247

hexchain opened this issue May 14, 2024 · 2 comments

Comments

@hexchain
Copy link

User-agent: Chrome 124.0.6367.201 on Linux

The swc.rs website has the following CSS:

html {
    /* ... */
    font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    /* ... */
    font-feature-settings: "rlig" 1,"calt" 1,"ss01" 1,"ss06" 1;
}

My system UI font is set to Inter, whose ss06 feature is "Characters in squares". This makes the texts in the page look funny:

image

@ankworld
Copy link

I encountered the same issue. Initially, I assumed it was a deliberate design choice of the website. However, after switching to a different font that was not "Inter-Fonts," the strange appearance of the website returned to normal. Upon further investigation, I discovered that the cause was the "font-feature-settings" ss06. I'm curious as to why they chose to enable ss06 since it makes reading the documentation difficult.

@aug-dev
Copy link

aug-dev commented Sep 14, 2024

I encountered the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants