summaryrefslogtreecommitdiff
path: root/test/ft-font-create-for-ft-face.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2006-07-31 15:17:15 -0400
committerBehdad Esfahbod <behdad@behdad.org>2006-07-31 15:17:15 -0400
commit2fa709d6af58713f7b362748a728a6f8c983d2ec (patch)
treee20d9d932d74d48d5af323339156d66f657f5abf /test/ft-font-create-for-ft-face.c
parent9fcb3c32c1f16fe6ab913e27eb54d18b7d9a06b0 (diff)
downloadcairo-2fa709d6af58713f7b362748a728a6f8c983d2ec.tar.gz
Set font options in the test context and make tests not do that
This should help with not requiring many backend-specific reference images, and some should be removed now.
Diffstat (limited to 'test/ft-font-create-for-ft-face.c')
-rw-r--r--test/ft-font-create-for-ft-face.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ft-font-create-for-ft-face.c b/test/ft-font-create-for-ft-face.c
index 64a32241c..066b175d3 100644
--- a/test/ft-font-create-for-ft-face.c
+++ b/test/ft-font-create-for-ft-face.c
@@ -80,6 +80,8 @@ draw (cairo_t *cr, int width, int height)
font_options = cairo_font_options_create ();
+ cairo_get_font_options (cr, font_options);
+
scaled_font = cairo_scaled_font_create (font_face,
&font_matrix,
&ctm,