PgFontMetrics.getApproximateCharWidth

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.

class PgFontMetrics
int
getApproximateCharWidth
()

Return Value

Type: int

the character width, in Pango units.

Meta