Sign in Join
FPDoc Onlineexperiment

FontIsMonoSpace function

In unit LCLIntf

Indicates whether the specified font handle represents a fixed-pitch typeface.

Declaration

pascal
function FontIsMonoSpace(Font: HFont): Boolean

Arguments

Font

Handle for the font examined in the routine.

Function result

True when the font uses a fixed-pitch typeface.

Description

FontIsMonoSpace is not implemented for all widgetsets. For example, GTK3 always returns False in the current LCL version (2.3.0). However, it is implemented for GTK2.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.