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/pffontbasestem.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/pffontbasestem.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/pffontbasestem.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/pffontbasestem.html on line 8

PfFontBaseStem(), PfFontBaseStemCx()

Get the base stem associated with a given font ID

Synopsis:

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

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

Arguments:

context
(PfFontBaseStemCx() 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:

PfFontBaseStem()
ph
PfFontBaseStemCx()
font

Description:

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

Returns:

A pointer to the base stem, or NULL if ptsID is NULL.

Classification:

Photon

PfFontBaseStem()

Safety:
Interrupt handler No
Signal handler No
Thread No

PfFontBaseStemCx()

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

PfFontDescription(), PfFontDescriptionCx()

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/pffontbasestem.html on line 141

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/pffontbasestem.html on line 141