PS_SETFONT(3) 1 PS_SETFONT(3)
ps_setfont - Sets font to use for following output
SYNOPSIS
bool ps_setfont (resource $psdoc, int $fontid, float $size)
DESCRIPTION
Sets a font, which has to be loaded before with ps_findfont(3). Outputting text without setting a font results in an error.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
o $fontid
- The font identifier as returned by ps_findfont(3).
o $size
- The size of the font.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
ps_findfont(3), ps_set_text_pos(3) for an example..
PHP Documentation Group PS_SETFONT(3)