Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pfunloadmetrics.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pfunloadmetrics.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pfunloadmetrics.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pfunloadmetrics.html on line 8

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


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pfunloadmetrics.html on line 116

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pfunloadmetrics.html on line 116