W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2019

Re: [csswg-drafts] [css-fonts] `system-ui` behavior is undesired for some users (#3658)

From: Koji Ishii via GitHub <sysbot+gh@w3.org>
Date: Mon, 15 Jul 2019 14:35:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-511428771-1563201335-sysbot+gh@w3.org>
I guess we need to solve this when we add more system font families.

> One of two things is true:
> 1. The Windows system font really is terrible in some situations
> 2. The browser implementation of the system font doesn't match the platform

I’m afraid I don’t understand what you’re suggesting. Can you please expand? I agree 1 is true. I’m not sure what 2 means, and I’m not sure what you suggest from these two.

> Why is this a CSSWG issue? Does the spec need clarification or is this a suggestion for deprecation?

One of the original motivations of `system-ui` is to deprecate non-standard vendor-specific values (`-apple-system` and `BlinkMacSystemFont`) and we thought what the [spec](https://drafts.csswg.org/css-fonts-4/#system-ui-def) currently defines can help it:
> This generic font family lets text render with the default user interface font on the platform on which the UA is running.

However, github, medium, bootstrap, and wikipedia considered that this definition isn’t what they want for Chinese Windows, and that they’re back to the vendor-specific values because they provide what they want. True that this is Windows specific problem, but if people stops using `system-ui` and stick to non-standard values due to the problem, isn’t it our failure?

Blink can fix this. I’m hoping to solve this somehow, make `system-ui` usable, and deprecate our vendor-specific value. But 1) I wanted to note that it will no longer “the default UI fonts on the platform” in some cases, and 2) I would like to sync with other browsers on Windows. /cc @atanassov @emilio 

GitHub Notification of comment by kojiishi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3658#issuecomment-511428771 using your GitHub account
Received on Monday, 15 July 2019 14:35:38 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:50 UTC