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

Remove system-ui from font stack due to i18n issues #22377

Merged
merged 1 commit into from
Apr 7, 2017
Merged

Conversation

mdo
Copy link
Member

@mdo mdo commented Apr 7, 2017

On Windows, system-ui causes all sorts of issues. This PR removes it for now, reverting #21356 and closing #22328.

@mdo mdo added this to the v4.0.0-beta milestone Apr 7, 2017
@mdo mdo merged commit c6168b6 into v4-dev Apr 7, 2017
@mdo mdo deleted the drop-system-ui branch April 7, 2017 21:22
lehni added a commit to ditojs/dito that referenced this pull request Mar 8, 2019
Matthewrbowker pushed a commit to phorgeit/phorge that referenced this pull request Oct 9, 2022
Summary:
`system-ui` is provided by modern browsers as [a cross-platform default font](https://caniuse.com/font-family-system-ui). Using this font [was a controversial choice back in 2017](https://infinnie.github.io/blog/2017/systemui.html). because it did not address i18n well and therefore it was removed from Bootstrap [twbs/bootstrap#22377](twbs/bootstrap#22377). However, it was added back in Bootstrap v5 [twbs/bootstrap#30561](twbs/bootstrap#30561) since it got better over time.

Fixes T15049.

Test Plan: Tested locally for now.

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: Matthew, avivey, Cigaryno, 20after4, Ekubischta, speck, tobiaswiese, valerio.bozzolan

Maniphest Tasks: T15049

Differential Revision: https://we.phorge.it/D25021
@2dareis2do
Copy link

system-ui seems to have made it back into the latest release

$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;

@Artoria2e5
Copy link

That's a good thing: the i18n concern around Chinese is unfounded. system-ui is either same as, or much better than (Microsoft Yahei UI) what you'd get with a bare sans-serif (SimSun). The "same as" case occurs only on Windows 7 and older -- check their 2024 market share.

@mirabilos
Copy link

It’s still a cross-platform concern. On Linux with no desktop environment, there is not even a way to set that.

Please do not use system-ui.

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

Successfully merging this pull request may close these issues.

4 participants