Glyph blends, gamma, iced, cosmic

I made a patch last night tiny_skia: apply gamma correction to glyph renders · raggi/iced@0356240 · GitHub which fixes glyph blends in tiny_skia. I’ve noticed this a bit before elsewhere, but previously I’d mostly use the wgpu backend which does everything in linear space avoiding the problem. This patch essentially makes the tiny_skia and wgpu backends outputs be largely the same in dark mode.

I came to this because cosmic in dark mode suffers in legibility quite a bit, particularly for smaller fonts due to this issue (of course most noticeably on low dpi), and I wanted to address that case.

Any concerns with this?
Should I direct this patch to iced, to cosmic, both, neither?

The forum won’t let me post both a before and after as I’m new, so I left before/after shots in a commit comment here: tiny_skia: apply gamma correction to glyph renders · raggi/iced@0356240 · GitHub

this shouldn’t be necessary in 0.14, so once cosmic rebases it’s a non-issue (there’s still some blending todo’s, but the blend is already much improved). i sent up to pop anyway, in case they’re willing to accept for the intermediate time between their current base and when they get to the 0.14 render stack.