I've had some time to work on another implementation of Sprite SVG Parsing.
I am wondering if there is an open feature / features on this already or if I should create one?
Have gone down the path of:
- Adding Batik library to parse SVG Sprite elements
- A new Interface ISvgParser extends Sprite
-- has method void drawU(UGraphic ug, double scale, HColor fontColor, HColor forcedColor)
- 2 SVG Sprite parsing implementations that implement the ISvgParser, SvgNanoParser (existing) and SvgDomParser (New)
- SvgDomParser uses Dom logic on SVGs vs. Text/Regex and have been able to add more SVG handling features (most common but not everything)
This discussion has some enhancments, if there is no specific Feature request yet I'll create a new one.
https://github.com/plantuml/plantuml/discussions/1066