SVG's primitive set (rect/circle/ellipse/line/polyline/polygon/path) is a near-1:1 match for ContentVector, and it's the same mapping odf.js already performs for ODF's draw: primitives — SVG is the native source format for that vocabulary, whereas .odg is niche.
The path d grammar overlaps totally for M/L/H/V/C/Z (already parsed in odf.js's typed/shared/path.ts); S/Q/T/A are well-understood exact-or-approximate conversions, not research.
SVG→PDF via the drawing variant needs zero new layout code; SVG→odg is a free same-variant bridge. Medium because of the S/Q/T/A path-grammar gap plus transform/style handling.
SVG's primitive set (
rect/circle/ellipse/line/polyline/polygon/path) is a near-1:1 match forContentVector, and it's the same mapping odf.js already performs for ODF'sdraw:primitives — SVG is the native source format for that vocabulary, whereas.odgis niche.The path
dgrammar overlaps totally forM/L/H/V/C/Z(already parsed in odf.js'styped/shared/path.ts);S/Q/T/Aare well-understood exact-or-approximate conversions, not research.SVG→PDF via the drawing variant needs zero new layout code; SVG→odg is a free same-variant bridge. Medium because of the
S/Q/T/Apath-grammar gap plus transform/style handling.