Started 0.14
This commit is contained in:
parent
ec3e857c53
commit
4bbb5923b3
2 changed files with 5 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
SCOURVER="0.13"
|
SCOURVER="0.14"
|
||||||
cd ..
|
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
|
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
|
gzip scour/tarballs/scour-$SCOURVER.tar
|
||||||
|
|
|
||||||
11
scour.py
11
scour.py
|
|
@ -39,14 +39,11 @@
|
||||||
|
|
||||||
# Suggestion from Richard Hutch:
|
# Suggestion from Richard Hutch:
|
||||||
# * Put id attributes first in the serialization (or make the d attribute last)
|
# * 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:
|
# Next Up:
|
||||||
# + recognize that fill="url("#grd1")" is legal and do not remove grd1 gradient
|
# - eliminate last segment in a polygon
|
||||||
# + properly handle paths with more than 1 pair of coordinates in the first Move command
|
# - collapse straight curves
|
||||||
# + 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
|
|
||||||
# - prevent elements from being stripped if they are referenced in a <style> element
|
# - prevent elements from being stripped if they are referenced in a <style> element
|
||||||
# (for instance, filter, marker, pattern) - need a crude CSS parser
|
# (for instance, filter, marker, pattern) - need a crude CSS parser
|
||||||
# - Remove any unused glyphs from font elements?
|
# - Remove any unused glyphs from font elements?
|
||||||
|
|
@ -70,7 +67,7 @@ import gzip
|
||||||
getcontext().prec = 5
|
getcontext().prec = 5
|
||||||
|
|
||||||
APP = 'scour'
|
APP = 'scour'
|
||||||
VER = '0.13'
|
VER = '0.14'
|
||||||
COPYRIGHT = 'Copyright Jeff Schiller, 2009'
|
COPYRIGHT = 'Copyright Jeff Schiller, 2009'
|
||||||
|
|
||||||
NS = { 'SVG': 'http://www.w3.org/2000/svg',
|
NS = { 'SVG': 'http://www.w3.org/2000/svg',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue