Once loaded, the Postscript font can be used to render text using the imagepstext() function

imagepstext($img_r, $string, $font_r, $size, $f_color, $b_color, $x, $y [, $spacing, $char_spacing, $angle, $antialias]);

Note: Unlike most functions, the imagepstext() accepts either eight or twelve parameters only

Descriptions of the optional parameters