summaryrefslogtreecommitdiffstats
path: root/share/extensions/replace_font.inx
diff options
context:
space:
mode:
authorCraig Marshall <craig9@gmail.com>2010-09-26 14:42:29 +0000
committerCraig Marshall <craig9@gmail.com>2010-09-26 14:42:29 +0000
commit2b054e2c5fa9c84e367b6655347f175e4b3f4d89 (patch)
treef2ee3ac49be6a53c8434dcd9488f78ca2c57736b /share/extensions/replace_font.inx
parentFix constrained snapping to closing segments (diff)
downloadinkscape-2b054e2c5fa9c84e367b6655347f175e4b3f4d89.tar.gz
inkscape-2b054e2c5fa9c84e367b6655347f175e4b3f4d89.zip
Added replace font extension
Fixed bugs: - https://launchpad.net/bugs/171007 (bzr r9789)
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>