From 893aff1bd030205574a86a3ace12a9765664b110 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Thu, 18 Aug 2016 20:53:19 +0200 Subject: Set font face (#89) --- unlock_indicator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/unlock_indicator.c b/unlock_indicator.c index 3b94d17..7e697b0 100644 --- a/unlock_indicator.c +++ b/unlock_indicator.c @@ -199,6 +199,7 @@ xcb_pixmap_t draw_image(uint32_t *resolution) { char buf[4]; cairo_set_source_rgb(ctx, 0, 0, 0); + cairo_select_font_face(ctx, "sans-serif", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL); cairo_set_font_size(ctx, 28.0); switch (pam_state) { case STATE_PAM_VERIFY: -- cgit v1.1