summaryrefslogtreecommitdiff
path: root/pango/fonts.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/fonts.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/fonts.c')
-rw-r--r--pango/fonts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index b04eb497..209b6042 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -2308,7 +2308,7 @@ pango_font_face_list_sizes (PangoFontFace *face,
}
/**
- * pango_font_covers:
+ * pango_font_has_char:
* @font: a #PangoFont
* @wc: a Unicode character
*
@@ -2319,8 +2319,8 @@ pango_font_face_list_sizes (PangoFontFace *face,
* Since: 1.44
*/
gboolean
-pango_font_covers (PangoFont *font,
- gunichar wc)
+pango_font_has_char (PangoFont *font,
+ gunichar wc)
{
PangoCoverage *coverage = pango_font_get_coverage (font, pango_language_get_default ());
PangoCoverageLevel result = pango_coverage_get (coverage, wc);