Comment by jarek-foksa
7 days ago
If I were to build a web-based vector graphics editor from scratch today, I would make it work internally with a "sane" subset of SVG such as SVG Micro [1].
This way you get a fast and reliable rendering engine for free (including support for MathML and HTML objects), you can easily import third-party SVG assets with a normalizer such as SVGO and you don't need to bother with all the convoluted special cases.
[1] https://github.com/linebender/resvg/blob/main/crates/usvg/do...
No comments yet
Contribute on Hacker News ↗