-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Letters and numbers a little larger and bolder cause by use system-ui as the value of font-family #12966
Comments
We do have a japanese-specific font stack that should take effect on a browser in |
I think Chromium is aligning the effect across locales by doing the opposite now: it actively uses a bolder font (Segoe UI Semibold) for weight 500 (Medium, currently in use on This makes Chromium the only web renderer on Windows that renders weight 500 differently. Firefox Classic, Firefox Quantum, IE and Edge Classic never do so. I've once observed Firefox on macOS seemingly doing some kind of weight matching to some extent, that a font might render differently in different contexts, but this time there isn't any context around it. I'm proposing a fix to address part of this issue (CJK glyphs) by overriding I'd really love to keep For now, consider overriding this with userscripts (Tampermonkey and co.) : use |
[x]
):Description
system-ui has recently been provided by Chrome as the means to access what is currently used by the OS as the UI font family. on Windows 8.1/Windows 10 in Simplified Chinese, the system-ui font family evaluates to Microsoft YaHei UI, which, it turns out, not only lacks many font weights that Segoe UI has (say semibold), but has letters and numbers a little larger and bolder to match the Chinese text than what could have been designed with. That turns out to exactly be the phenomenon discussed on the top of the article.
...
Screenshots
The text was updated successfully, but these errors were encountered: