pglyphstring:GetLogicalWidths -- get logical widths
Synopsis
t = pglyphstring:GetLogicalWidths(text$, embedding_level)
Function
Given a Pango glyph string 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 individual widths are returned in a table.