FMFREEFONT(3W) FMFREEFONT(3W)
fmfreefont - free the storage for a font
#include <fmclient.h>
void fmfreefont(fh)
fmfonthandle fh;
fmfreefont frees the storage associated with a font in a given rotation
and size (as specified in the font handle fh). Deleting a font also
deletes its font handle. To ensure that fmfreefont frees the correct
font/rotation/size instance, be sure that the same page matrix is in
force as when you first queried or imaged from that font.
Because normal usage of the font manager does not involve changing the
page matrix, you seldom need to worry about it. But if you find that you
cannot delete a font (or find that you have deleted the wrong font)
consider the state of the page matrix.
fminit(3W), fmscalefont(3W), fmgetpagematrix(3W), fmsetpagematrix(3W).
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|