summaryrefslogtreecommitdiff
path: root/pango/pango-item-private.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-06 20:46:48 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-11-06 23:47:16 -0400
commit45a31546a009d423586e5fe80c19eb1add6e16dd (patch)
tree4a210e4b4d60e3befff6f70aca2a08c791904a5a /pango/pango-item-private.h
parent9d389e936707ebcf84fbc64d07b8aa17cdf2ef04 (diff)
downloadpango-45a31546a009d423586e5fe80c19eb1add6e16dd.tar.gz
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.
Diffstat (limited to 'pango/pango-item-private.h')
-rw-r--r--pango/pango-item-private.h5
1 files changed, 5 insertions, 0 deletions
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__ */