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

PfConvertFontID()

Convert a font ID to a font name for backwards compatibility

Synopsis:

uchar_t * PfConvertFontID( FontID *ptsID );

Library:

ph

Description:

PfConvertFontID() converts the font ID pointed to by ptsID into a font name. This function can be used for backwards compatibility with the older Pf API.


Note: PfConvertFontID() doesn't check to see if ptsID is NULL, due to the way this routine is used.

Returns:

A version of the font identifier that the older Pf API can understand.


Note: The return type/value could change in future releases of Photon.

Examples:

See PfFindFont().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PfDecomposeStemToID(), PfFindFont(), PfFontDescription(), PfFontFlags(), PfFontSize(), PfFreeFont(), PfGenerateFontName(),

Fonts chapter of the Photon Programmer's Guide


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