From 7568edf4b1dd0f8c1b061a2bb53d593ff9d4d33d Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Wed, 26 Mar 2014 16:36:46 +0100 Subject: lib/igt_fb: setup font in igt_get_cairo_ctx We always want the same boring one, so extract it. Signed-off-by: Daniel Vetter --- tests/testdisplay.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/testdisplay.c') diff --git a/tests/testdisplay.c b/tests/testdisplay.c index c320a9c1..2b0233ea 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -284,9 +284,6 @@ static void paint_output_info(struct connector *c, struct igt_fb *fb) igt_paint_test_pattern(cr, l_width, l_height); - cairo_select_font_face(cr, "Helvetica", - CAIRO_FONT_SLANT_NORMAL, - CAIRO_FONT_WEIGHT_NORMAL); cairo_move_to(cr, l_width / 2, l_height / 2); /* Print connector and mode name */ -- cgit v1.2.3