get_logical_widths
Description:
Given a `PangoGlyphString` and corresponding text, determine the width corresponding to each character.
When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters.
See also [method@Pango.GlyphItem.get_logical_widths].
Parameters:
this |
a `PangoGlyphString` |
text |
the text corresponding to the glyphs |
length |
the length of |
embedding_level |
the embedding level of the string |
logical_widths |
an array whose length is the number of characters in text (equal to `g_utf8_strlen (text, length)` unless text has `NUL` bytes) to be filled in with the resulting character widths. |