summaryrefslogtreecommitdiff
path: root/lib/svg
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-12-15 20:21:41 -0500
committerGitHub <noreply@github.com>2018-12-15 20:21:41 -0500
commit1e0280db10cbb987842648f78f37bb9acc827305 (patch)
treeb3ddf36770535402ca9a2ae7af2d1e3d8bffae33 /lib/svg
parent8389d792adfd4d43785d3850e0558f2b386c7266 (diff)
basic lettering GUI (#351)
Diffstat (limited to 'lib/svg')
-rw-r--r--lib/svg/tags.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/svg/tags.py b/lib/svg/tags.py
index 55352be2..84509f90 100644
--- a/lib/svg/tags.py
+++ b/lib/svg/tags.py
@@ -1,5 +1,8 @@
import inkex
+# This is used below and added to the document in ../extensions/base.py.
+inkex.NSS['inkstitch'] = 'http://inkstitch.org/namespace'
+
SVG_PATH_TAG = inkex.addNS('path', 'svg')
SVG_POLYLINE_TAG = inkex.addNS('polyline', 'svg')
@@ -16,5 +19,6 @@ CONNECTOR_TYPE = inkex.addNS('connector-type', 'inkscape')
XLINK_HREF = inkex.addNS('href', 'xlink')
SODIPODI_NAMEDVIEW = inkex.addNS('namedview', 'sodipodi')
SODIPODI_GUIDE = inkex.addNS('guide', 'sodipodi')
+INKSTITCH_LETTERING = inkex.addNS('lettering', 'inkstitch')
EMBROIDERABLE_TAGS = (SVG_PATH_TAG, SVG_POLYLINE_TAG)