summaryrefslogtreecommitdiffstats
path: root/share/extensions/replace_font.inx
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/replace_font.inx')
-rw-r--r--share/extensions/replace_font.inx36
1 files changed, 36 insertions, 0 deletions
diff --git a/share/extensions/replace_font.inx b/share/extensions/replace_font.inx
new file mode 100644
index 0000000..01fd456
--- /dev/null
+++ b/share/extensions/replace_font.inx
@@ -0,0 +1,36 @@
+<?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>
+
+ <param name="action" type="notebook">
+ <page name="find_replace" gui-text="Find and Replace font">
+ <param name="fr_find" type="string" gui-text="Find font:"></param>
+ <param name="fr_replace" type="string" gui-text="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">
+ <label>Choose this tab if you would like to see a list of the fonts used/found.</label>
+ </page>
+ </param>
+
+ <param name="scope" type="optiongroup" appearance="combo" gui-text="Work on:">
+ <option value="entire_document">Entire drawing</option>
+ <option value="selection_only">Selected objects only</option>
+ </param>
+
+ <effect needs-live-preview="false">
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Text"/>
+ </effects-menu>
+ </effect>
+
+ <script>
+ <command location="inx" interpreter="python">replace_font.py</command>
+ </script>
+</inkscape-extension>