note 85552 added to function.imagettftext
| From: | php at yvanrodrigues dot com | Date: | Fri, 05 Sep 2008 14:10:17 +0000 |
| Subject: | note 85552 added to function.imagettftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144162@lists.php.net to get a copy of this message | ||
After many hours of failure may I suggest:
This function will work on OpenType fonts with Postscript outlines, but from what I can tell,
characters > ASCII 127 do not display correctly or at all, even if the text is correctly coded as
UTF-8.
Converting the font to truetype or possibly OpenType with truetype outlines; or buying the font as
such fixes the problem.
I used FontForge to open the otf and export as ttf and it works perfectly.
----
Server IP: 216.235.15.211
Probable Submitter: 99.225.52.23
----
Manual Page -- http://www.php.net/manual/en/function.imagettftext.php
Edit -- https://master.php.net/note/edit/85552
Del: integrated -- https://master.php.net/note/delete/85552/integrated
Del: useless -- https://master.php.net/note/delete/85552/useless
Del: bad code -- https://master.php.net/note/delete/85552/bad+code
Del: spam -- https://master.php.net/note/delete/85552/spam
Del: non-english -- https://master.php.net/note/delete/85552/non-english
Del: in docs -- https://master.php.net/note/delete/85552/in+docs
Del: other reasons-- https://master.php.net/note/delete/85552
Reject -- https://master.php.net/note/reject/85552
Search -- https://master.php.net/manage/user-notes.php