summaryrefslogtreecommitdiff
path: root/pango/ellipsize.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-09 14:53:15 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-11 22:03:39 -0400
commita5409723af5d4b71f6d82288310e0e99020ad7c2 (patch)
tree43036ca5c8067daeb6a5bb046ed30872d992464b /pango/ellipsize.c
parent481e1be4647f691139d953b91ad81b88e0dc6f3b (diff)
downloadpango-a5409723af5d4b71f6d82288310e0e99020ad7c2.tar.gz
Use pango_font_covers
This replaces all uses of _pango_engine_shape_covers.
Diffstat (limited to 'pango/ellipsize.c')
-rw-r--r--pango/ellipsize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/ellipsize.c b/pango/ellipsize.c
index ade33ec7..928ec744 100644
--- a/pango/ellipsize.c
+++ b/pango/ellipsize.c
@@ -24,7 +24,7 @@
#include "pango-glyph-item.h"
#include "pango-layout-private.h"
-#include "pango-engine-private.h"
+#include "pango-font-private.h"
#include "pango-impl-utils.h"
typedef struct _EllipsizeState EllipsizeState;
@@ -345,8 +345,8 @@ shape_ellipsis (EllipsizeState *state)
/* If that fails we use "..." in the first matching font
*/
if (!item->analysis.font ||
- !_pango_engine_shape_covers (item->analysis.shape_engine, item->analysis.font,
- item->analysis.language, g_utf8_get_char (ellipsis_text)))
+ !pango_font_covers (item->analysis.font,
+ g_utf8_get_char (ellipsis_text)))
{
pango_item_free (item);