diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-27 10:00:31 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-27 10:00:31 +0000 |
commit | 4aaf13f9ed9daca121468ff57fff7661ec0bccc1 (patch) | |
tree | 7fad32f3bd23a49cf3d170313f48c60d90f230f6 | |
parent | 51ab05d49faf85fe720db6bd3c16840f8544021e (diff) | |
download | netsurf-4aaf13f9ed9daca121468ff57fff7661ec0bccc1.tar.gz netsurf-4aaf13f9ed9daca121468ff57fff7661ec0bccc1.tar.bz2 |
Respect configured font size
svn path=/trunk/netsurf/; revision=8813
-rw-r--r-- | render/textplain.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/render/textplain.c b/render/textplain.c index 708c6b2f6..05d2fbe33 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -32,6 +32,7 @@ #include "css/css.h" #include "css/utils.h" #include "desktop/gui.h" +#include "desktop/options.h" #include "desktop/plotters.h" #include "desktop/selection.h" #include "render/box.h" @@ -79,6 +80,8 @@ bool textplain_create(struct content *c, struct content *parent, iconv_t iconv_cd; union content_msg_data msg_data; + textplain_style.size = (option_font_size * FONT_SIZE_SCALE) / 10; + utf8_data = talloc_array(c, char, CHUNK); if (!utf8_data) goto no_memory; |