mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 00:11:14 +01:00
When GL_FRAMEBUFFER_SRGB is not available (e.g. WebGL2), fall back to shader-based gamma correction (pow(coverage, gamma)). Press 'g' to cycle: sRGB → gamma 2.2 → no correction. Default tries sRGB, falls back to gamma 2.2 automatically. Replaces the old 's' (sRGB toggle) key binding. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>