diff options
author | Carl Worth <cworth@cworth.org> | 2006-05-03 12:38:49 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-05-03 12:38:49 -0700 |
commit | 5448278d6e9c7452f855f8b262295818b27c5a11 (patch) | |
tree | 53ce8e041eb857f79f36e2dae20426c80ce67ebd /test/ps-features.c | |
parent | a4fc0c2e2c9ce52750f43dabc2be5daeb8aee9c4 (diff) |
ps-features: Minor touchups (missing include, typo in error message)
Diffstat (limited to 'test/ps-features.c')
-rw-r--r-- | test/ps-features.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/ps-features.c b/test/ps-features.c index 4f5affc9c..577d706bd 100644 --- a/test/ps-features.c +++ b/test/ps-features.c @@ -26,6 +26,9 @@ #include <stdio.h> #include <cairo.h> #include <cairo-ps.h> +#if HAVE_FCFINI +#include <fontconfig/fontconfig.h> +#endif #include "cairo-test.h" @@ -34,6 +37,9 @@ * Currently, this test exercises the following function calls: * * cairo_ps_surface_set_size + * cairo_ps_surface_dsc_comment + * cairo_ps_surface_dsc_begin_setup + * cairo_ps_surface_dsc_begin_page_setup */ #define INCHES_TO_POINTS(in) ((in) * 72.0) @@ -141,7 +147,7 @@ main (void) cairo_surface_destroy (surface); if (status) { - cairo_test_log ("Failed to create pdf surface for file %s: %s\n", + cairo_test_log ("Failed to create ps surface for file %s: %s\n", filename, cairo_status_to_string (status)); return CAIRO_TEST_FAILURE; } @@ -149,7 +155,10 @@ main (void) printf ("ps-features: Please check %s to ensure it looks/prints correctly.\n", filename); cairo_debug_reset_static_data (); + +#if HAVE_FCFINI FcFini (); +#endif return CAIRO_TEST_SUCCESS; } |