i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 893aff1bd030205574a86a3ace12a9765664b110
parent 0d111aaede55c7388aac7ebb1da3d7907d3db843
Author: Vasilij Schneidermann <v.schneidermann@gmail.com>
Date:   Thu, 18 Aug 2016 20:53:19 +0200

Set font face (#89)


Diffstat:
Munlock_indicator.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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: