note 85552 deleted from function.imagettftext by cmb
| From: | cmb@php.net | Date: | Sun, 28 Jul 2019 08:17:14 +0000 |
| Subject: | note 85552 deleted from function.imagettftext by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211736@lists.php.net to get a copy of this message | ||
Note Submitter: php at yvanrodrigues dot com
----
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.