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/pfdetach.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/pfdetach.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/pfdetach.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/pfdetach.html on line 8

PfDetach(), PfDetachCx()

Detach from font server

Synopsis:

#include <photon/Pf.h>
void PfDetach( struct _Pf_ctrl *pf );

#include <font_api.h>
void PfDetachCx( struct _Pf_ctrl * pf  );

Arguments:

pf
A control structure. For PfDetach(), this structure was returned by a previous call to PfAttach(). For PfDetachCx(), this structure was returned by a previous call to PfAttachCx() or PfAttachDllCx().

Library:

PfDetach()
ph
PfDetachCx()
font

Description:

These functions detach the task from the font server and release all the memory that the font context uses, including any shared memory and local metrics code. If your application has attached to a local font DLL (using PfAttachLocalDll()), it must also call PfDetachLocalDll().

Examples:

PfDetachCx(): See the examples for PfConvertFontIDCx() and PfRenderCx().

Classification:

Photon

PfDetach()

Safety:
Interrupt handler No
Signal handler No
Thread No

PfDetachCx()

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

PfAttach(), PfAttachCx(), PfAttachDllCx(), PfExtentCx(), PfExtentTextCharPositionsCx(), PfGetOutlineCx(), PfRenderCx()

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/pfdetach.html on line 140

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/pfdetach.html on line 140