On Mon, 31 Aug 2026 14:20:38 GMT, Andy Goryachev <[email protected]> wrote:

> > I did several experiments in marlin-2d renderer
> 
> very interesting, but it might have been better to re-arrange the images such 
> that one can compare the different approaches side by side as it's difficult 
> to read. is there a short write up or TL;DR with a few examples?

@andy-goryachev-oracle I made lots of tests on color correction to ensure 
linear luminance at least...
See files:
https://github.com/bourgesl/bourgesl.github.io/tree/master/gamma-correction
See colorspace tests (rgb linear, cie lab, ok lab):
https://bourgesl.github.io/gamma-correction/GRID_FONT.cs/index.html#out

I could write a summary or we could chat on gg meet if needed.

PS: freetype uses a dilate filter on glyph mask... but the radius should be 
computed using color contrast ratio ie luminance ratio... however colors may 
change at every pixel so blending math need two colors (src & dst) so gpu need 
to read back-end texture (shader ?)

Cheers,
Laurent

-------------

PR Comment: https://git.openjdk.org/jfx/pull/2284#issuecomment-5490378384

Reply via email to