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

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

From: Robert Linder via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Mar 2019 05:06:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-468544227-1551416795-sysbot+gh@w3.org>
Why is this a CSSWG issue? 

The blog post mentions a couple of things:

> It turns out that the value of `system-ui` in fact not only depends on the version of the current OS [...]

Why would one expect all OS versions to render the same font?

> It could be good to use the OS font to provide the user with a native look and feel, but on Windows, the font family used for UI changes with the language it is in, as well as the theme used.

> [...] 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.

Not all fonts support all languages, this is an issue with the rendered font.

> On Windows Vista/Windows 7 and corresponding Windows Server versions, with the Windows Classic theme turned on, one might see the good decades-old Tahoma/SimSun/PMingLiUā€¦ for system-ui to evaluate to (replicated on Windows Server 2008 R2 in Simplified Chinese).

Meaning that `system-ui` is not supported?

GitHub Notification of comment by Malvoz
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3658#issuecomment-468544227 using your GitHub account
Received on Friday, 1 March 2019 05:06:38 UTC

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