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/pffreefont.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/pffreefont.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/pffreefont.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/pffreefont.html on line 8
Release resources associated with a font
#include <photon/Pf.h>
long PfFreeFont( FontID *ptsID );
#include <font_api.h>
long PfFreeFontCx( struct _Pf_ctrl * context,
                   FontID * ptsID );
- context
 
- (PfFreeFontCx() only) A pointer to the font context to use, returned by PfAttachCx() or PfAttachDllCx().
 
- ptsID
 
- A pointer to a font ID, as returned by
  PfFindFont() or PfFindFontCx().
 
  
- PfFreeFont()
    
 
- ph
    
 
- PfFreeFontCx()
    
 
- font
  
 
These functions release all resources bound to the font ID pointed
to by ptsID.
- 0L
 
- Success.
 
- -1L
 
- An error occurred; errno is set.
 
- EFAULT
 
- The ptsID argument is NULL.
 
PfFreeFontCx(): See the examples for PfConvertFontIDCx(), PfGetGlyphIndexCx(),
and PfRenderCx().
PfFreeFont(): See
PfFindFont().
Photon
PfFreeFont()
| Safety: |  | 
| Interrupt handler | 
    No | 
| Signal handler | 
    No | 
| Thread | 
    No | 
PfFreeFontCx()
| Safety: |  | 
| Interrupt handler | 
    No | 
| Signal handler | 
    No | 
| Thread | 
    Yes | 
PfConvertFontID(),
PfConvertFontIDCx(),
PfDecomposeStemToID(),
PfDecomposeStemToIDCx(),
PfFindFont(),
PfFindFontCx(),
PfFontDescription(),
PfFontDescriptionCx(),
PfFontFlags(),
PfFontFlagsCx(),
PfFontSize(),
PfFontSizeCx(),
PfGenerateFontName(),
PfGenerateFontNameCx(),
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/pffreefont.html on line 178
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/pffreefont.html on line 178