From 06ff431df74cf43918e0b7d2d98484da679f9751 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 8 Mar 2011 18:47:15 +0000 Subject: Handle scaling of text plots in core. svn path=/trunk/netsurf/; revision=11935 --- render/html_redraw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'render') 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, -- cgit v1.2.3