note 63675 added to function.imagettfbbox
| From: | dergel at osu1 dot php dot net | Date: | Tue, 28 Mar 2006 06:54:31 +0000 |
| Subject: | note 63675 added to function.imagettfbbox | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-106805@lists.php.net to get a copy of this message | ||
//Calculate lineheight by common characters.
$dimensions = imagettfbbox($textSize, 0, $font, "MXQJPmxqjp123"); //use a custom string to
get a fixed height
this is a good idea to calculate the lineheight.. thank you nimja.
for german language you should add a "Ã" to the custom string.
----
Server IP: 66.163.161.117
Probable Submitter: 84.178.109.229
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.imagettfbbox.php
Edit -- http://master.php.net/note/edit/63675
Del: integrated -- http://master.php.net/note/delete/63675/integrated
Del: useless -- http://master.php.net/note/delete/63675/useless
Del: bad code -- http://master.php.net/note/delete/63675/bad+code
Del: spam -- http://master.php.net/note/delete/63675/spam
Del: non-english -- http://master.php.net/note/delete/63675/non-english
Del: in docs -- http://master.php.net/note/delete/63675/in+docs
Del: other reasons-- http://master.php.net/note/delete/63675
Reject -- http://master.php.net/note/reject/63675
Search -- http://master.php.net/manage/user-notes.php