mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
Color glyphs are now defined once in <defs> and reused via <use> elements, similar to non-color glyphs. Previously each color glyph instance rendered the full paint operations inline, causing duplication. Tested with repeating emoji: reduces SVG size by ~44% for files with repeated color glyphs (e.g., 3 emoji instances: 5.8KB vs 11KB without reuse). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>