Re: [csswg-drafts] [css-fonts-4] `system-ui` generic font keyword and lang attribute (#9518)

> "The default user interface font on the platform..."

But in practice "the default user interface font" is not a single font; as the note in Example 6 suggests, it is really a collection of fonts -- otherwise not all languages would be able to be displayed in the UI.

If my platform language is (say) Hindi, and the default UI font being used for the Hindi interface is Nirmala UI, but then the UI needs to display some text in Russian or Hebrew or Chinese, the platform is going to have to use a different font for that part of the UI. So what "the UI font" actually resolves to will depend on the content it's being asked to display.

Primarily, the supported character repertoire of the various font resources will determine which UI font can be used for a given piece of text, but in some cases (e.g. Chinese vs Japanese, or Arabic vs Urdu) language may also be important. And that should clearly (IMO) be the language of the content concerned, if known.


-- 
GitHub Notification of comment by jfkthame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9518#issuecomment-1778733767 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 25 October 2023 08:06:37 UTC