summaryrefslogtreecommitdiff
path: root/lib/svg
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-12-18 20:23:04 -0500
committerLex Neva <github.com@lexneva.name>2018-12-18 20:23:04 -0500
commitef45f4b7406ec0d7457ea9a6e879007f37dc64f8 (patch)
tree9145e4ef427ba89bc58eacd0e8709482efc5cb96 /lib/svg
parent8f3c922011a5c39a6154863160ea8354a502ed42 (diff)
parent3cfda3c0b949bd4ba1f00a99f285b029dcc975ee (diff)
Merge branch 'master' into lexelby/bugs
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)