Bug #51207 [Com]: imageTTFText: misalignment of characters which extend beyond their left margin

[email protected] ("helice at gmx dot net") Thu, 8 Apr 2010 14:01:25 +0200 (CEST)
Newsgroups php.bugs
Message-ID <[email protected]>
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:

I hope you find my email at your displayed address.


Previous Comments:
------------------------------------------------------------------------
[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?

------------------------------------------------------------------------
[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] [email protected]

Please try using this 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/bug.php?id=51207


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