[Previous] [Contents] [Index] [Next]

PfUnloadMetrics()

Unload metric information for the given font

Synopsis:

#include <photon/Pf.h>

int PfUnloadMetrics( const char *font );

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.

You should create the font name by calling PfGenerateFontName().

Returns:

0
Success.
-1
An error occurred: the value of errno is set appropriately.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PfLoadMetrics(), PfGenerateFontName()

Fonts chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]