Name
pfontmetrics:GetApproximateCharWidth -- get approximate char width
Synopsis
width = pfontmetrics:GetApproximateCharWidth()
Function
Gets the approximate character width for a font metrics structure.

This is merely a representative value useful, for example, for determining the initial size for a window. Actual characters in text will be wider and narrower than this.

Inputs
none

Results
width
the character width, in Pango units

Show TOC