Louis Simard
437dbf991c
Fix bug 702423, "Scour corrupts icons with gradients when --disable-style-to-xml is used". Add 2 more full tests gathered from the bug reports, as well as 1 more unit test.
2011-03-12 03:22:03 -05:00
Louis Simard
87b7908465
Move Tree_of_Life_SVG.svg (revision 188) from unittests to fulltests. Whoops!
...
Partial fix for bug 603987: Allow curves representing straight lines to become LineTo commands (and possibly HorizontalLineTo and VerticalLineTo afterwards).
Fix a bug whereby an initial M0,0 in path data is lost, making the path unrenderable.
2010-07-16 22:04:22 -04:00
Louis Simard
11a2e71096
Add Johan's Tree of Life as fulltests/tree-of-life.svg
...
Source: http://github.com/johan/tree-of-life.svg
2010-07-13 18:01:31 -04:00
Cynthia Gauthier
3559499321
Add some icons from Ubuntu to fulltests/. They have various rendering changes when Scoured with full optimisation options selected.
2010-07-10 08:09:13 -04:00
JSCHILL1
7652fbc76c
Fix removal of common attributes if parent has non-whitespace text nodes
2009-09-24 09:54:56 -05:00
JSCHILL1
b0788ba18a
Get all elements of tag name from the default namespace now
2009-08-12 10:17:03 -05:00
JSCHILL1
c9ecfc05a7
Remove redundant SVG namespace declarations and prefixes
2009-08-03 17:44:40 -05:00
JSCHILL1
908e8ee401
Added several new fulltests
2009-07-30 00:04:23 -05:00
JSCHILL1
7e7ac31540
Fixes for polygon coord processing. Add --strip-xml-prolog option
2009-07-29 13:42:04 -05:00
JSCHILL1
a4dbc37ba9
Only process points if there is an even number. Update web-based scour script to process options and rename to scra.py
2009-06-05 09:21:23 -05:00
JSCHILL1
78eb4e5e82
Fix bug with consecutive coords in path commands
2009-05-20 20:49:27 -05:00
JSCHILL1
49b35bf6d1
Remove text styles from shapes. Remove --inkscape styles. Fix path handling for multiple coords in first Move command. Add --set-precision N argument
2009-05-19 10:02:47 -05:00
JSCHILL1
9375bd69a9
Fixed scour to handle entities in url references
2009-05-17 23:07:22 -05:00
JSCHILL1
823c8c45e3
Added unit tests for color conversion
2009-05-17 09:27:33 -05:00
JSCHILL1
d242407701
Handle unicode characters. Specify utf-8 encoding on python scripts. Added unit test for non-ASCII characters.
2009-04-28 08:57:40 -05:00
JSCHILL1
3dfb1f8068
Version 0.10 not complete! Remove empty path segments. Convert lines to H/V where possible. Remove some default styles.
2009-04-27 18:20:16 -05:00
JSCHILL1
784b8efb2b
Add path data bytes saved to report. Added input filename to report. Removed last of the useless files in fulltests.
2009-04-27 11:43:11 -05:00
JSCHILL1
ec4e7b3594
Unit test for abs-to-rel path data conversion.
2009-04-27 10:03:39 -05:00
JSCHILL1
90e3ce1a02
Fix path parsing for all path subcommand types. Remove unnecessary whitespace.
2009-04-27 00:04:51 -05:00
JSCHILL1
5d7e3a075c
Add SVG Path parser from enthought. Added reserialization of path.
2009-04-26 16:37:57 -05:00
JSCHILL1
d9866c99e9
More unit tests for removing stroke properties (for stroke-width=0 or stroke=none)
2009-04-23 08:12:46 -05:00
JSCHILL1
f4b328ea4b
Another large, real-world SVG file in fulltests, plus a readme for that directory
2009-04-22 22:38:50 -05:00
JSCHILL1
d09903fe39
Fix removal of stroke properties when stroke is transparent
2009-04-22 22:26:40 -05:00
JSCHILL1
238d0d5402
Added another SVG file to fulltests
2009-04-16 16:16:50 -05:00
JSCHILL1
066c627833
Remove unreferenced patterns and gradients outside of a defs
2009-04-15 10:58:06 -05:00
JSCHILL1
a1f6d9e8dd
Start 0.07: move scour functionality into a module-level function and only call when __main__. Move tests around a bit. Add starter testscour.py
2009-04-13 10:22:27 -05:00