Graphics
Removed
Support for PostScript Type1 Fonts from gd
Extension
The support for PostScript Type1 fonts has been removed from the
gd
extension. Therefore, the following functions are no
longer available:
imagepsbbox()
imagepsencodefont()
imagepsextendfont()
imagepsfreefont()
imagepsloadfont()
imagepsslantfont()
imagepstext()
If your code still relies on these functions, you have to substitute them and use TrueType fonts instead of PostScript Type1 fonts. Both are vector-based so there should not be any issue with regard to quality of the fonts.
Use the function imagettftext()
to embed TrueType
text into an image.