summaryrefslogtreecommitdiff
path: root/templates/letters_to_font.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/letters_to_font.xml')
-rw-r--r--templates/letters_to_font.xml63
1 files changed, 36 insertions, 27 deletions
diff --git a/templates/letters_to_font.xml b/templates/letters_to_font.xml
index 2909500b..e6c7ceff 100644
--- a/templates/letters_to_font.xml
+++ b/templates/letters_to_font.xml
@@ -3,6 +3,42 @@
<name>Letters to font</name>
<id>org.{{ id_inkstitch }}.letters_to_font</id>
<param name="extension" type="string" gui-hidden="true">letters_to_font</param>
+
+ <param name="notebook" type="notebook">
+ <page name="options" gui-text="Options">
+ <param name="file-format" type="optiongroup" appearance="combo" gui-text="File format">
+ {% for format, description, mimetype, category in formats %}
+ <option value="*.{{ format | upper }}" translatable="no">{{ format | upper }}</option>
+ {% endfor %}
+ </param>
+ <param type="path" name="font-dir" gui-text="Font directory" mode="folder" filetypes="svg"/>
+ <spacer />
+ <param name="import-commands" type="optiongroup" appearance="combo" gui-text="Import commands">
+ <option value="params">As param</option>
+ <option value="symbols">As symbol</option>
+ <option value="none">No</option>
+ </param>
+ </page>
+ <page name="info" gui-text="Help">
+ <label appearance="header">
+ Includes all letters of a predigitized embroidery font (one file for each letter) into the document in order to make it available for the Ink/Stitch lettering system.
+ </label>
+ <label>
+ Embroidery files need to have the name of the letter right before the file extension. E.g. A.dst or Example_Font_A.dst will be recognized as the letter A.
+ </label>
+ <spacer />
+ <separator />
+ <label>
+ &#9888; After running this function, drag the baseline into the desired position and place the letters accordingly.
+ Save your font in a separate folder. Then generate the json file (with "Autoroute Satin" unchecked).
+ </label>
+ <separator />
+ <spacer />
+ <label>More information on our website</label>
+ <label appearance="url">https://inkstitch.org/docs/font-tools/#letters-to-font</label>
+ </page>
+ </param>
+
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
@@ -11,33 +47,6 @@
</submenu>
</effects-menu>
</effect>
- <label appearance="header" indent="1" >
- Includes all letters of a predigitized embroidery font (one file for each letter) into the document in order to make it available for the Ink/Stitch lettering system.
- </label>
- <label indent="1" >
- Embroidery files need to have the name of the letter right before the file extension. E.g. A.dst or Example_Font_A.dst will be recognized as the letter A.
- </label>
- <separator />
- <spacer />
- <param name="file-format" type="optiongroup" appearance="combo" gui-text="File format" indent="1">
- {% for format, description, mimetype, category in formats %}
- <option value="*.{{ format | upper }}" translatable="no">{{ format | upper }}</option>
- {% endfor %}
- </param>
- <param type="path" name="font-dir" gui-text="Font directory" indent="1" mode="folder" filetypes="svg"/>
- <spacer />
- <param name="import-commands" type="optiongroup" appearance="combo" gui-text="Import commands" indent="1">
- <option value="params">As param</option>
- <option value="symbols">As symbol</option>
- <option value="none">No</option>
- </param>
- <spacer />
- <separator />
- <label indent="1" >
- &#9888; After running this function, drag the baseline into the desired position and place the letters accordingly.
- Save your font in a separate folder. Then generate the json file (with "Autoroute Satin" unchecked).
- </label>
- <separator />
<script>
{{ command_tag | safe }}
</script>