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 | |
parent | 0f661af32fe4bc7401ef11f9e66b9869df6a365c (diff) | |
download | pango-1d6ef80242e16c5974dddd0a92727c0e6d97407a.tar.gz |
fcfont: Cosmetics
Remove a few duplicated lines and typos.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pangofc-font.c | 2 | ||||
-rw-r--r-- | pango/pangofc-fontmap.c | 2 |
2 files changed, 1 insertions, 3 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; diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c index dcc2c08d..388ed2d3 100644 --- a/pango/pangofc-fontmap.c +++ b/pango/pangofc-fontmap.c @@ -155,7 +155,7 @@ struct _PangoFcFontMapPrivate GHashTable *font_face_data_hash; /* Maps font file name/id -> data */ - /* List of all families availible */ + /* List of all families available */ PangoFcFamily **families; int n_families; /* -1 == uninitialized */ |