Unload metric information for the given font
#include <photon/Pf.h> int PfUnloadMetrics( const char *font );
- The name of the font whose metrics you want to unload. You should create this name by calling PfGenerateFontName().
This function unloads the local metrics for the given font from memory and releases any memory used for their storage. Subsequent text extents of this base font are resolved by the font server rather than being performed locally.
- An error occurred (errno is set).
Fonts chapter of the Photon Programmer's Guide