Browse Source

Set font face (#89)

master
Vasilij Schneidermann 8 years ago
committed by Michael Stapelberg
parent
commit
893aff1bd0
  1. 1
      unlock_indicator.c

1
unlock_indicator.c

@ -199,6 +199,7 @@ xcb_pixmap_t draw_image(uint32_t *resolution) {
char buf[4]; char buf[4];
cairo_set_source_rgb(ctx, 0, 0, 0); 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); cairo_set_font_size(ctx, 28.0);
switch (pam_state) { switch (pam_state) {
case STATE_PAM_VERIFY: case STATE_PAM_VERIFY:

Loading…
Cancel
Save