From 6fce13b84f419ced36fec418400afd46742d2a6b Mon Sep 17 00:00:00 2001 From: JSCHILL1 Date: Mon, 3 Aug 2009 12:23:41 -0500 Subject: [PATCH] Scour length values for most attributes. Fix removal of duplicate gradients again. Two more unittests --- scour.py | 101 ++++++++++++++++-------- testscour.py | 26 +++++- unittests/collapse-same-path-points.svg | 4 + unittests/scour-lengths.svg | 5 ++ 4 files changed, 102 insertions(+), 34 deletions(-) create mode 100644 unittests/collapse-same-path-points.svg create mode 100644 unittests/scour-lengths.svg diff --git a/scour.py b/scour.py index 017843a..7efa12b 100755 --- a/scour.py +++ b/scour.py @@ -63,7 +63,7 @@ # + remove duplicate gradients # + remove all empty path segments # + scour polyline coordinates just like path coordinates -# - enable the precision argument to affect all numbers: polygon points, lengths, coordinates +# - enable the precision argument to affect all numbers: lengths, coordinates # - remove id if it matches the Inkscape-style of IDs (also provide a switch to disable this) # - prevent elements from being stripped if they are referenced in a