mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
Replace the manual getopt-based demo main with the standard main_font_text_t / shape_consumer_t composition, getting all harfbuzz options for free: --variations, --features, --script, --direction, --face-index, --font-funcs, etc. New gpu_output_t (in util/gpu-output.hh) implements the output interface, feeding shaped glyphs to the demo's GL renderer. Add demo_buffer_add_glyph() and demo_buffer_current_line() to demo-buffer for glyph-at-a-time insertion (vs the old batch add_text which did its own shaping). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>