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
 [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-2020 The PHP Group
All rights reserved.
Last updated: Sat Jul 04 16:01:27 2020 UTC