From d728ee0c1dabec994e01c42a92d0ddb14498bb02 Mon Sep 17 00:00:00 2001 From: Torben Hohn Date: Mon, 9 Oct 2023 08:49:07 +0200 Subject: [PATCH] keyboard: Hardcode font from bold to normal weight this should also be configurable. Signed-off-by: Torben Hohn --- clients/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/keyboard.c b/clients/keyboard.c index c5ce2e124..9ed491303 100644 --- a/clients/keyboard.c +++ b/clients/keyboard.c @@ -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);