swash
swash copied to clipboard
Is it possiable using [png](https://lib.rs/crates/png) for decode emoji png?
I am having an issue using swash with WebRender glyph rasterizer. The swash-demo works just fine. So I guess it's that webrender using different gl shader when rendering font glyphs.
Without any changes to swash this is output of emojis using wr_glyph_rasterizer
My fork using png crate's decode
Agreed on this count. swash
shouldn't try to re-invent the wheel.
Also resizing the emoji pngs is not necessary in my case. wr_glyph_rasterizer just need to know the scale of the Image