summaryrefslogtreecommitdiff
path: root/lulua
diff options
context:
space:
mode:
Diffstat (limited to 'lulua')
-rw-r--r--lulua/render.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lulua/render.py b/lulua/render.py
index 7ffae5a..e195c99 100644
--- a/lulua/render.py
+++ b/lulua/render.py
@@ -231,6 +231,7 @@ class Renderer:
t = svgwrite.text.Text ('',
insert=((xoff+width/2+txoff), (yoff+settings.buttonWidth/2+tyoff)),
text_anchor='middle',
+ direction='rtl',
class_=' '.join (class_))
if text.startswith ('[') and text.endswith (']'):
# XXX: should find us a font which has glyphs for control chars
@@ -244,7 +245,7 @@ class Renderer:
stroke_dasharray='15,8',
class_=' '.join (controlclass_)))
else:
- t.add (svgwrite.text.TSpan (text, class_=style, direction='rtl'))
+ t.add (svgwrite.text.TSpan (text, class_=style))
g.add (t)
return g