void pango_glyph_string_get_logical_widths ( PangoGlyphString* glyphs, const char* text, int length, int embedding_level, int* logical_widths )
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.
The text corresponding to the glyphs.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
The length of
text, in bytes.
The embedding level of the string.
Type: An array of
An array whose length is the number of characters in text (equal to
g_utf8_strlen (text, length)unless text has
NULbytes) to be filled in with the resulting character widths.
The data is owned by the caller of the function.