projects
/
raphael
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
plugins/raphael.export.js
[raphael]
/
plugins
/
raphael.export.js
diff --git
a/plugins/raphael.export.js
b/plugins/raphael.export.js
index
3227180
..
dfdeb3d
100644
(file)
--- a/
plugins/raphael.export.js
+++ b/
plugins/raphael.export.js
@@
-163,7
+163,8
@@
return initial;
},
{
- style: 'text-anchor: middle; ' + styleToString(style) + ';' }
+ style: 'text-anchor: ' + (style.font.anchor ? style.font.anchor : 'middle;') +
+ styleToString(style) + ';' }
),
node.matrix,
tag('tspan',