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

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 
https://github.com/w3c/csswg-drafts/issues/854#issuecomment-270544072 
using your GitHub account

Received on Thursday, 5 January 2017 02:01:36 UTC