Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontdescription.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontdescription.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontdescription.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontdescription.html on line 8

PfFontDescription(), PfFontDescriptionCx()

Get the foundry name of a font

Synopsis:

#include <photon/Pf.h>
char const *PfFontDescription( FontID *ptsID );

#include <font_api.h>
char const* PfFontDescriptionCx(
               struct _Pf_ctrl * context,
               FontID * ptsID );

Arguments:

context
(PfFontDescriptionCx() only) A pointer to the font context to use, returned by PfAttachCx() or PfAttachDllCx().
ptsID
A pointer to a font ID, as returned by PfFindFont() or PfFindFontCx().

Library:

PfFontDescription()
ph
PfFontDescriptionCx()
fontlib

Description:

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.

Returns:

The foundry name specific to the FontID, e.g. Comic Sans MS.

Examples:

PfFontDescriptionCx(): See the example for PfConvertFontIDCx().

PfFontDescription(): See PfFindFont().

Classification:

Photon

PfFontDescription()

Safety:
Interrupt handler No
Signal handler No
Thread No

PfFontDescriptionCx()

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

PfConvertFontID(), PfConvertFontIDCx(), PfDecomposeStemToID(), PfDecomposeStemToIDCx(), PfFindFont() PfFindFontCx(), PfFontBaseStem(), PfFontBaseStemCx(), PfFontFlags(), PfFontFlagsCx(), PfFontSize(), PfFontSizeCx(), PfFreeFont(), PfFreeFontCx(), PfGenerateFontName(), PfGenerateFontNameCx()

Fonts chapter of the Photon Programmer's Guide


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontdescription.html on line 163

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontdescription.html on line 163