#25132 [Opn->Fbk]: if compiled with --enable-gd-native-ttf images with ->accents show font errors

From: Date: Mon, 18 Aug 2003 21:15:30 +0000
Subject: #25132 [Opn->Fbk]: if compiled with --enable-gd-native-ttf images with ->accents show font errors
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46135@lists.php.net to get a copy of this message
ID: 25132 Updated by: iliaa@php.net Reported By: mail_fidel at yahoo dot com -Status: Open +Status: Feedback Bug Type: GD related Operating System: FreeBSD 4.7 PHP Version: 4.3.3RC4 Previous Comments: ------------------------------------------------------------------------ [2003-08-18 15:14:16] pajoye@php.net hello, do you have the ttf font used by your script? What do you mean by "not only the accented charanter disapeared but also the next character"? "buen día" and "buen d a",only the "i" disapeared. Which freetype version do you use? pierre ------------------------------------------------------------------------ [2003-08-18 12:54:28] mail_fidel at yahoo dot com At the end of the comment I wrote: "If you remove the config option (--enable-gd-native-ttf) then php behaves as before." but what I really mean was that without --enable-gd-native-ttf , php makes the images right as it used to do before 4.3.3RC1. ------------------------------------------------------------------------ [2003-08-18 12:50:12] mail_fidel at yahoo dot com Description: ------------ If when compiling you use the: --enable-gd-native-ttf then you will have trouble with accents in graphics. The behavior is as follows: Lets say you want an image with the words: "hello world". I works as espected and you get the text right. Now if you want the words: "buen día" (pay attention to the accent over the "i") then, the text that displays on the image is "buen d a" not only the accented charanter disapeared but also the next character. If you remove the config option (--enable-gd-native-ttf) then php behaves as before. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25132&edit=1

« previous php.bugs (#46135) next »