Attempt to fix bug 747698, "protect_ids options missing in scour.inkscape.py".

This commit is contained in:
Louis Simard 2011-04-01 21:58:08 -04:00
parent 6c50c78d99
commit ce735105d9
2 changed files with 16 additions and 1 deletions

View file

@ -26,6 +26,9 @@
<_item value="tab">Tab</_item>
<_item value="none">None</_item>
</param>
<param name="protect-ids-noninkscape" type="boolean" _gui-text="Preserve manually created ID names not ending with digits">false</param>
<param name="protect-ids-list" type="boolean" _gui-text="Preserve these ID names, comma-separated">false</param>
<param name="protect-ids-prefix" type="boolean" _gui-text="Preserve ID names starting with">false</param>
</page>
<page name="Help" _gui-text="Help">
<_param name="instructions" type="description" xml:space="preserve">This extension optimizes the SVG file according to the following options:
@ -42,7 +45,10 @@
* Work around renderer bugs: emits slightly larger SVG data, but works around a bug in librsvg's renderer, which is used in Eye of GNOME and other various applications.
* Enable viewboxing: size image to 100%/100% and introduce a viewBox.
* Number of significant digits for coords: all coordinates are output with that number of significant digits. For example, if 3 is specified, the coordinate 3.5153 is output as 3.51 and the coordinate 471.55 is output as 472.
* XML indentation (pretty-printing): either None for no indentation, Space to use one space per nesting level, or Tab to use one tab per nesting level.</_param>
* XML indentation (pretty-printing): either None for no indentation, Space to use one space per nesting level, or Tab to use one tab per nesting level.
* Preserve manually created ID names not ending with digits: usually, optimised SVG output removes these, but if they're needed for referencing (e.g. #middledot), you may use this option.
* Preserve these ID names, comma-separated: you can use this in conjunction with the other preserve options if you wish to preserve some more specific ID names.
* Preserve ID names starting with: usually, optimised SVG output removes all unused ID names, but if all of your preserved ID names start with the same prefix (e.g. #flag-mx, #flag-pt), you may use this option.</_param>
</page>
</param>
<output>