note 107236 added to function.imagettftext
| From: | john at jbwalker dot com | Date: | Mon, 23 Jan 2012 20:38:01 +0000 |
| Subject: | note 107236 added to function.imagettftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185717@lists.php.net to get a copy of this message | ||
This function can be tricky. To begin with the example that omits the ".ttf" from the name
of the font is incorrect. I've found that I have to include it (perhaps different in Windows?).
I have also found that odd things happen if you happen to pick a font size that doesn't match
one of the known fonts.
See my comment under imagecolortransparent for trying to use a transparent background with text.
----
Server IP: 72.55.140.6
Probable Submitter: 174.7.25.37
----
Manual Page -- http://www.php.net/manual/en/function.imagettftext.php
Edit -- https://master.php.net/note/edit/107236
Del: integrated -- https://master.php.net/note/delete/107236/integrated
Del: useless -- https://master.php.net/note/delete/107236/useless
Del: bad code -- https://master.php.net/note/delete/107236/bad+code
Del: spam -- https://master.php.net/note/delete/107236/spam
Del: non-english -- https://master.php.net/note/delete/107236/non-english
Del: in docs -- https://master.php.net/note/delete/107236/in+docs
Del: other reasons-- https://master.php.net/note/delete/107236
Reject -- https://master.php.net/note/reject/107236
Search -- https://master.php.net/manage/user-notes.php