Some more TODO notes and links to svgtidy.rb and clean Inkscape ideas
This commit is contained in:
parent
913d0da06b
commit
3fc56730da
1 changed files with 11 additions and 0 deletions
11
scour.py
11
scour.py
|
|
@ -20,6 +20,17 @@
|
||||||
# along with Scour. If not, see http://www.gnu.org/licenses/ .
|
# along with Scour. If not, see http://www.gnu.org/licenses/ .
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Path-crunching ideas here: http://intertwingly.net/code/svgtidy/spec.rb
|
||||||
|
# (and implemented here: http://intertwingly.net/code/svgtidy/svgtidy.rb )
|
||||||
|
|
||||||
|
# Yet more ideas here: http://wiki.inkscape.org/wiki/index.php/Save_Cleaned_SVG
|
||||||
|
|
||||||
|
# Next Up:
|
||||||
|
# - Remove empty defs/elements elements (no children and no attributes)
|
||||||
|
# - Remove Adobe namespace elements, attributes
|
||||||
|
# _ Remove inkscape/sodipodi/adobe namespace declarations
|
||||||
|
# - Convert style to attributes
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import string
|
import string
|
||||||
import xml.dom.minidom
|
import xml.dom.minidom
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue