diff options
author | Carl Worth <cworth@cworth.org> | 2005-04-13 14:24:20 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-04-13 14:24:20 +0000 |
commit | f3af02bb0e098824a23b000adfa7a86a48390ddf (patch) | |
tree | f5cdc05f9be0f569cf7f639a8b697cd9c9554bec /test/coverage.c | |
parent | 21268bc35938c18783c428f6b3c267b85191b78c (diff) | |
download | cairo-f3af02bb0e098824a23b000adfa7a86a48390ddf.tar.gz |
Temporarily remove all text from this test case until we come up with an approach for drawing the same text with different freetype configurations.
Diffstat (limited to 'test/coverage.c')
-rw-r--r-- | test/coverage.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/coverage.c b/test/coverage.c index b60f5f5a7..1b605af66 100644 --- a/test/coverage.c +++ b/test/coverage.c @@ -84,12 +84,14 @@ set_translucent_image_pattern (cairo_t *cr, int x, int y) cairo_set_alpha (cr, 0.5); } +#if WE_FIX_THE_TEST_SO_THAT_IT_DOES_NOT_DEPEND_ON_HOW_FREETPYE_IS_COMPILED static void draw_text (cairo_t *cr, int x, int y) { cairo_rel_move_to (cr, 0, fontsize); cairo_show_text (cr, "Aa"); } +#endif static void draw_polygon (cairo_t *cr, int x, int y) @@ -114,7 +116,9 @@ static void (*pattern_funcs[])(cairo_t *cr, int x, int y) = { }; static void (*draw_funcs[])(cairo_t *cr, int x, int y) = { +#if WE_FIX_THE_TEST_SO_THAT_IT_DOES_NOT_DEPEND_ON_HOW_FREETPYE_IS_COMPILED draw_text, +#endif draw_polygon, }; @@ -137,10 +141,12 @@ draw (cairo_t *cr, int width, int height) int i, j, x, y; +#if WE_FIX_THE_TEST_SO_THAT_IT_DOES_NOT_DEPEND_ON_HOW_FREETPYE_IS_COMPILED cairo_select_font (cr, fontname, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD); cairo_set_font_size (cr, fontsize); +#endif for (j = 0; j < ARRAY_SIZE (draw_funcs); j++) { for (i = 0; i < ARRAY_SIZE (pattern_funcs); i++) { |