inkstitch/templates/letters_to_font.xml

45 wiersze
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<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>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
<submenu name="{{ menu_inkstitch }}" translatable="no">
<submenu name="Font Management" />
</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>
</inkscape-extension>