Bug #18252 Updated: angle in ImageTTFText now works clockwise

From: Date: Tue, 09 Jul 2002 22:49:13 +0000
Subject: Bug #18252 Updated: angle in ImageTTFText now works clockwise
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13655@lists.php.net to get a copy of this message
ID: 18252 Updated by: dpetrov@nchcapital.com Reported By: dpetrov@nchcapital.com -Status: Feedback +Status: Open Bug Type: GD related Operating System: FreeBSD 4.6 PHP Version: 4.2.1 New Comment: I will try to test it - but it is going to take some time. For now, please could you check this script: http://www.dpetrov.com/misc/ttf/test.php The source is here: http://www.dpetrov.com/misc/ttf/test.phps Another strange thing is that 2 line text now rotated differently too - before it was rotated as 1 rectangle of 2 lines height, now it is like each line is moved to the right. The bigger the angle, the longer the move. What is the quick and easy way to check if my ImageTTFText is actually calling ImageFT from GD library or gdTTF from gdttf.c? Previous Comments: ------------------------------------------------------------------------ [2002-07-09 18:33:13] sniper@php.net I can't reproduce this. Please try this snapshot: http://snaps.php.net/php4-latest.tar.gz (setting angle to 90 makes the text to be readable when you bend your head to left..) ------------------------------------------------------------------------ [2002-07-09 18:13:26] dpetrov@nchcapital.com In accordance with the manual, positive angle should cause rotation counter-clockwise, but with the latest version this is not true. I am not sure where the problem lies. Just in case, I have Freetype 2.1.2 abd GD 2.0.1. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18252&edit=1

« previous php.bugs (#13655) next »