[Previous] [Contents] [Index] [Next]

PfDecomposeStemToID()

Convert a stem name into a font ID

Synopsis:

FontID * PfDecomposeStemToID(char const *pkszStem );

Library:

ph

Description:

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().

Returns:

A pointer to a FontID, or NULL on failure.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PfConvertFontID(), PfFindFont(), PfFontDescription(), PfFontFlags(), PfFontSize(), PfFreeFont()

Fonts chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]