Only convert to #RRGGBB format if the color name will actually be shorter
Remove duplicate gradients
+
Remove empty q,a path segments
+
Scour polyline coordinates just like path/polygon
diff --git a/unittests/polyline-coord.svg b/unittests/polyline-coord.svg
new file mode 100644
index 0000000..fb62742
--- /dev/null
+++ b/unittests/polyline-coord.svg
@@ -0,0 +1,4 @@
+
+
\ No newline at end of file