Back on-topic; we could probably be a bit more pragmatic is choosing which SVG to ship. Rendering both before.svg and after.svg with 'rsvg' (or other rasteriser of choice) and then comparing the resulting bitmaps should be enough; if they're the same, result, and if not, revert back and ship the unmodified one.
Back on-topic; we could probably be a bit more pragmatic is choosing which SVG to ship. Rendering both before.svg and after.svg with 'rsvg' (or other rasteriser of choice) and then comparing the resulting bitmaps should be enough; if they're the same, result, and if not, revert back and ship the unmodified one.