Re: [csswg-drafts] [css-fonts][css-text] Variant Selection of Colorful (Emoji) or Monochrome Glyphs

Oh, I only checked 
[css-fonts-3](https://drafts.csswg.org/css-fonts-3/) briefly and thus 
missed that `font-palette` and `@palette-entries` are already drafted 
for level 4, also didn’t see the [original full 
proposal](https://lists.w3.org/Archives/Public/www-style/2015Feb/0211.html).
 Thanks for the heads-up, @svgeesus. I think I agree with the chosen 
solution for font-defined palettes, but I believe there should be a 
simple way to get monochrome glyphs using only `currentcolor` or 
shades thereof, which seems more appropriate for the vector variants, 
`COLR` and `SVG `, than for bitmap `CBDT`. My `font-color: <color>+` 
was intended to either make a user-defined palette or populate 
`--color1` etc. easily and @AmeliaBR is right, I hadn’t thought 
through the exact meaning of `auto`.

Nevertheless, my point regarding `text-transform[-variant]` stands and
 I think the expected results are as shown in the table below.

                 | U+2661           | U+2665           | U+2764
           | U+1F499           | U+1F5A4
-----------------|------------------|------------------|------------------|-------------------|-------------------
Name             | White Heart Suit | Black Heart Suit | Heavy Black 
Heart| Blue Heart        | Black Heart (UC9)
default, `none`  | &#x2661;         | &#x2665;         | &#x2764;
         | &#x1F499;         | &#x1F5A4;
VS15 or `text`   | &#x2661;&#xFE0E; | &#x2665;&#xFE0E; | 
&#x2764;&#xFE0E; | &#x1F499;&#xFE0E; | &#x1F5A4;&#xFE0E;
VS16 or `emoji`  | &#x2661;&#xFE0F; | &#x2665;&#xFE0F; | 
&#x2764;&#xFE0F; | &#x1F499;&#xFE0F; | &#x1F5A4;&#xFE0F;
VS15 and `emoji` | &#x2661;         | &#x2665;&#xFE0F; | 
&#x2764;&#xFE0F; | &#x1F499;&#xFE0F; | &#x1F5A4;&#xFE0F;
VS16 and `text`  | &#x2661;&#xFE0E; | &#x2665;&#xFE0E; | 
&#x2764;&#xFE0E; | &#x1F499;&#xFE0E; | &#x1F5A4;&#xFE0E;
`emoji` and `monochrome` | &#x2661;         | &#x1F5A4;&#xFE0F; | 
&#x1F5A4;&#xFE0F; | &#x1F5A4;&#xFE0F; | &#x1F5A4;&#xFE0F;
`text` and `monochrome`  | &#x2661;&#xFE0E; | &#x2665;&#xFE0E;  | 
&#x2764;&#xFE0E;  | &#x1F5A4;&#xFE0E; | &#x1F5A4;&#xFE0E;


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

Received on Thursday, 28 July 2016 18:54:23 UTC