Height is already scaled. Make OBJ char bigger.

This commit is contained in:
Michael Drake 2012-11-05 19:08:44 +00:00
parent 5621bca772
commit af1572be92
2 changed files with 2 additions and 2 deletions

View File

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

View File

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