summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-09 14:50:19 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-11 22:02:07 -0400
commit481e1be4647f691139d953b91ad81b88e0dc6f3b (patch)
treed80018ddd80bb53dd588892178cc323087b9ca27 /pango/pango-font.h
parentcdeb8308ff13f7c6c4bc583b803bb13e5224277c (diff)
downloadpango-481e1be4647f691139d953b91ad81b88e0dc6f3b.tar.gz
Add pango_font_covers
Add a pango_font_covers function, which is like pango_shape_engine_covers, without the engine. This api is simpler than PangoCoverage in that it does not take a language as input, and only returns a boolean. This matches the harfbuzz api.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index ceaf9643..84d4e122 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -484,6 +484,9 @@ void pango_font_get_glyph_extents (PangoFont *font,
PANGO_AVAILABLE_IN_1_10
PangoFontMap *pango_font_get_font_map (PangoFont *font);
+PANGO_AVAILABLE_IN_1_44
+gboolean pango_font_covers (PangoFont *font,
+ gunichar unichar);
/**
* PANGO_GLYPH_EMPTY: