diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-30 03:03:04 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-30 03:03:04 +0000 |
commit | 877d0bf4c93246fc8787b86316580fe52eecb9ed (patch) | |
tree | be3456968500e5d7190c6885ff29755b762a0c6a /pango/pango-glyph.h | |
parent | dfcb602b49175ecc0d8d9c76b0da134e67693a9a (diff) | |
parent | 6c84e672cb0e7bcc9a74f9ca0462c073a2ee2c19 (diff) | |
download | pango-877d0bf4c93246fc8787b86316580fe52eecb9ed.tar.gz |
Merge branch 'more-rtl-cluster-fixes' into 'main'
Try harder to disect clusters
See merge request GNOME/pango!450
Diffstat (limited to 'pango/pango-glyph.h')
-rw-r--r-- | pango/pango-glyph.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pango/pango-glyph.h b/pango/pango-glyph.h index 2094fa53..cd29b77a 100644 --- a/pango/pango-glyph.h +++ b/pango/pango-glyph.h @@ -24,6 +24,7 @@ #include <pango/pango-types.h> #include <pango/pango-item.h> +#include <pango/pango-break.h> G_BEGIN_DECLS @@ -198,6 +199,16 @@ void pango_glyph_string_x_to_index (PangoGlyphStrin int *index_, int *trailing); +PANGO_AVAILABLE_IN_1_50 +void pango_glyph_string_index_to_x_full (PangoGlyphString *glyphs, + const char *text, + int length, + PangoAnalysis *analysis, + PangoLogAttr *attrs, + int index_, + gboolean trailing, + int *x_pos); + /* Shaping */ /** |