aboutsummaryrefslogtreecommitdiffstats
path: root/src/default.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-14 22:25:12 +0100
committerwout <wout@impinc.co.uk>2014-02-14 22:25:12 +0100
commit8f9ccb16300142307b8ed6aed46c2a4984545600 (patch)
tree77040e5aa3802c7890d67aa0a62cdff432c2359f /src/default.js
parenta7d61df3e8e065599c42752d60bb2f0190395080 (diff)
downloadsvg.js-8f9ccb16300142307b8ed6aed46c2a4984545600.tar.gz
svg.js-8f9ccb16300142307b8ed6aed46c2a4984545600.zip
Completely reworked `SVG.Text`, `SVG.TSpan` and `SVG.PathArray` and bumped to 1.0.0-rc.5
Diffstat (limited to 'src/default.js')
-rwxr-xr-xsrc/default.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/default.js b/src/default.js
index e8eeecd..b9819a7 100755
--- a/src/default.js
+++ b/src/default.js
@@ -30,6 +30,10 @@ SVG.defaults = {
, offset: 0
, 'stop-opacity': 1
, 'stop-color': '#000000'
+ /* text */
+ , 'font-size': 16
+ , 'font-family': 'Helvetica, Arial, sans-serif'
+ , 'text-anchor': 'start'
}
// Default transformation values