diff options
author | Vasilij Schneidermann <v.schneidermann@gmail.com> | 2016-08-18 20:53:19 +0200 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2016-08-18 11:53:19 -0700 |
commit | 893aff1bd030205574a86a3ace12a9765664b110 (patch) | |
tree | 670e19161b59af6efc3ea339c1a477e6efcc80e1 | |
parent | 0d111aaede55c7388aac7ebb1da3d7907d3db843 (diff) |
Set font face (#89)
-rw-r--r-- | unlock_indicator.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |