Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pangoFontFamilyIsMonospace

pangoFontFamilyIsMonospace


Description

A monospace font is a font designed for text display where the 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: characters that occupy two grid cells. gUnicharIswide() returns a result that indicates whether a character is typically double-width in a monospace font.

Usage

pangoFontFamilyIsMonospace(object)

Arguments

Details

The best way to find out the grid-cell size is to call pangoFontMetricsGetApproximateDigitWidth, since the results of pangoFontMetricsGetApproximateCharWidth may be affected by double-width characters. Since 1.4

Value

[logical] TRUE if the family is monospace.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.