(PHP3 >= 3.0.9, PHP4 >= 4.0RC1)

ImagePSLoadFont -- Load a PostScript Type 1 font from file


int imagepsloadfont (string filename)

In the case everything went right, a valid font index will be returned and can be used for further purposes. Otherwise the function returns false and prints a message describing what went wrong.

See also ImagePSFreeFont().