note 82706 added to function.imagettftext

From: Date: Tue, 22 Apr 2008 20:21:06 +0000
Subject: note 82706 added to function.imagettftext
Groups: php.notes 
Request: Send a blank email to php-notes+get-138666@lists.php.net to get a copy of this message
First of all, thanks sk89q for the func! it was exactly I was looking for. I made a change. Depending on the letter, the text were incorrect vertical aligned. I replace the line: $line_height = $dimensions[1] - $dimensions[7]; for the following: $line_height = $size+4; No matter if mama or jeje is written, the vertical position will be the same. ---- Server IP: 190.2.55.3 Probable Submitter: 24.232.19.49 ---- Manual Page -- http://www.php.net/manual/en/function.imagettftext.php Edit -- https://master.php.net/note/edit/82706 Del: integrated -- https://master.php.net/note/delete/82706/integrated Del: useless -- https://master.php.net/note/delete/82706/useless Del: bad code -- https://master.php.net/note/delete/82706/bad+code Del: spam -- https://master.php.net/note/delete/82706/spam Del: non-english -- https://master.php.net/note/delete/82706/non-english Del: in docs -- https://master.php.net/note/delete/82706/in+docs Del: other reasons-- https://master.php.net/note/delete/82706 Reject -- https://master.php.net/note/reject/82706 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#138666) next »