Edit report at http://bugs.php.net/bug.php?id=51207&edit=1

 ID:               51207
 Comment by:       helice at gmx dot net
 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:

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


Previous Comments:
------------------------------------------------------------------------
[2010-04-08 11:39:27] paj...@php.net

Not sure how to interpret your answer :) Did it fix the problem?

------------------------------------------------------------------------
[2010-04-08 11:35:43] helice at gmx dot net

@pajoye



latest snap 5.3 works nearly fine for a 90° angle on os-x 10.6.3 with
common fonts (arial, georgia, 1942) only the free ttf BabelSans outputs
an odd angle of about 87°.



I hope it will be the same for 5.2(.14?) and very soon on my provider's
server.



Many thanks

------------------------------------------------------------------------
[2010-04-08 10:09:58] paj...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------
[2010-04-08 09:59:31] helice at gmx dot net

The issue exists since php 5.2.13 and 5.3.2.



It is even worse when angle is other than 0.



For me there is high priority as I'm not the administrator of my
webserver.

------------------------------------------------------------------------
[2010-03-29 17:25:42] penkert at yahoo dot com

It seems there are no snapshots for Windows available at this time but
I'll be happy to check back later. (I need Windows binaries for my
testbed.) Thanks for your help!

------------------------------------------------------------------------


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

Reply via email to