summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGeorge Steel <george.steel@gmail.com>2022-12-10 19:25:21 -0500
committerGeorge Steel <george.steel@gmail.com>2022-12-10 19:25:21 -0500
commite52f889bb0cb208685b3f3ef8271f63ecd318af1 (patch)
treec92e70b343954e0d3957c941c70806dc4f1c35c4 /templates
parent178dfffbeb151f78847006e5630b181f6c05f642 (diff)
parent815b3c60351b8e6572fcacba5d37d4bd6f1c6092 (diff)
Merge branch 'main' of https://github.com/inkstitch/inkstitch into george-steel/expose-trim-after
Diffstat (limited to 'templates')
-rw-r--r--templates/lettering_along_path.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/lettering_along_path.xml b/templates/lettering_along_path.xml
new file mode 100644
index 00000000..b1460f59
--- /dev/null
+++ b/templates/lettering_along_path.xml
@@ -0,0 +1,32 @@
+<?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.inkstitch.lettering_along_path</id>
+ <param name="extension" type="string" gui-hidden="true">lettering_along_path</param>
+ <effect needs-live-preview="false">
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Ink/Stitch" translatable="no" />
+ </effects-menu>
+ </effect>
+ <param name="options" type="notebook">
+ <page name="options" gui-text="Options">
+ <param name="stretch-spaces" type="bool" gui-text="Stretch"
+ gui-description="Expand glyph and word spacing to stretch lettering over the entire path">false</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 needs to meet these conditions:</label>
+ <label indent="1">* The text consists of only one line of text</label>
+ <label indent="1">* The text should not be too large for the given path</label>
+ <label indent="1">* Text text should not contain trim symbols</label>
+ <spacer />
+ <label>The stretch option defines whether the spaces between glyphs should be expanded so that the text stretches over the entire path.</label>
+ </page>
+ </param>
+ <script>
+ {{ command_tag | safe }}
+ </script>
+</inkscape-extension>