]> git.sur5r.net Git - i3/i3lock/commitdiff
Set font face (#89)
authorVasilij Schneidermann <v.schneidermann@gmail.com>
Thu, 18 Aug 2016 18:53:19 +0000 (20:53 +0200)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Thu, 18 Aug 2016 18:53:19 +0000 (11:53 -0700)
unlock_indicator.c

index 3b94d1765f2d02bb0c80df4dc8779c41231365c3..7e697b02da8f8c6d54cf0137ecf1701285f92a34 100644 (file)
@@ -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: