mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
Height is already scaled. Make OBJ char bigger.
This commit is contained in:
parent
5621bca772
commit
af1572be92
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user