Re: Imagettftext with opentype font possible?

From: Date: Fri, 27 Mar 2015 12:00:27 +0000
Subject: Re: Imagettftext with opentype font possible?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-324717@lists.php.net to get a copy of this message
On 26 March 2015 19:52:36 GMT+00:00, Gunnar Polte <g.polte@web.de> wrote: >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 I think it is, but depends on those characters having ttf outlines embedded in the font. If it doesn't, the program fontforge might be of some help to generate them? -- Sent from my Android device with K-9 Mail. Please excuse my brevity.

« previous php.general (#324717) next »