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/pfdynamicfontidcx.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/pfdynamicfontidcx.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/pfdynamicfontidcx.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/pfdynamicfontidcx.html on line 8
Retrieve a dynamic font ID
#include <font_api.h>
long PfDynamicFontIDCx( struct _Pf_ctrl * context,
char const * path );
- context
- A pointer to the font context to use, returned by PfAttachCx() or PfAttachDllCx().
- path
- The full path and font name for the font file from which to
locate the dynamic ID.
font
This function retrieves the assigned dynamic load ID for the
given font file, if it has been loaded by PfDynamicLoadCx().
- A dynamic font ID
- Success
- -1
- Failure
- EFAULT
- Font context or path is NULL.
- ESRCH
- Unable to locate device.
- EBADF
- Connection has gone stale, or device error occurred.
- ENETUNREACH
- Bad message buffer.
- ELIBACC
- Unable to locate render plugin for specified font.
- ENOTSUP
- Provided font file is not supported by any render plugin.
- EPERM
- Permission denied to process request.
See the example for PfDynamicLoadCx().
Photon
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
PfAttachCx(), PfAttachDllCx(), PfDynamicLoadCx().
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/pfdynamicfontidcx.html on line 135
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/pfdynamicfontidcx.html on line 135