Respect configured font size

svn path=/trunk/netsurf/; revision=8813
This commit is contained in:
John Mark Bell 2009-07-27 10:00:31 +00:00
parent 51ab05d49f
commit 4aaf13f9ed

View File

@ -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;