mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 11:58:03 +02:00
keyboard: Hardcode font from bold to normal weight
this should also be configurable. Signed-off-by: Torben Hohn <torben.hohn@bruker.com>
This commit is contained in:
parent
b1ab447d0d
commit
d728ee0c1d
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@ redraw_handler(struct widget *widget, void *data)
|
|||
cairo_rectangle(cr, allocation.x, allocation.y, allocation.width, allocation.height);
|
||||
cairo_clip(cr);
|
||||
|
||||
cairo_select_font_face(cr, "sans-serif", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
|
||||
cairo_select_font_face(cr, "sans-serif", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
|
||||
cairo_set_font_size(cr, 16);
|
||||
|
||||
cairo_translate(cr, allocation.x, allocation.y);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue