ID:               33489
 Updated by:       [EMAIL PROTECTED]
 Reported By:      informatica at diputacionavila dot es
-Status:           Open
+Status:           Bogus
 Bug Type:         GD related
 Operating System: Linux Fedora Core 2
 PHP Version:      5.1.0b2
 New Comment:

..and the underlying freetype libs, etc. are the same in both systems?
And you're reporting this bug to be in 5.1b2, even as you only talk
about 5.0.2 / 3..so REALLY try the b2 before reporting something..



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

[2005-06-27 13:47:21] informatica at diputacionavila dot es

Description:
------------
Certain true type fonts shows squares instead of text. Common fonts
works fine (Times, Arial...) and some symbol fonts too. But weather.tff
don't. You can download the font from www.diputacionavila.es/weather.ttf

Reproduce code:
---------------
<?php 
Header("Content-type: image/png"); 
$gif = ImageCreate(200,200); 
$bg =  ImageColorAllocate($gif,22,222,2); 
$ellipse = ImageColorAllocate($gif,2,200,200); 
$tx = ImageColorAllocate($gif,255,255,128); 
ImageFilledRectangle($gif,0,0,200,200,$bg); 
$black = imagecolorallocate($gif, 0,0,0);
ImageTtfText ($gif, 20, 0, 0, 90, $black,
"/weather.ttf","123ABCabc...");
ImagePNG($gif); 
?> 


Expected result:
----------------
This is what I see in php5.0.2
http://www.diputacionavila.es/xgarbage/gif3.php

Actual result:
--------------
This is what I see in php5.0.3 and beyond
http://rh.homelinux.net/xgarbage/gif3.php


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


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

Reply via email to