Syntax
void GtSetFontBold( xBool on );
Arguments
on enables the setting with T or disables it with F.
Return value
No return value.
Description
Controls the active font weight. The setter also asks the driver to rebuild the font at the current cell height. Check the resulting state with GtIsFontBold().
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
xBool previous = GtIsFontBold();
GtSetFontBold( T );
printf( "Font Bold state: %s\n", GtIsFontBold() ? "on" : "off" );
GtSetFontBold( previous );
return 0;
}