W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2017

Re: [csswg-drafts] [css-text] [css-fonts] Variation selectors are underspecified

From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 Jan 2017 02:01:30 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-270544072-1483581689-sysbot+gh@w3.org>
Currently, WebKit has no concept of variation selectors. However, 
macOS and iOS do. In CoreText, VS15 and VS16 are treated specially.

If a code point has VS16 attached to it, font selection will only ever
 select a color font to show the code point. If a code point has VS15 
attached to it, font selection will never select a color font. A color
 font is one which has an appropriate table (e.g. sbix) (which can be 
queried by checking if the CTFontSymbolicTraits has the 
kCTFontTraitColorGlyphs bit set). No other variation selectors affect 
font selection. Once a font is chosen, an unsupported variation 
selector is just ignored.

GitHub Notification of comment by litherum
Please view or discuss this issue at 
using your GitHub account
Received on Thursday, 5 January 2017 02:01:36 UTC

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