Name
pglyphitem:GetLogicalWidths -- get logical widths
Synopsis
logical_widths = pglyphitem:GetLogicalWidths(text$)
Function
Given a Pango glyph item and the corresponding text, determine the width corresponding to each character. The individual widths are returned in a table. When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters.

See also pglyphstring:GetLogicalWidths().

Inputs
text$
text that the glyph item corresponds to
Results
logical_widths
table containing the resulting character widths

Show TOC