From 4bbb5923b3b3ee47098b51c9896992f3bf4cce1c Mon Sep 17 00:00:00 2001 From: JSCHILL1 Date: Tue, 19 May 2009 22:10:57 -0500 Subject: [PATCH] Started 0.14 --- package.sh | 2 +- scour.py | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) 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