mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
Now that the draw library handles per-glyph foreground fills and background rects, the util no longer needs to parse and re-emit SVG for draw blobs. Draw blobs are written directly to the output file, same as PDF. Paint SVG still needs var(--hb-...) resolution, so paint blobs go through the existing write_slice_resolving_palette_vars path. Removes ~120 lines: emit_fill_group_open/close, emit_draw_body_with_palette, emit_fill_stroke_attrs_for_color, emit_stroke_attrs, and the draw-specific branches in write_blob. Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.9 KiB
1.9 KiB