Re: imagettftext() and East Asian Font rendering

From: Date: Thu, 03 Dec 2009 10:47:49 +0000
Subject: Re: imagettftext() and East Asian Font rendering
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-300239@lists.php.net to get a copy of this message
On Thu, 2009-12-03 at 03:12 +0700, shiplu wrote: > Hello, > > I am creating an app where I have to show east asian text in image. > Those are utf8. Problem is when I try to display "কি হচ্ছে" in image, > it shows "ক ি হ চ ্ ছ ে" without the circles. > How do I show it correctly. > > Note: I am generating image, not html file. > > > > -- > A K M Mokaddim > My talks, talk.cmyweb.net > Follow me, twitter.com/shiplu > > Innovation distinguishes bet ... ... (ask Steve Jobs the rest) > Erm, I'm not seeing the issue from your email. I can see the characters in both examples, but the latter one has the dotted circles in. Is it that your characters aren't displaying correctly? If you're creating the images with GD, then you should note that it has a problem with any font where the outlines have not been specified correctly for a glyph. Usually I get this with accented characters like you are using in OpenType fonts. There are some font programs which can attempt to re-create the outlines that you might be able to use. Thanks, Ash http://www.ashleysheridan.co.uk

« previous php.general (#300239) next »