PfUnloadMetrics()

Unload metric information for the given font

Synopsis:

#include <photon/Pf.h>
int PfUnloadMetrics( const char *font );

Arguments:

font
The name of the font whose metrics you want to unload. You should create this name by calling PfGenerateFontName().

Library:

ph

Description:

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.

Returns:

0
Success.
-1
An error occurred (errno is set).

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PfLoadMetrics(), PfGenerateFontName()

Fonts chapter of the Photon Programmer's Guide