summaryrefslogtreecommitdiff
path: root/pango/pango-item-private.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-07 11:11:45 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-08 08:38:06 -0500
commitb9b92e79da0e55acf0c13968ca699d4dd78fc614 (patch)
tree9f4f082957cb907927c22d241a51b2bf467dfbd3 /pango/pango-item-private.h
parentcb6a93fb8ac99b155cf73ed0decd1c8a1230caa3 (diff)
downloadpango-b9b92e79da0e55acf0c13968ca699d4dd78fc614.tar.gz
Reshuffle itemize API
Split the post-processing off into a separate function that can take log attrs in addition. This will allow us to handle word starts when dealing with text transforms for emulated Small Caps. So far, this is all private API that is used from PangoLayout. Please file an issue if you want to access Small Caps emulation without PangoLayout.
Diffstat (limited to 'pango/pango-item-private.h')
-rw-r--r--pango/pango-item-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pango/pango-item-private.h b/pango/pango-item-private.h
index e80a3c02..ef3e8ed0 100644
--- a/pango/pango-item-private.h
+++ b/pango/pango-item-private.h
@@ -22,6 +22,7 @@
#define __PANGO_ITEM_PRIVATE_H__
#include <pango/pango-item.h>
+#include <pango/pango-break.h>
G_BEGIN_DECLS
@@ -82,6 +83,11 @@ GList * pango_itemize_with_font (PangoContext
PangoAttrIterator *cached_iter,
const PangoFontDescription *desc);
+GList * pango_itemize_post_process_items (PangoContext *context,
+ const char *text,
+ PangoLogAttr *log_attrs,
+ GList *items);
+
G_END_DECLS