[cairo-commit] test/select-font-face.c
test/select-font-face-pdf-argb32-ref.png
test/select-font-face-ps-argb32-ref.png
test/select-font-face-ref.png
test/select-font-face-svg-argb32-ref.png
test/select-font-face-svg-rgb24-ref.png
Carl Worth
cworth at kemper.freedesktop.org
Tue May 9 14:44:00 PDT 2006
test/select-font-face-pdf-argb32-ref.png |binary
test/select-font-face-ps-argb32-ref.png |binary
test/select-font-face-ref.png |binary
test/select-font-face-svg-argb32-ref.png |binary
test/select-font-face-svg-rgb24-ref.png |binary
test/select-font-face.c | 4 ++--
6 files changed, 2 insertions(+), 2 deletions(-)
New commits:
diff-tree 172fd2f6a668b6b0e4a7cbce24e006b65417d9b1 (from f0d7e3f858858937168c6cfdfae12dbe751ee683)
Author: Carl Worth <cworth at cworth.org>
Date: Tue May 9 14:39:08 2006 -0700
Fix typo in select-font-face.c and update reference images
diff --git a/test/select-font-face-pdf-argb32-ref.png b/test/select-font-face-pdf-argb32-ref.png
new file mode 100644
index 0000000..b2de418
Binary files /dev/null and b/test/select-font-face-pdf-argb32-ref.png differ
diff --git a/test/select-font-face-ps-argb32-ref.png b/test/select-font-face-ps-argb32-ref.png
new file mode 100644
index 0000000..d8eddad
Binary files /dev/null and b/test/select-font-face-ps-argb32-ref.png differ
diff --git a/test/select-font-face-ref.png b/test/select-font-face-ref.png
index a4d0670..8c3c153 100644
Binary files a/test/select-font-face-ref.png and b/test/select-font-face-ref.png differ
diff --git a/test/select-font-face-svg-argb32-ref.png b/test/select-font-face-svg-argb32-ref.png
new file mode 100644
index 0000000..50b8f49
Binary files /dev/null and b/test/select-font-face-svg-argb32-ref.png differ
diff --git a/test/select-font-face-svg-rgb24-ref.png b/test/select-font-face-svg-rgb24-ref.png
new file mode 100644
index 0000000..50b8f49
Binary files /dev/null and b/test/select-font-face-svg-rgb24-ref.png differ
diff --git a/test/select-font-face.c b/test/select-font-face.c
index 50a28ff..3e3848f 100644
--- a/test/select-font-face.c
+++ b/test/select-font-face.c
@@ -30,7 +30,7 @@
cairo_test_t test = {
"select-font-face",
"Tests using cairo_select_font_face to draw text in different faces",
- 188, TEXT_SIZE + 4
+ 192, TEXT_SIZE + 4
};
static cairo_test_status_t
@@ -47,7 +47,7 @@ draw (cairo_t *cr, int width, int height
font_options = cairo_font_options_create ();
cairo_font_options_set_hint_style (font_options, CAIRO_HINT_STYLE_NONE);
- cairo_font_options_set_hint_style (font_options, CAIRO_HINT_METRICS_OFF);
+ cairo_font_options_set_hint_metrics (font_options, CAIRO_HINT_METRICS_OFF);
cairo_font_options_set_antialias (font_options, CAIRO_ANTIALIAS_GRAY);
cairo_set_font_options (cr, font_options);
More information about the cairo-commit
mailing list