diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2006-01-02 23:31:29 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2006-01-02 23:31:29 +0000 |
commit | 611ec68e46d77168ff16b00e083d362e29be007d (patch) | |
tree | 99791ff6b9decdf44d870677f9c0151581f7785c /render/box_construct.c | |
parent | e68f319778277b34a4ade12a4c003b81c1b6c5a0 (diff) | |
download | netsurf-611ec68e46d77168ff16b00e083d362e29be007d.tar.gz netsurf-611ec68e46d77168ff16b00e083d362e29be007d.tar.bz2 |
[project @ 2006-01-02 23:31:28 by jmb]
Implement font default option properly
svn path=/import/netsurf/; revision=1969
Diffstat (limited to 'render/box_construct.c')
-rw-r--r-- | render/box_construct.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |