![]() |
![]() |
![]() |
![]() |
Convert a stem name into a font ID
FontID * PfDecomposeStemToID(char const *pkszStem );
ph
This function converts a complete font stem, such as helv12b, to a FontID representation. It parses pkszStem and queries the font manager for the information pertinent to the font.
You're responsible for releasing the resources associated with the returned FontID structure. To do this, call PfFreeFont().
A pointer to a FontID, or NULL on failure.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PfConvertFontID(), PfFindFont(), PfFontDescription(), PfFontFlags(), PfFontSize(), PfFreeFont()
Fonts chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |