Package: pango

Function pango-font-metrics-approximate-digit-width

Lambda List

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

Arguments

metrics -- a pango-font-metrics instance

Return Value

An integer with the digit width, in Pango units.

Details

Gets the approximate digit width for a font metrics instance. This is merely a representative value useful, for example, for determining the initial size for a window. Actual digits in text can be wider or narrower than this, though this value is generally somewhat more accurate than the result of the function pango-font-metrics-approximate-char-width for digits.
 

See also

2021-1-8