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

Re: [csswg-drafts] [css-fonts] What does fangsong map to for non chinese text (#4425)

From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
Date: Fri, 18 Oct 2019 19:10:12 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-543893043-1571425811-sysbot+gh@w3.org>
> Are you saying that for `font-family: serif, MyWebFont`, there are some characters that will trigger the web font as opposed to a system font?

Yes.

LastResort is the font that only has a handful of glyphs, the glyphs all look like em boxes, and it draws all of Unicode as those boxes. It isn't really applicable here, since users almost never see it. If an engine falls off the end of the `font-family` list, it will find _some_ font on the system that can render the desired character. It uses heuristics about which fonts _are_ present inside the `font-family` list, and tries to find a font that is similar to those but can support the desired character. The only way LastResort will ever be used if there is literally no font on the entire computer and no web font that can render the character.

-- 
GitHub Notification of comment by litherum
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4425#issuecomment-543893043 using your GitHub account
Received on Friday, 18 October 2019 19:10:14 UTC

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