summaryrefslogtreecommitdiff
path: root/pango/pango-context.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-12 23:51:59 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-12 23:51:59 -0400
commit0ae5be87e072e984078c9ad7e1ad30cebd1bd5d1 (patch)
tree79e03f44c05faa1aea8610ea0127a62646793f3a /pango/pango-context.c
parent38832882799b337f4c47b9c9d2c8534d57d7a21e (diff)
downloadpango-0ae5be87e072e984078c9ad7e1ad30cebd1bd5d1.tar.gz
Rename pango_font_covers
We already had a has_char api in pangofc, so use that name.
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r--pango/pango-context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 1cb89d4a..4b258c9c 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1247,13 +1247,11 @@ get_font_foreach (PangoFontset *fontset,
gpointer data)
{
GetFontInfo *info = data;
- PangoCoverageLevel level;
if (G_UNLIKELY (!font))
return FALSE;
- level = pango_font_covers (font, info->wc);
- if (level != PANGO_COVERAGE_NONE)
+ if (pango_font_has_char (font, info->wc))
{
info->font = font;
return TRUE;