diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cairo-ft-font.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c index cb90a502..ca78d62c 100644 --- a/src/cairo-ft-font.c +++ b/src/cairo-ft-font.c @@ -2187,6 +2187,8 @@ cairo_ft_font_options_substitute (const cairo_font_options_t *options, if (FcPatternGet (pattern, FC_ANTIALIAS, 0, &v) == FcResultNoMatch) { FcPatternAddBool (pattern, FC_ANTIALIAS, options->antialias != CAIRO_ANTIALIAS_NONE); + if (options->antialias != CAIRO_ANTIALIAS_SUBPIXEL) + FcPatternAddInteger (pattern, FC_RGBA, FC_RGBA_NONE); } } |