![]() |
![]() |
![]() |
![]() |
Get the foundry name of a font
#include <photon/Pf.h>
char const *PfFontDescription( FontID *ptsID );
#include <font_api.h>
char const* PfFontDescriptionCx(
struct _Pf_ctrl * context,
FontID * ptsID );
These functions get the foundry name specific to the font ID pointed to by ptsID. These routines don't check to see if ptsID is non-NULL.
The foundry name specific to the FontID, e.g. Comic Sans MS.
PfFontDescriptionCx(): See the example for PfConvertFontIDCx().
PfFontDescription(): See PfFindFont().
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
PfConvertFontID(), PfConvertFontIDCx(), PfDecomposeStemToID(), PfDecomposeStemToIDCx(), PfFindFont() PfFindFontCx(), PfFontBaseStem(), PfFontBaseStemCx(), PfFontFlags(), PfFontFlagsCx(), PfFontSize(), PfFontSizeCx(), PfFreeFont(), PfFreeFontCx(), PfGenerateFontName(), PfGenerateFontNameCx()
Fonts chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |