DirectWrite only supports color fonts sinse late windows 10. I can't say if skia handles them but most likely not. Maybe when we introduce a text rendering backend in the future we can support them. But that will probably take a while.
I can confirm that color fonts work with our Direct2D1 backend. Some changes are required but these aren't big. These changes even remove some dead code from the project because the TextRenderer implementation isnt used. Will create a PR to support color fonts for Direct2D1.
Dont know if that worked before but now we have fallbacks for non present glyphs. Now you can use emojis everywhere you want and they just work. But this is only available with DirectWrite. We would have to use HarfBuzz to add that feature to Skia.
Basically I'm trying to set the foreground of a text run to be a linear gradient. if I change that to 1.0, and scale the offsets in the gradient stops by the size of the text run, then I get the intended effect.
also we don't currently support text decorations it seems :(
Looks like the current TextRenderer is not properly implemented. If i change the implementation to use a PathGeometry etc selection and Placement of text is working as expected. Will play with that a bit more.
I wonder if we can register the newest factory versions available at startup. I always have to query for newer versions.