#48155 [Opn->Fbk]: imagettftext() and imagefttext() do not accurately position text horizontally
| From: | pajoye@php.net | Date: | Thu, 20 Aug 2009 20:22:55 +0000 |
| Subject: | #48155 [Opn->Fbk]: imagettftext() and imagefttext() do not accurately position text horizontally | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-141326@lists.php.net to get a copy of this message | ||
ID: 48155
Updated by: pajoye@php.net
Reported By: tom at streamsense dot net
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: *
PHP Version: 5.*, 6CVS (2009-05-05)
New Comment:
Yes, I think all issues related to this one has been fixed. Do you have
a script to reproduce the horizontal shift? We also need to know which
freetype version you are using.
Previous Comments:
------------------------------------------------------------------------
[2009-08-20 19:21:41] aaustin at smartypig dot com
I'm not a PHP developer, but using FaceLift
(http://facelift.mawhorter.net) we've run into a bunch of different bugs
relating to bounding box / position calculation of TTF fonts. All have
been fixed in the latest snapshot except the horizontal/x position of
the output.
It seems like the image generated is always a few pixels shifted left,
depending on the font and size of the font, but all are reproduceable.
(http://forums.mawhorter.net/viewtopic.php?id=458)
------------------------------------------------------------------------
[2009-06-15 15:49:26] a dot schilder at gmx dot net
Same problem with PHP 5.3RC3 on Windows XP
------------------------------------------------------------------------
[2009-05-05 19:47:45] tom at streamsense dot net
The font is arial black, included with any windows install, but this is
totally reproducable with any font (or at least all i've tried). I've
tried tahoma, arial, arial black, times new roman.
------------------------------------------------------------------------
[2009-05-05 19:39:03] pajoye@php.net
Please post a link to the font you use.
------------------------------------------------------------------------
[2009-05-05 19:36:15] tom at streamsense dot net
Confirmed reproducable on PHP Version 5.3.0RC2-dev
GD Version bundled (2.0.34 compatible)
FreeType Version 2.3.9
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/48155
--
Edit this bug report at http://bugs.php.net/?id=48155&edit=1