ID:               28492
 Updated by:       [EMAIL PROTECTED]
 Reported By:      nimion at tripsoftware dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         GD related
 Operating System: Linux
 PHP Version:      4.3.4
 New Comment:

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

Please try 4.3.6.


Previous Comments:
------------------------------------------------------------------------

[2004-05-22 18:36:45] nimion at tripsoftware dot com

Description:
------------
imagettftext is not producing any output, just a blank image.  I am
using 4.3.4 with GD 2.0.12, and have tried everything to get it to at
least report whats wrong (including giving it a blatently false font
path, which still did not return errors). The same code works fine on
my dev box (Windows 4.3.4 w/GD 2.0.22).

Reproduce code:
---------------
<?php
  $im = imagecreate(400, 400);
  $white = imagecolorallocate($im, 255, 255, 255);
  $black = imagecolorallocate($im, 0, 255, 0);
 
  // Replace path by your own font path
  $r = imagettftext($im, 20, 0, 10, 20, $black, "arial", "LET THERE BE
LIGHT");
  
  imagejpeg($im);
  imagedestroy($im);
?> 

Expected result:
----------------
Text on an image.

Actual result:
--------------
Nothing.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28492&edit=1

Reply via email to