summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-08-14 15:27:08 +0200
committerAndrea Canciani <ranma42@gmail.com>2011-08-14 15:27:08 +0200
commitc353dfca539e84c68e55ddca15d1e80553a4623e (patch)
tree2438eba1006a7480064100ed8b2e73da1c2dcd10
parenta428ce71450d9cec28c5050c900f76a5dc2f9837 (diff)
ft-font: set rgba style only oncewip/no-0-ref
-rw-r--r--src/cairo-ft-font.c9
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;