Mailinglisten-Archive |
hi
Der folgende Code erzeugt regelmäßig die Fehlermeldung
'PHP Warning: imagepstext(): libt1 returned error 14 in /path/to/script.php
on line 8'
<snip>
1: $text = PDF_THUMB_OUT_OF_DATE;
2: $imageNew = imageCreateTrueColor ( $newWidth, $newHeight );
3: imageCopyResized ( $imageNew, $image, 0, 0, 0, 0, $newWidth, $newHeight,
$width, $height );
4: $bg = imagecolorallocate ( $imageNew, 0, 0, 0);
5: $textcolor = imagecolorallocate($imageNew, 0, 0, 255);
6: $font = imagepsloadfont('/path/to/fontfile.pfb');
7: imagePSEncodeFont( $font, '/path/to/encfile.enc');
8: $result = ImagePSText($imageNew, $text, $font, 32, $textcolor, $bg, 0,
100);
9: ImagePSFreeFont( $font );
</snip>
Hat jemand einen Vorschlag zur Erläuterung der Fehlermeldung?
Vielen Dank
Grüße
Andreas
--
wdv Medien & Kommunikation GmbH & Co. OHG
Mediendatenverarbeitung
Andreas Heigl
Siemensstrasse 6
61352 Bad Homburg
Germany
Telefon +49-(0)6172-670-185
Telefax +49-(0)6172-670-181
www.wdv.de
php::bar PHP Wiki - Listenarchive