summaryrefslogtreecommitdiff
path: root/templates/lettering_update_json_glyphlist.xml
blob: ad5eab29027e144c644634995a8a7489cccd1583 (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
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Update Glyphlist</name>
    <id>org.{{ id_inkstitch }}.lettering_update_json_glyphlist</id>
    <param name="extension" type="string" gui-hidden="true">lettering_update_json_glyphlist</param>

    <param name="notebook" type="notebook">
        <page name="options" gui-text="Options">
            <param type="path" name="font-file" gui-text="SVG Font File" mode="file" filetypes="svg"/>
            <param type="path" name="json-file" gui-text="JSON File" mode="file" filetypes="json"/>
        </page>
        <page name="info" gui-text="Help">
            <label appearance="header">Updates the glyphlist in the json file.</label>
            <spacer />
            <label>More information on our website</label>
            <label appearance="url">https://inkstitch.org/docs/font-tools/#update-glyph-list</label>
        </page>
    </param>

    <effect needs-live-preview="false">
        <object-type>all</object-type>
        <icon>{{ icon_path }}inx/font_management.svg</icon>
        <menu-tip>Updates the glyphlist in the json file</menu-tip>
        <effects-menu>
            <submenu name="{{ menu_inkstitch }}" translatable="no">
                <submenu name="Font Management" />
            </submenu>
        </effects-menu>
    </effect>

    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>