Re: [csswg-drafts] [css-fonts-4] font-presentation doesn't have a great name (rename to font-variant-emoji)

> Yeah, SVG's complicated and annoying here.

Sigh. Both SVG-in-OpenType and also COLR in OpenType can use palettes (CPAL). SVG-in-OpenType can also explicitly use inherited values (with `inherit` or `currentColor` or `color`) as an intentional part of the glyph design. 

CPAL also has a way to inherit the color: a reserved palette index:

> the palette entry index of 0xFFFF if specified in the COLR table represents the foreground color used in the system

In conclusion, the ability to specify hardcoded colors, or overideable color defaults, or to inherit the surrounding text color, or to mix them in whatever way the designer sees fit, is a property of chromatic OpenType fonts. If you happen to find that 'complicated and annoying' then so be it, but quit blaming SVG here.

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

Received on Wednesday, 7 February 2018 22:51:13 UTC