I have written some PHP code to write dynamic text onto a menu bar for my web page, and while it works with the default fonts used by PHP, I cannot get different fonts to load correctly. I have tried to use the ImagePSLoadFont() function, but all I get is the following error message :

Call to undefined function: imagepsloadfont()

Has anyone here worked with fonts and image creation with PHP? Is this the function I want to use?