From: Alan Knowles Date: Mon, 23 Jul 2012 07:19:01 +0000 (+0800) Subject: plugins/raphael.export.js X-Git-Url: http://git.roojs.org/?p=raphael;a=commitdiff_plain;h=14646701c2a8b7751da423e967b38550d86b6910 plugins/raphael.export.js --- diff --git a/plugins/raphael.export.js b/plugins/raphael.export.js index c48e139..7c638bb 100644 --- a/plugins/raphael.export.js +++ b/plugins/raphael.export.js @@ -100,7 +100,8 @@ return { font: { family: node.attrs.font.replace(/^.*?"(\w+)".*$/, '$1'), - size: typeof node.attrs['font-size'] === 'undefined' ? null : node.attrs['font-size'] + size: typeof node.attrs['font-size'] === 'undefined' ? null : node.attrs['font-size'], + anchor : typeof node.attrs['text-anchor'] === 'undefined' ? null : node.attrs['text-anchor''], } }; }