Package: pango
Accessor pango:font-family-is-monospace
Lambda Listpango:font-family-is-monospace (object) SyntaxArgumentsDetails
A monospace font is a font designed for text display where the characters
form a regular grid.
For Western languages this would mean that the advance width of all characters
are the same, but this categorization also includes Asian fonts which include double-width characters. The g_unichar_iswide() function returns a
result that indicates whether a character is typically double-width in a
monospace font. The best way to find out the grid-cell size is to call the pango:font-metrics-approximate-digit-width function, since the results of the pango:font-metrics-approximate-char-width function may be affected by double-width characters. Since 1.52 | See also |
2024-5-25