Re: imagettftext function does not handle combining character properly
| From: | Rasmus Lerdorf | Date: | Tue, 17 Sep 2002 16:00:34 +0000 |
| Subject: | Re: imagettftext function does not handle combining character properly | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116646@lists.php.net to get a copy of this message | ||
That's done in Freetype. First thing I would try would be upgrading to
GD2/Freetype2 and see if it is handled better with that combination.
-Rasmus
On Tue, 17 Sep 2002, Ziying Sherwin wrote:
>
> We installed php 4.2.2 with freetype 1.3.1 on our solaris 2.8 machine. We
> are using function imagettftext to convert UTF8 string to image file for
> Internet display. However, it seems that this function does not handle the
> combining characters properly. For instance, the sequence of unicode
> characters U+0061(a) and U+0308 (combining diacritics) is display as two
> characters: a and a square indicating not displayable. The correct result should
> be a character identical to U+00E4.
>
> We are wondering where the normalization is handled in this case, freetype
> library or inside imagettftext php function? Is it a bug in freetype library?
> If not, how can we fix it?
>
> Thanks,
>
> Ziying Sherwin
>
> P.S. I am not on the mailing list, please send your response to
> sherwin@nlm.nih.gov
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>