diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-11-05 19:08:44 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-11-05 19:08:44 +0000 |
commit | af1572be92ce94e57a0833fe8a2f9f491a78fc5a (patch) | |
tree | 6133ec8da00ee1781ac29db56a11d1e19ba9693e | |
parent | 5621bca77233fd1906ac0487bf02a91f607e2b74 (diff) | |
download | netsurf-af1572be92ce94e57a0833fe8a2f9f491a78fc5a.tar.gz netsurf-af1572be92ce94e57a0833fe8a2f9f491a78fc5a.tar.bz2 |
Height is already scaled. Make OBJ char bigger.
-rw-r--r-- | desktop/plot_style.c | 2 | ||||
-rw-r--r-- | render/html_redraw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/plot_style.c b/desktop/plot_style.c index a2b582292..05e42baad 100644 --- a/desktop/plot_style.c +++ b/desktop/plot_style.c @@ -81,7 +81,7 @@ plot_style_t const * const plot_style_broken_object = static const plot_font_style_t plot_fstyle_broken_object_static = { .family = PLOT_FONT_FAMILY_SANS_SERIF, - .size = 14 * FONT_SIZE_SCALE, + .size = 16 * FONT_SIZE_SCALE, .weight = 400, .flags = FONTF_NONE, .background = 0x8888ff, diff --git a/render/html_redraw.c b/render/html_redraw.c index 2b85f6c86..cb178eab2 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -691,7 +691,7 @@ bool html_redraw_box(const html_content *html, struct box *box, obj_x += width / 2 - obj_width / 2; if (!plot->text(obj_x, y + padding_top + (int) - (height * 0.75 * scale), + (height * 0.75), obj, sizeof(obj) - 1, plot_fstyle_broken_object)) return false; |