diff options
-rw-r--r-- | pango/pangocairo-fcfont.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pango/pangocairo-fcfont.c b/pango/pangocairo-fcfont.c index ef4273e7..e153c13e 100644 --- a/pango/pangocairo-fcfont.c +++ b/pango/pangocairo-fcfont.c @@ -226,7 +226,6 @@ _pango_cairo_fc_font_new (PangoCairoFcFontMap *cffontmap, double size; int i; cairo_font_options_t *options; - const char *variations; g_return_val_if_fail (PANGO_IS_CAIRO_FC_FONT_MAP (cffontmap), NULL); g_return_val_if_fail (pattern != NULL, NULL); @@ -253,11 +252,6 @@ _pango_cairo_fc_font_new (PangoCairoFcFontMap *cffontmap, cairo_matrix_scale (&font_matrix, size, size); options = pango_fc_font_key_get_context_key (key); - variations = pango_fc_font_key_get_variations (key); - if (variations) { - options = cairo_font_options_copy (options); - cairo_font_options_set_variations (options, variations); - } _pango_cairo_font_private_initialize (&cffont->cf_priv, (PangoCairoFont *) cffont, @@ -266,9 +260,6 @@ _pango_cairo_fc_font_new (PangoCairoFcFontMap *cffontmap, pango_fc_font_key_get_matrix (key), &font_matrix); - if (variations) - cairo_font_options_destroy (options); - ((PangoFcFont *)(cffont))->is_hinted = _pango_cairo_font_private_is_metrics_hinted (&cffont->cf_priv); return (PangoFcFont *) cffont; |