Edit report at http://bugs.php.net/bug.php?id=51207&edit=1
ID: 51207
Comment by: clay dot bell at electricarrow dot com
Reported by: penkert at yahoo dot com
Summary: imageTTFText: misalignment of characters which extend
beyond their left margin
Status: Feedback
Type: Bug
Package: GD related
Operating System: Linux & Windows XP
PHP Version: 5.2.13
New Comment:
The kerning in 5.3.2 is awful compared to 5.2.11. Both were compiled on
linux with
the same gd library and using the same true type font. I'm using the
imagettftext
method.
I'm forced to use 5.3.2 to be PCI compliant so I hope a fix is
available.
Previous Comments:
------------------------------------------------------------------------
[2010-04-08 14:08:48] penkert at yahoo dot com
I'd be more than happy to test new snapshots but there are still no
Windows binaries available at http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2010-04-08 14:01:25] helice at gmx dot net
I hope you find my email at your displayed address.
------------------------------------------------------------------------
[2010-04-08 13:18:22] [email protected]
Is it a public font? Can you send it to me pls or attach it this bug
report?
------------------------------------------------------------------------
[2010-04-08 13:15:08] helice at gmx dot net
Sory.
It'solves my actual issue on php 5.3.2.
But I only tested my current implementation (the extension texttoimage
included in ezpublish) with an angle of 90°.
I checked the fonts arial (ttf source:os X), georgia (ttf:os X), 1942
(ttf:ez-publish package) and BabelSans (ttf:freefont). The first three
worked ok. BabelSans wasn't outputed as expected at 90° but at about
87° (a part of the text disapears out of the image frame).
Conclusion:
As it is, the patch would solve my urgent concerns which jeopardize my
production site. Allas the exeption BabelSans seems to indicate that it
still doesn't work in every case.
Hope that helps
------------------------------------------------------------------------
[2010-04-08 11:39:27] [email protected]
Not sure how to interpret your answer :) Did it fix the problem?
------------------------------------------------------------------------
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/bug.php?id=51207
--
Edit this bug report at http://bugs.php.net/bug.php?id=51207&edit=1