Package: pango

Function pango-font-metrics-approximate-char-width

Lambda List

pango-font-metrics-approximate-char-width (metrics)

Arguments

metrics -- a pango-font-metrics instance

Return Value

An integer with the character width, in Pango units.

Details

Gets the approximate character width for a font metrics instance. 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.
 

See also

2021-1-8