#50958 [Opn->Bgs]: imagettftext() Kerning errors
ID: 50958
Updated by: aharvey@php.net
Reported By: sks76543210 at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: GD related
Operating System: CentOS 5
PHP Version: 5.3SVN-2010-02-07 (snap)
New Comment:
It does indeed look like the same issue. Dupeing.
Previous Comments:
------------------------------------------------------------------------
[2010-02-07 23:51:25] sks76543210 at gmail dot com
My Apologies, this may be a duplicate of
http://bugs.php.net/bug.php?id=50194
------------------------------------------------------------------------
[2010-02-07 23:45:32] sks76543210 at gmail dot com
To summarize:
These are correct
http://www.yessum.org/gdbug/scriptina-php-5.1.6-gd-2.0.28.png
http://www.yessum.org/gdbug/times-new-roman-php-5.1.6-gd-2.0.28.png
These are incorrect
http://www.yessum.org/gdbug/scriptina-php-5.3.3-dev-gd-2.0.34.png
http://www.yessum.org/gdbug/times-new-roman-php-5.3.3-dev-gd-2.0.34.png
------------------------------------------------------------------------
[2010-02-07 23:42:56] sks76543210 at gmail dot com
Description:
------------
Text created with imagettftext() has kerning (letter-spacing) errors
Reproduce code:
---------------
Please see http://www.yessum.org/gdbug/ for example
images, fonts used,
and sample php script. Entire test case is tar'ed at
http://www.yessum.org/gdbug.tar.gz
In PHP 5.1.6, with GD version "bundled (2.0.28 compatible)", the test
images did not have any kerning errors.
In the php5.3-201002071530 snapshot with GD version "bundled (2.0.34
compatible)", the text on the images is not displayed properly,
especially evident in
http://www.yessum.org/gdbug/scriptina-php-5.3.3-dev-gd-2.0.34.png
but
there are less noticeable errors in
http://www.yessum.org/gdbug/times-new-roman-php-5.3.3-dev-gd-2.0.34.png
as well.
Expected result:
----------------
imagettftext() should continue displaying text as it did in PHP 5.1.6
with GD 2.0.28
Actual result:
--------------
imagettftext() has kerning errors making the text completely illegible
in some cases
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50958&edit=1
Thread (4 messages)