General Terminal

GtIsFontFixMetric

Check whether characters use a fixed cell width

Syntax

Signature
xBool GtIsFontFixMetric( void );

Arguments

No arguments.

Return value

T if characters use a fixed cell width, otherwise F.

Description

Controls the fixed-width drawing metric used for each character in a text cell.

Example

gtisfontfixmetric.c
#include "xdev-wtui.h"

#include <stdio.h>

int main( void )
{
   printf( "Font Fix Metric state: %s\n", GtIsFontFixMetric() ? "on" : "off" );

   return 0;
}

See also