mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 21:08:10 +02:00
Turn hinting off to get consistent results for ft-text-antialias-none test case.
This commit is contained in:
parent
ddc01a3c55
commit
f5b6fc139c
2 changed files with 3 additions and 0 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 332 B After Width: | Height: | Size: 336 B |
|
|
@ -52,6 +52,9 @@ create_scaled_font (cairo_t * cr)
|
|||
|
||||
font_options = cairo_font_options_create ();
|
||||
|
||||
/* disable hinting */
|
||||
cairo_font_options_set_hint_style (font_options, CAIRO_HINT_STYLE_NONE);
|
||||
|
||||
pattern = FcPatternCreate ();
|
||||
|
||||
FcPatternAddString (pattern, FC_FAMILY, (FcChar8 *)"Bitstream vera sans");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue