Detach from font server
#include <photon/Pf.h> void PfDetach( struct _Pf_ctrl *pf ); #include <font_api.h> void PfDetachCx( struct _Pf_ctrl * pf );
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().
PfDetachCx(): See the examples for PfConvertFontIDCx() and PfRenderCx().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
PfAttach(), PfAttachCx(), PfAttachDllCx(), PfExtentCx(), PfExtentTextCharPositionsCx(), PfGetOutlineCx(), PfRenderCx()
Fonts chapter of the Photon Programmer's Guide