Set font face (#89)

pull/90/head
Vasilij Schneidermann 2016-08-18 20:53:19 +02:00 committed by Michael Stapelberg
parent 0d111aaede
commit 893aff1bd0
1 changed files with 1 additions and 0 deletions

View 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: