Get the base stem associated with a given font ID
#include <photon/Pf.h> char const * PfFontBaseStem( FontID *ptsID ); #include <font_api.h> char const* PfFontBaseStemCx( struct _Pf_ctrl * context, FontID * ptsID );
These functions get the base stem that's associated with the font ID pointed to by ptsID. Examples of a base stem are helv and swiss. This routine is useful when differentiating between two or more installed fonts with identical descriptive names (see PfFontDescription()).
A pointer to the base stem, or NULL if ptsID is NULL.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
PfFontDescription(), PfFontDescriptionCx()
Fonts chapter of the Photon Programmer's Guide