## text

text — Enables capabilities to write some text on rendering screen.

## Synopsis

    void        openGLText_initFontList         ();
    void        openGLText_rebuildFontList      ();
    void        openGLText_drawChars            (gchar *s);

## Description

For the moment, this module is very basic and the only fonts available is the helvetica 12 one. This module is currently broken under Windows.

## Details

### openGLText_initFontList ()

    void        openGLText_initFontList         ();

Initialise the font drawing with default font (depending on system). It must be called before `openGLText_drawChars()` and not in a `glNewList()`. Can be called several times, fonts are initialized once only. Use `openGLText_rebuildFontList()` to force to build a new font list.

### openGLText_rebuildFontList ()

    void        openGLText_rebuildFontList      ();

Force to buid a new font list (for example new context has changed.

### openGLText_drawChars ()

    void        openGLText_drawChars            (gchar *s);

Draw the given string on the current raster position with default font.

`s` : | a string.