Closed dfrg closed 4 months ago
Applying this on top of the tiny-skia example I get a blank space for the emoji (which is expected because the ColorPainter
trait and associated function call aren't implemented):
On top of the swash example I get "interesting" output:
I'm assuming this is an issue with the example rather than this PR as it seems to selecting the correct font/glyph.
Is it meaningful to have a test for this?
It is meaningful but the structure of this file makes unit testing difficult. I filed an issue for refactoring at #57
Quick and dirty fallback for emoji. This can be done more efficiently (and should be handled in fontique directly) but this should get us functioning emoji mapping for capable renderers.