W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

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

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Feb 2018 22:49:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-363938192-1518043793-sysbot+gh@w3.org>
> 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

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