Behdad Esfahbod
Behdad Esfahbod
> in the fonttools PR you added something called `PaintGlyphDelta`. I see the rationale for PaintGlyphSelf (you can omit the glyph id) but why do we need the second one?...
> With a naive implementation of this idea (use self-GID in the paint table, the paint layer subtables become shared, but each glyph still has three distinct entries in the...
*That* (more than sRGB) wouldn't automatically give you *that* (perceptual gradients). To get the latter you want to specify blending space.
https://www.w3.org/TR/css-color-4/
Things to do here: - New version of CPAL that can specify colors in various pre-defined color-spaces: https://www.w3.org/TR/css-color-4/#predefined - Allow variation of those color specs via an ItemVariationStore. - New...
> sorry, what does it mean to "instantiate a template paint"? It will draw the `PaintTemplate` paint subgraph, and every time it encounters a `PaintTemplateArgument` paint, it replaces it with...
Here's an example. Imagine we want to create "boy" emoji with multiple skin colors. What we can do is to have one template paint for the emoji, which has one...
> > where variables is from the closest PaintTemplateVariable in the paint parent chain > > I believe you meant, "from the closest _PaintTemplateInstantiate_ in the paint parent chain". Fixed....
So I went ahead and implemented this in FontTools & HarfBuzz. I also wrote some code to take NotoColorEmoji-Regular.ttf or any other COLRv1 font and extract templates from it and...
> I'm not sure we should upgrade CBDT; I'd kind of like to view that table as legacy. +1