mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-21 13:31:00 +02:00
Fix typo in select-font-face.c and update reference images
This commit is contained in:
parent
f0d7e3f858
commit
172fd2f6a6
6 changed files with 2 additions and 2 deletions
BIN
test/select-font-face-pdf-argb32-ref.png
Normal file
BIN
test/select-font-face-pdf-argb32-ref.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
BIN
test/select-font-face-ps-argb32-ref.png
Normal file
BIN
test/select-font-face-ps-argb32-ref.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 528 B |
Binary file not shown.
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
test/select-font-face-svg-argb32-ref.png
Normal file
BIN
test/select-font-face-svg-argb32-ref.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3 KiB |
BIN
test/select-font-face-svg-rgb24-ref.png
Normal file
BIN
test/select-font-face-svg-rgb24-ref.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3 KiB |
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue