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