_unregisterfonts

Description

Frees memory used by fonts.

#include <graph.h>

void __far _unregisterfonts( void );

Remarks

The _unregisterfonts function frees memory previously allocated and used by the _registerfonts function. The _unregisterfonts function removes the header information for all fonts and unloads the currently selected font data from memory.

Any attempt to use the _setfont function or the _outgtext function after calling _unregisterfonts results in an error.

Return Value

None.

Compatibility

Standards:None

16-Bit:DOS

32-Bit:None

See Also

_getfontinfo, _getgtextextent, _outgtext, _registerfonts, _setfont

Example

See the example for _outgtext.