summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-02-05 18:50:31 +0100
committerGitHub <noreply@github.com>2025-02-05 18:50:31 +0100
commitaf6cdc442bbcc1323ac1d13adaa49982318c9cfe (patch)
treef71d2de5c2a89167cdb4dc9975b5f6e6d97f978e /templates
parent8f1f68a1db65b150a6429f334059bcae34a9b883 (diff)
Lettering typographic features (#3466)
* add svg font to layers extension which saves glyph annotations into the glyph name --------- Co-authored-by: Claudine
Diffstat (limited to 'templates')
-rw-r--r--templates/lettering_svg_font_to_layers.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/lettering_svg_font_to_layers.xml b/templates/lettering_svg_font_to_layers.xml
new file mode 100644
index 00000000..05f15b54
--- /dev/null
+++ b/templates/lettering_svg_font_to_layers.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Convert SVG Font to Glyph Layers</name>
+ <id>org.{{ id_inkstitch }}.lettering_svg_font_to_layers</id>
+ <param name="extension" type="string" gui-hidden="true">lettering_svg_font_to_layers</param>
+ <param name="count" type="int" min="1" max="65535" gui-text="Stop after">100</param>
+
+ <effect needs-live-preview="false">
+ <object-type>all</object-type>
+ <icon>{{ icon_path }}inx/font_management.svg</icon>
+ <menu-tip>Converts a svg font to glyph layers</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>