Imagettftext with opentype font possible?
| From: | Gunnar Polte | Date: | Thu, 26 Mar 2015 19:52:36 +0000 |
| Subject: | Imagettftext with opentype font possible? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-324715@lists.php.net to get a copy of this message | ||
Hello,
is it possible to use the special characters like ö, ü, ö, ß from opentype (otf) fonts in PHP?
I tried to that and it was not possible. I only get a square output.
I used this:
ImageTTFText ($image, 30, 0, 0, 40, $font,"tmp/AnieneNuovaEF-Regular.otf",$text);
With TTF fonts it was possible.
Best
Gunnar