General Terminal

GtIsFontSmooth

Check whether font smoothing is enabled

Syntax

Signature
xBool GtIsFontSmooth( void );

Arguments

No arguments.

Return value

T if font smoothing is enabled, otherwise F.

Description

Controls the font quality flag. The setter also asks the driver to rebuild the font at the current cell height.

Example

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

#include <stdio.h>

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

   return 0;
}

See also