From 45a31546a009d423586e5fe80c19eb1add6e16dd Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 6 Nov 2021 20:46:48 -0400 Subject: pango-item: Add a helper Add a helper function that used to live with the Harfbuzz shaping code in shape.c. It will be used in the itemize code too, in the future. --- pango/pango-item-private.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pango/pango-item-private.h') diff --git a/pango/pango-item-private.h b/pango/pango-item-private.h index 8680fa4b..dd3f89fc 100644 --- a/pango/pango-item-private.h +++ b/pango/pango-item-private.h @@ -68,6 +68,11 @@ G_STATIC_ASSERT (offsetof (PangoItem, length) == offsetof (PangoItemPrivate, len G_STATIC_ASSERT (offsetof (PangoItem, num_chars) == offsetof (PangoItemPrivate, num_chars)); G_STATIC_ASSERT (offsetof (PangoItem, analysis) == offsetof (PangoItemPrivate, analysis)); +void pango_analysis_collect_features (const PangoAnalysis *analysis, + hb_feature_t *features, + guint length, + guint *num_features); + G_END_DECLS #endif /* __PANGO_ITEM_PRIVATE_H__ */ -- cgit v1.2.1