Re: [csswg-drafts] Color Fonts at risk (#4699)

We've just got this working for COLR/CPAL fonts. However it makes no difference to us if it's punted to level 5.

The only suggestion I would make, based on implementing it, is to consider adding an option for "font-palette: none" to turn off color fonts altogether. My reasoning:

1. Many glyphs in the "emoji" range will only exist in a font with color capabilities, so if you want to display them you have to use a font that supports color.
2. Both SVG and COLR fonts _must_ have a regular, uncolored glyph outline available as well as their colored versions (although the opposite applies to CBDT fonts, which _must not_ have a regular outline).
3. There will be situations where you don't want any color - most obviously, this one:
```CSS
@media not (color) {
    font-palette: none;
}
```


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

Received on Tuesday, 28 January 2020 19:10:08 UTC