General Terminal

GtGetFontName

Get the active font name

Syntax

Signature
const char *GtGetFontName( void );

Arguments

No arguments.

Return value

The font name supplied by the active driver.

Description

The library owns the returned string and replaces it on the next call. Drivers with built-in fonts may report a fixed name.

Example

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

#include <stdio.h>

int main( void )
{
   printf( "Font: %s\n", GtGetFontName() );

   return 0;
}

See also