php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25398 ImageTtfText angle working incorrectly
Submitted: 2003-09-06 08:11 UTC Modified: 2003-09-06 10:35 UTC
From: eight at simnet dot is Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.3.3 OS: RedHat
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 + 22 = ?
Subscribe to this entry?

 
 [2003-09-06 08:11 UTC] eight at simnet dot is
Description:
------------
Configure line: './configure' '--with-apxs=/software/web/bin/apxs' '--with-mysql=/usr' '--with-curl=/software/curl' '--with-gd' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-gd-imgstrttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib' 


When using imagettftext with angle != 0, the rotation is rather weird. The textblock is rotated correctly, but the letters are not. For example, if I use angle 45?, then the letters will be rotated 90?. See: http://www.yourmother.is/gdbug.png

This is the same with PHP 4.3.2, but it was ok with an older version (don't remember version number).


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-06 09:14 UTC] eight at simnet dot is
Works ok on another computer, using RedHat and PHP 4.3.2 :/
Same source on both computers:
Right result
http://www.yourmother.is/image_ok.png
Faulty result
http://www.yourmother.is/image_notok.png
 [2003-09-06 09:17 UTC] eight at simnet dot is
Tryed to change freetype versions, that did it, so the bug must be in freetype
 [2003-09-06 10:35 UTC] sniper@php.net
Not PHP bug -> bogus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC