diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-27 19:21:38 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-28 21:01:12 -0400 |
commit | 1d6ef80242e16c5974dddd0a92727c0e6d97407a (patch) | |
tree | 9eb88331e0652787e155d87c3b19b707be02fe6f /pango/pangofc-font.c | |
parent | 0f661af32fe4bc7401ef11f9e66b9869df6a365c (diff) | |
download | pango-1d6ef80242e16c5974dddd0a92727c0e6d97407a.tar.gz |
fcfont: Cosmetics
Remove a few duplicated lines and typos.
Diffstat (limited to 'pango/pangofc-font.c')
-rw-r--r-- | pango/pangofc-font.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c index 8543b85e..79bc166f 100644 --- a/pango/pangofc-font.c +++ b/pango/pangofc-font.c @@ -103,7 +103,6 @@ pango_fc_font_class_init (PangoFcFontClass *class) font_class->get_font_map = pango_fc_font_get_font_map; font_class->get_features = pango_fc_font_get_features; font_class->create_hb_font = pango_fc_font_create_hb_font; - font_class->get_features = pango_fc_font_get_features; pclass = g_type_class_get_private ((GTypeClass *) class, PANGO_TYPE_FONT); @@ -472,7 +471,6 @@ pango_fc_font_get_metrics (PangoFont *font, /* Compute derived metrics */ PangoLayout *layout; PangoRectangle extents; - const char *sample_str = pango_language_get_sample_string (language); PangoFontDescription *desc = pango_font_describe_with_absolute_size (font); gulong sample_str_width; |