diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-08 18:47:15 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-08 18:47:15 +0000 |
commit | 06ff431df74cf43918e0b7d2d98484da679f9751 (patch) | |
tree | 7eb7e7f008d5bc1df1a8f814cee43831edf6cd0b /render | |
parent | 7a72e1d90c70d982257adbe1e9d607c76311cfda (diff) | |
download | netsurf-06ff431df74cf43918e0b7d2d98484da679f9751.tar.gz netsurf-06ff431df74cf43918e0b7d2d98484da679f9751.tar.bz2 |
Handle scaling of text plots in core.
svn path=/trunk/netsurf/; revision=11935
Diffstat (limited to 'render')
-rw-r--r-- | render/html_redraw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c index e56035f38..730528a19 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -797,6 +797,7 @@ bool html_redraw_text_box(struct box *box, int x, int y, font_plot_style_from_css(box->style, &fstyle); fstyle.background = current_background_color; + fstyle.size *= scale; if (!text_redraw(box->text, box->length, box->byte_offset, box->space, &fstyle, x, y, |