summaryrefslogtreecommitdiffstats
path: root/share/extensions/replace_font.inx
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-11-25 20:51:17 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-11-25 20:51:17 +0000
commit0bd9f7e209d522dbcebe0449a91397fdd9e38977 (patch)
tree834c7d02456658b57625ab68cc28f7854a5a85dc /share/extensions/replace_font.inx
parentFix handling of x and y attributes of patterns (diff)
parentFix ruler redraw issue on GTK 2.22 (diff)
downloadinkscape-0bd9f7e209d522dbcebe0449a91397fdd9e38977.tar.gz
inkscape-0bd9f7e209d522dbcebe0449a91397fdd9e38977.zip
Merge from trunk
(bzr r9508.1.70)
Diffstat (limited to 'share/extensions/replace_font.inx')
-rw-r--r--share/extensions/replace_font.inx38
1 files changed, 38 insertions, 0 deletions
diff --git a/share/extensions/replace_font.inx b/share/extensions/replace_font.inx
new file mode 100644
index 000000000..8ec90904b
--- /dev/null
+++ b/share/extensions/replace_font.inx
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <_name>Replace font</_name>
+ <id>org.inkscape.replace_font</id>
+
+ <dependency type="extension">org.inkscape.output.svg.inkscape</dependency>
+ <dependency type="executable" location="extensions">replace_font.py</dependency>
+ <dependency type="executable" location="extensions">inkex.py</dependency>
+
+ <param name="action" type="notebook">
+ <page name="find_replace" _gui-text="Find and Replace font">
+ <param name="fr_find" type="string" _gui-text="Find this font: "></param>
+ <param name="fr_replace" type="string" _gui-text="And replace with: "></param>
+ </page>
+ <page name="replace_all" _gui-text="Replace font">
+ <param name="r_replace" type="string" _gui-text="Replace all fonts with: "></param>
+ </page>
+ <page name="list_only" _gui-text="List all fonts">
+ <_param name="d" type="description">Choose this tab if you would like to see a list of the fonts used/found.</_param>
+ </page>
+ </param>
+
+ <param name="scope" type="enum" _gui-text="Work on:">
+ <_item value="entire_document">Entire drawing</_item>
+ <_item value="selection_only">Selected objects only</_item>
+ </param>
+
+ <effect needs-live-preview="false">
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu _name="Text"/>
+ </effects-menu>
+ </effect>
+
+ <script>
+ <command reldir="extensions" interpreter="python">replace_font.py</command>
+ </script>
+</inkscape-extension>