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/pfdecomposestemtoid.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/pfdecomposestemtoid.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/pfdecomposestemtoid.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/pfdecomposestemtoid.html on line 8
Convert a stem name into a font ID
#include <photon/Pf.h>
FontID * PfDecomposeStemToID( char const *pkszStem );
#include <font_api.h>
FontID* PfDecomposeStemToIDCx(
struct _Pf_ctrl * context,
char const * pkszStem );
- context
- (PfDecomposeStemToIDCx() only) A pointer to the font context to use, returned by PfAttachCx() or PfAttachDllCx().
- pkszStem
- A pointer to the stem to decompose to a FontID, for example primasansbts12.
- PfDecomposeStemToID()
- ph
- PfDecomposeStemToIDCx()
- font
These functions convert a complete font stem, such as helv12b,
to a FontID representation. They parse pkszStem and query
the font manager or server for the information pertinent to the font.
You're responsible for releasing the resources associated with the returned
FontID structure.
To do this, call the corresponding free font function, either
PfFreeFont() or PfFreeFontCx().
A pointer to a FontID, or NULL on failure.
PfDecomposeStemToIDCx(): See the example for PfGetGlyphIndexCx().
Photon
PfDecomposeStemToID()
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PfDecomposeStemToIDCx()
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
PfConvertFontID(),
PfConvertFontIDCx(),
PfFindFont(),
PfFindFontCx(),
PfFontDescription(),
PfFontDescriptionCx(),
PfFontFlags(),
PfFontFlagsCx(),
PfFontSize(),
PfFontSizeCx(),
PfFreeFont(),
PfFreeFontCx()
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/pfdecomposestemtoid.html on line 157
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/pfdecomposestemtoid.html on line 157