plugins/raphael.export.js
authorEdward <edward@roojs.com>
Wed, 9 Jan 2019 08:27:34 +0000 (16:27 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Jan 2019 08:27:34 +0000 (16:27 +0800)
plugins/raphael.export.js

index 0ccb634..822641e 100644 (file)
                 node.matrix,
                 tag('tspan',
                     {
-                        dy: computeTSpanDy(style.font.size, line + 1, node.attrs['text'].split('\n').length)
+                        dy: computeTSpanDy(style.font.size, 1, node.attrs['text'].split('\n').length)
                     },
                     null,
                     escapeXML(text)