mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
The previous commit renamed hb_gpu_darken to hb_gpu_draw_darken for symmetry with hb_gpu_draw (formerly hb_gpu_render). But the operation isn't draw-subsystem specific: it adjusts a coverage value based on foreground brightness and ppem, which is just the standard stem-darkening recipe. Name it after what it does. Paint doesn't need its own variant — it can call this same function on any alpha/coverage channel it produces. Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>