SvgProcessor: Fix 'M' path handling

This commit is contained in:
Petr Baudis 2011-12-28 06:08:22 +01:00
parent cf5214d3e3
commit 51554581fb

View file

@ -41,7 +41,7 @@ class SVGHandler(xml.sax.handler.ContentHandler):
x = float(delta[0])*self.scale
y = float(delta[1])*self.scale
x0,y0 = x,y
cmd = 'l'
cmd = 'L'
elif cmd == 'l':
delta = tokens[i].split(',')
nx = x+float(delta[0])*self.scale