From 4e731f7c907a3b5bf2da0d73a699bcf79c1f2c85 Mon Sep 17 00:00:00 2001 From: M Joonas Pihlaja Date: Fri, 12 Sep 2008 09:39:58 +0300 Subject: [PATCH] [test] Only test truetype-tables if we can. Doesn't build without CAIRO_HAS_FONT_SUBSET. --- test/truetype-tables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/truetype-tables.c b/test/truetype-tables.c index 37f515a40..718af3af6 100644 --- a/test/truetype-tables.c +++ b/test/truetype-tables.c @@ -45,7 +45,7 @@ main (void) cairo_test_log (&ctx, "sizeof (%s): got %d, expected %d", #st, (int)sizeof (st), sz); \ ret = CAIRO_TEST_FAILURE; \ } - +#if CAIRO_HAS_FONT_SUBSET check (tt_head_t, 54); check (tt_hhea_t, 36); check (tt_maxp_t, 32); @@ -54,7 +54,7 @@ main (void) check (tt_name_t, 18); check (tt_composite_glyph_t, 18); check (tt_glyph_data_t, 28); - +#endif cairo_test_fini (&ctx); return ret;