mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
Refactor library fragment shaders (GLSL, MSL, WGSL) to extract _hb_gpu_decode_glyph and _hb_gpu_curve_counts helpers, used by both hb_gpu_render and the debug visualization. Debug mode (d key) shows per-pixel curve counts as a heatmap: R = horizontal band curves, G = vertical band curves, B = text coverage. Scale 0-8 curves maps to 0-1 intensity. Also auto-generates demo shader headers via meson, and adds set_debug to the renderer interface. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>