ID: 48155 Comment by: aaustin at smartypig dot com Reported By: tom at streamsense dot net Status: Open Bug Type: GD related Operating System: * PHP Version: 5.*, 6CVS (2009-05-05) New Comment:
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) Previous Comments: ------------------------------------------------------------------------ [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] paj...@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 ------------------------------------------------------------------------ [2009-05-05 19:28:10] paj...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ 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