~louis-simard-deactivatedaccount/scour/rework

Viewing all changes in revision 15.

  • Committer: Cynthia Gauthier
  • Date: 2010-06-03 13:01:51 UTC
  • Revision ID: cynthia@jolteon-20100603130151-32ktaj61syomkl07
scour.py, svg_transform.py:
 * Add a way to scour transformation lists.
scour.py:
 * Use xrange everywhere instead of range.
scour.py, testscour.py:
 * Use lower-case #rrggbb / #rgb colors. Seeing as lowercase characters are used more often than uppercase in SVG files, gzip can work better if the colors are in lowercase too. Modify testscour to accept this.
 * Use spaces instead of commas in polyline, polygon, path and transformation data. Again, there are many spaces in an SVG file, to separate attributes etc., so gzip works better. Modify testscour to accept this.
 * Add <filter> to the list of elements having x, y, width and height to scour.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: