From:             danb at zu dot com
Operating system: Fedora FC4, Linux 2.6.15
PHP version:      4.4.2
PHP Bug Type:     GD related
Bug description:  Rendered text is chopped off on end.

Description:
------------
I'm not too sure if this is a php bug or a libgd bug as I upgraded both at
the same time.

This image on the site was generated under PHP-4.3.11, GD-1.8.4, and
FreeType 2.0.3-7.  The file is a cached copy.
http://216.94.150.3/dynamic/header.php?text=Goals+and+Targets&color=EB6919
The font rendered to be more like Times New Roman (sans-serif) than
Frutiger 55 Roman however.

The site is now running PHP-4.4.2, GD-2.0.33, and FreeType 2.1.10.   If
you change the text being rendered, it consistently cuts off the last 2-3
pixels of text, although it now renders the font more correctly than
before.

The server was compiled with the following config under Apache 1.3.33:
./configure  --with-apxs=/usr/local/apache/bin/apxs --enable-versioning
--with-mysql --with-zlib
 --with-sablot --with-xml --with-mcrypt --with-gd --with-mcal
--enable-track-vars --enable-xslt --
with-iconv-dir=/usr/local --with-xslt-sablot --enable-wddx --with-pspell
--enable-gd-native-ttf --
with-png --with-jpeg --with-jpeg-dir=/usr --with-png-dir=/usr --with-ttf
--with-freetype-dir=/usr 
--with-xpm-dir=/usr/X11R6/ --enable-wddx --with-pspell --with-mime-magic
--without-pear --with-cur
l --enable-mbstring


Reproduce code:
---------------
The code being used to generate the code is located here:
http://www.alistapart.com/d/dynatext/heading.php.txt

No code below the $cache_folder definition has been modified.

For some reason our code file is called header.php rather than
heading.php.




-- 
Edit bug report at http://bugs.php.net/?id=37279&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37279&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37279&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37279&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37279&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37279&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37279&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37279&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37279&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37279&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37279&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37279&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37279&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37279&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37279&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37279&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37279&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37279&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37279&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37279&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37279&r=mysqlcfg

Reply via email to