General Terminal

GtIsFontBold

Check whether the font is bold

Syntax

Signature
xBool GtIsFontBold( void );

Arguments

No arguments.

Return value

T if the font is bold, otherwise F.

Description

Controls the active font weight. The setter also asks the driver to rebuild the font at the current cell height.

Example

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

#include <stdio.h>

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

   return 0;
}

See also