From: Vasilij Schneidermann Date: Thu, 18 Aug 2016 18:53:19 +0000 (+0200) Subject: Set font face (#89) X-Git-Tag: 2.9~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=893aff1bd030205574a86a3ace12a9765664b110;p=i3%2Fi3lock Set font face (#89) --- 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: