mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
Add a new push_group variant that receives the compositing mode upfront. This lets backends like PDF emit blend-mode state before painting the group content, avoiding the need to buffer and retroactively wrap. The default (nil) implementation calls hb_paint_push_group(), so existing backends are unaffected. Callers updated: - COLR PaintComposite now calls push_group_for() for both groups - Rust/fontations push_layer passes the mode through - hb-raster SVG context accepts mode parameter (default SRC_OVER) All 233 tests pass. Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>