pfdLoadFont(3pf) OpenGL Performer 3.2.2 libpfdu Reference Pages
NAME
pfdLoadFont, pfdLoadFont_type1 - Utilities for loading fonts into
Performer applications
FUNCTION SPECIFICATION
#include <Performer/pfdu.h>
pfFont * pfdLoadFont(char *ext, char *fontFileName, int style);
pfFont * pfdLoadFont_type1(char *fontName, int style);
DESCRIPTION
pfdLoadFont tries to load a font of specific type using the ext to find a
routine that is capable of building this type of font. The routine name
is of the form pfdLoadFont_ext. This routine will then use fontFileName
to find a file containing the font description and try to create the
pfFont using this description and the style token. Current font style
tokens include: PFDFONT_TEXTURED, PFDFONT_OUTLINED, PFDFONT_FILLED,
PFDFONT_EXTRUDED, and PFDFONT_VECTOR. Although only some of these styles
may be available for any particular font.
pfdLoadFont_type1 is one instance of a font loader. It loads Haeberli
font definitions into Performer structures. Valid styles are all of the
above except PFDFONT_VECTOR.
SEE ALSO
pfFont, pfString, pfText
Page 1