mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-28 06:49:41 +03:00
Respect configured font size
svn path=/trunk/netsurf/; revision=8813
This commit is contained in:
parent
51ab05d49f
commit
4aaf13f9ed
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user