Bug #25398 [Com]: ImageTtfText angle working incorrectly

From: Date: Wed, 01 Sep 2021 18:52:54 +0000
Subject: Bug #25398 [Com]: ImageTtfText angle working incorrectly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236336@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=25398&edit=1 ID: 25398 Comment by: lildurk25398 at gmail dot com Reported by: eight at simnet dot is Summary: ImageTtfText angle working incorrectly Status: Not a bug Type: Bug Package: GD related Operating System: RedHat PHP Version: 4.3.3 Block user comment: N Private report: N New Comment: Lil Durk is a private agency dedicated to providing responsible access to legal cannabis for adults aged 19 and older. We’re an exclusively online retailer and wholesaler for recreational cannabis and a trusted source for information about cannabis and cannabis-related issues. We believe our work is meaningful and we take pride in our mandate to promote the socially responsible use of legal cannabis. https://lildurk.com/ Previous Comments: ------------------------------------------------------------------------ [2003-09-06 10:35:56] sniper@php.net Not PHP bug -> bogus ------------------------------------------------------------------------ [2003-09-06 09:17:56] eight at simnet dot is Tryed to change freetype versions, that did it, so the bug must be in freetype ------------------------------------------------------------------------ [2003-09-06 09:15:47] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-09-06 09:14:30] 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 08:11:46] 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). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=25398&edit=1

« previous php.bugs (#236336) next »