summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/html_redraw.c1
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,