Found by headless e2e smoke pass. Text inside <svg><text>...</text></svg> renders with extra whitespace between each glyph; the source string "SVG text" appears as "S V G t e x t" with letters spread wide.
Repro#
cargo run -p we-e2e -- --url crates/e2e/pages/12_svg.html --out /tmp/svg.png
See crates/e2e/artifacts/12_svg.png: shapes render correctly; only the text element is broken.
Likely cause#
The SVG text rasterizer advances by glyph metrics + an extra step (possibly conflating em-width with advance, or advancing by the bounding-box width instead of the glyph's horizontal advance metric).
Acceptance#
SVG <text> glyphs are laid out using their horizontal advance metric. The rendered string visually matches normal text rendered through HTML at the same font-size.