From 765c02622b23acbfdf0ec426e1e9d5beb2158680 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Fri, 13 Feb 2004 23:07:42 +0000 Subject: [project @ 2004-02-13 23:07:42 by bursa] Add font size configuration and fix proxy options bug. svn path=/import/netsurf/; revision=538 --- render/box.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'render/box.c') diff --git a/render/box.c b/render/box.c index 4057ba181..cf51d5b99 100644 --- a/render/box.c +++ b/render/box.c @@ -17,6 +17,7 @@ #include "netsurf/utils/config.h" #include "netsurf/content/content.h" #include "netsurf/css/css.h" +#include "netsurf/desktop/options.h" #include "netsurf/render/box.h" #include "netsurf/render/font.h" #include "netsurf/render/form.h" @@ -235,6 +236,7 @@ void xml_to_box(xmlNode *n, struct content *c) c->data.html.style = xcalloc(1, sizeof(struct css_style)); memcpy(c->data.html.style, &css_base_style, sizeof(struct css_style)); + c->data.html.style->font_size.value.length.value = option_font_size * 0.1; c->data.html.fonts = font_new_set(); c->data.html.object_count = 0; -- cgit v1.2.3