[cairo-commit] test/bitmap-font.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Mar 18 11:18:20 PDT 2013


 test/bitmap-font.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit ff233fd706e62edf267bee66113e2cb35183bcd9
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Mar 18 14:17:29 2013 -0400

    [test] Set font size
    
    Previously this test was working because we were not scaling bitmap
    fonts.  We do now, so adjust test.

diff --git a/test/bitmap-font.c b/test/bitmap-font.c
index 62e51ea..0ec9b3d 100644
--- a/test/bitmap-font.c
+++ b/test/bitmap-font.c
@@ -120,6 +120,7 @@ draw (cairo_t *cr, int width, int height)
 
     cairo_set_font_face (cr, font_face);
     cairo_font_face_destroy (font_face);
+    cairo_set_font_size (cr, 13);
 
     font_options = cairo_font_options_create ();
 


More information about the cairo-commit mailing list