inkstitch/templates/lettering_custom_font_dir.xml

35 wiersze
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Custom font directory</name>
<id>org.{{ id_inkstitch }}.lettering_custom_font_dir</id>
<param name="extension" type="string" gui-hidden="true">lettering_custom_font_dir</param>
<param name="notebook" type="notebook">
<page name="options" gui-text="Options">
<param name="path" type="path" mode="folder" gui-text="Custom font directory"></param>
</page>
<page name="info" gui-text="Help">
<label>Set a custom directory for additional fonts to be used with the lettering tool.</label>
<spacer />
<label>The custom font directory must contain a subdirectory for each font.</label>
<spacer />
<label>More information on our website</label>
<label appearance="url">https://inkstitch.org/docs/font-tools/#custom-font-directory</label>
</page>
</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
<icon>{{ icon_path }}inx/font_management.svg</icon>
<menu-tip>Define a directory with custom fonts for the lettering tool</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>