diff --git a/package.sh b/package.sh index c034118..b8398b6 100755 --- a/package.sh +++ b/package.sh @@ -1,5 +1,5 @@ #!/bin/bash -SCOURVER="0.13" +SCOURVER="0.14" cd .. tar cvf scour/tarballs/scour-$SCOURVER.tar scour/scour.py scour/svg_regex.py scour/LICENSE scour/NOTICE scour/README.txt scour/release-notes.html gzip scour/tarballs/scour-$SCOURVER.tar diff --git a/scour.py b/scour.py index ad6b018..99f71a6 100755 --- a/scour.py +++ b/scour.py @@ -39,14 +39,11 @@ # Suggestion from Richard Hutch: # * Put id attributes first in the serialization (or make the d attribute last) +# This would require my own serialization fo the DOM objects # Next Up: -# + recognize that fill="url("#grd1")" is legal and do not remove grd1 gradient -# + properly handle paths with more than 1 pair of coordinates in the first Move command -# + remove font/text styles from non-text elements -# + remove -inkscape-font-specification styles -# + added --set-precision argument to set the number of significant digits (defaults to 6) -# + collapse unnecessary consecutive horizontal/vertical line segments +# - eliminate last segment in a polygon +# - collapse straight curves # - prevent elements from being stripped if they are referenced in a