From 611ec68e46d77168ff16b00e083d362e29be007d Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 2 Jan 2006 23:31:29 +0000 Subject: [project @ 2006-01-02 23:31:28 by jmb] Implement font default option properly svn path=/import/netsurf/; revision=1969 --- render/box_construct.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'render/box_construct.c') diff --git a/render/box_construct.c b/render/box_construct.c index a66208a74..795caf8f0 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -177,6 +177,8 @@ bool xml_to_box(xmlNode *n, struct content *c) return false; c->data.html.style->font_size.value.length.value = option_font_size * 0.1; + /* and get the default font family from the options */ + c->data.html.style->font_family = option_font_default; c->data.html.object_count = 0; c->data.html.object = 0; -- cgit v1.2.3