diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-08 20:53:03 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-08 20:53:03 -0500 |
commit | d94f5a10a2f19fed4a3a5ae823d7e07d9d05e76d (patch) | |
tree | e722c53494f581dd0bf732ca443281c6d1dfd615 /pango/pangofc-font.c | |
parent | 648fad985cbef84ad7166f88c3eaa900e5197bc1 (diff) | |
download | pango-d94f5a10a2f19fed4a3a5ae823d7e07d9d05e76d.tar.gz |
fc: Drop unnecessary ifdefs
We are requiring a new enough fontconfig now.
Diffstat (limited to 'pango/pangofc-font.c')
-rw-r--r-- | pango/pangofc-font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c index 79bc166f..0e56a39b 100644 --- a/pango/pangofc-font.c +++ b/pango/pangofc-font.c @@ -849,7 +849,7 @@ pango_fc_font_get_features (PangoFont *font, char *s; while (*num_features < len && FcResultMatch == FcPatternGetString (fc_font->font_pattern, - PANGO_FC_FONT_FEATURES, + FC_FONT_FEATURES, *num_features, (FcChar8 **) &s)) { @@ -1025,7 +1025,7 @@ pango_fc_font_create_hb_font (PangoFont *font) hb_ot_var_named_instance_get_design_coords (hb_face, instance, &n_axes, coords); } - if (FcPatternGetString (pattern, PANGO_FC_FONT_VARIATIONS, 0, (FcChar8 **)&variations) == FcResultMatch) + if (FcPatternGetString (pattern, FC_FONT_VARIATIONS, 0, (FcChar8 **)&variations) == FcResultMatch) parse_variations (variations, axes, n_axes, coords); variations = pango_fc_font_key_get_variations (key); |