ң

imagepsloadfont

(PHP 3>= 3.0.9, PHP 4)

imagepsloadfont - PostScript Type 1 .

int imagepsloadfont (string filename)

ӣ , . FALSE , , image.

<?php header ("Content-type: image/jpeg"); $im = imagecreate (350, 45); $black = imagecolorallocate ($im, 0, 0, 0); $white = imagecolorallocate ($im, 255, 255, 255); $font = imagepsloadfont ("bchbi.pfb"); // .pfb imagepstext ($im, "Testing... It worked!", $font, 32, $white, $black, 32, 32); imagepsfreefont ($font); imagejpeg ($im, "", 100); // ... imagedestroy ($im); ?>

. imagepsfreefont() .


ң
imagepsfreefont imagepsslantfont