summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4c8b448)
raw | patch | inline | side by side (parent: 4c8b448)
author | JazzyNico <nicoduf@yahoo.fr> | |
Wed, 20 Jan 2010 10:24:01 +0000 (11:24 +0100) | ||
committer | JazzyNico <nicoduf@yahoo.fr> | |
Wed, 20 Jan 2010 10:24:01 +0000 (11:24 +0100) |
share/extensions/scour.py | patch | blob | history |
index 700a0349fba3e3659133592911c4ac2222d66919..b2b2c178ea2a0b81a31ce2e5c4a5357479a46e98 100755 (executable)
embedRasters(elem, options)
# properly size the SVG document (ideally width/height should be 100% with a viewBox)
- if options.viewboxing:
+ if options.enable_viewboxing:
properlySizeDoc(doc.documentElement)
# output the document as a pretty string with a single space for indent
action="store_true", dest="strip_xml_prolog", default=False,
help="won't output the <?xml ?> prolog")
_options_parser.add_option("--enable-viewboxing",
- action="store_true", dest="viewboxing", default=False,
+ action="store_true", dest="enable_viewboxing", default=False,
help="changes document width/height to 100%/100% and creates viewbox coordinates")
# GZ: this is confusing, most people will be thinking in terms of