diff options
author | Andrea Canciani <ranma42@gmail.com> | 2011-08-14 15:27:08 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-08-14 15:27:08 +0200 |
commit | c353dfca539e84c68e55ddca15d1e80553a4623e (patch) | |
tree | 2438eba1006a7480064100ed8b2e73da1c2dcd10 | |
parent | a428ce71450d9cec28c5050c900f76a5dc2f9837 (diff) |
ft-font: set rgba style only oncewip/no-0-ref
-rw-r--r-- | src/cairo-ft-font.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c index 46f8aaef4..405430fee 100644 --- a/src/cairo-ft-font.c +++ b/src/cairo-ft-font.c @@ -2965,17 +2965,8 @@ _cairo_ft_font_options_substitute (const cairo_font_options_t *options, FC_ANTIALIAS, options->antialias != CAIRO_ANTIALIAS_NONE)) return _cairo_error (CAIRO_STATUS_NO_MEMORY); - - if (options->antialias != CAIRO_ANTIALIAS_SUBPIXEL) { - FcPatternDel (pattern, FC_RGBA); - if (! FcPatternAddInteger (pattern, FC_RGBA, FC_RGBA_NONE)) - return _cairo_error (CAIRO_STATUS_NO_MEMORY); - } } - } - if (options->antialias != CAIRO_ANTIALIAS_DEFAULT) - { if (FcPatternGet (pattern, FC_RGBA, 0, &v) == FcResultNoMatch) { int rgba; |