summaryrefslogtreecommitdiffstats
path: root/share/extensions/replace_font.inx
blob: 01fd456705b24294a9e659bf98ea61167b80b597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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>