diff options
author | Sylvain Pasche <sylvain.pasche@gmail.com> | 2008-08-05 13:52:13 +0200 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-08-05 16:30:37 -0400 |
commit | 65d017a4063242d221365371301e1aab5b3c6299 (patch) | |
tree | 02a09d546e254a2bc6760765818c4f20a9a745ac /test/font-options.c | |
parent | 45ec5e77bb26b0f93b0b1e11bd3055e8c9611111 (diff) | |
download | cairo-65d017a4063242d221365371301e1aab5b3c6299.tar.gz |
Add tests for the new LCD filter API
Diffstat (limited to 'test/font-options.c')
-rw-r--r-- | test/font-options.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/font-options.c b/test/font-options.c index b0e111ef6..3e5194c96 100644 --- a/test/font-options.c +++ b/test/font-options.c @@ -72,7 +72,11 @@ main (void) cairo_font_options_set_subpixel_order (NULL, CAIRO_SUBPIXEL_ORDER_DEFAULT); cairo_font_options_get_subpixel_order (NULL); - assert (cairo_font_options_get_subpixel_order (default_options) == CAIRO_SUBPIXEL_ORDER_DEFAULT); + assert (cairo_font_options_get_subpixel_order (default_options) == CAIRO_SUBPIXEL_ORDER_DEFAULT); + + cairo_font_options_set_lcd_filter (NULL, CAIRO_LCD_FILTER_DEFAULT); + cairo_font_options_get_lcd_filter (NULL); + assert (cairo_font_options_get_lcd_filter (default_options) == CAIRO_LCD_FILTER_DEFAULT); cairo_font_options_set_hint_style (NULL, CAIRO_HINT_STYLE_DEFAULT); cairo_font_options_get_hint_style (NULL); |