summaryrefslogtreecommitdiff
path: root/templates/lettering_along_path.xml
blob: 9f13c365b90f30c0706aa67c8c8a48e79cd3fce5 (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
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Lettering along path</name>
    <id>org.{{ id_inkstitch }}.lettering_along_path</id>
    <param name="extension" type="string" gui-hidden="true">lettering_along_path</param>
    <effect>
        <object-type>all</object-type>
        <icon>{{ icon_path }}inx/lettering_along_path.svg</icon>
        <menu-tip>Shapes a line of text onto a path</menu-tip>
        <effects-menu>
            <submenu name="{{ menu_inkstitch }}" translatable="no">
                <submenu name="Lettering" />
            </submenu>
        </effects-menu>
    </effect>
    <param name="notebook" type="notebook">
      <page name="options" gui-text="Options">
        <param name="text-position" type="optiongroup" appearance="combo" gui-text="Text position">
           <option value="left">Left</option>
           <option value="center">Center</option>
           <option value="right">Right</option>
           <option value="stretch">Stretch</option>
        </param>
      </page>
      <page name="info" gui-text="Help">
        <label appearance="header">This extension bends an Ink/Stitch text to a path.</label>
        <label>Select Ink/Stitch text and a path before running this extension.</label>
        <spacer />
        <label> The text width should not be longer than the path </label>
        <spacer />
        <label>Text position:</label>
        <label indent="1">Text can be positioned at the start, end or center of the path.</label>
        <label indent="1">When stretch is selected, the spaces between the glyphs will be expanded, so that the text stretches over the entire path.</label>
        <spacer />
        <label>More information on our website</label>
        <label appearance="url">https://inkstitch.org/docs/lettering/#lettering-along-path</label>
      </page>
    </param>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>