Turn hinting off to get consistent results for ft-text-antialias-none test case.

This commit is contained in:
Jinghua Luo 2006-06-19 15:51:43 +08:00
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

View file

@ -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");