summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-08 18:47:15 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-08 18:47:15 +0000
commit06ff431df74cf43918e0b7d2d98484da679f9751 (patch)
tree7eb7e7f008d5bc1df1a8f814cee43831edf6cd0b /image
parent7a72e1d90c70d982257adbe1e9d607c76311cfda (diff)
downloadnetsurf-06ff431df74cf43918e0b7d2d98484da679f9751.tar.gz
netsurf-06ff431df74cf43918e0b7d2d98484da679f9751.tar.bz2
Handle scaling of text plots in core.
svn path=/trunk/netsurf/; revision=11935
Diffstat (limited to 'image')
-rw-r--r--image/svg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/image/svg.c b/image/svg.c
index a6cb06c2b..d77c8e03a 100644
--- a/image/svg.c
+++ b/image/svg.c
@@ -150,6 +150,7 @@ bool svg_redraw(struct content *c, int x, int y,
fstyle.background = 0xffffff;
fstyle.foreground = 0x000000;
+ fstyle.size = (8 * FONT_SIZE_SCALE) * scale;
ok = plot.text(px, py,
diagram->shape[i].text,