ID: 26901 Updated by: [EMAIL PROTECTED] Reported By: jpg at pmers dot net -Status: Open +Status: Feedback Bug Type: GD related Operating System: Linux PHP Version: 4.3.4 New Comment:
Provide the script downloadadble somewhere. Previous Comments: ------------------------------------------------------------------------ [2004-01-15 06:37:06] jpg at pmers dot net I'm not sure if I understand what you mean, I have added the following code: setlocale(LC_ALL, 'cs_CZ'); Doesn't make any difference. ------------------------------------------------------------------------ [2004-01-14 19:48:10] [EMAIL PROTECTED] Have you tried exporting Czech locale before creating the image? ------------------------------------------------------------------------ [2004-01-14 11:08:45] jpg at pmers dot net example output: http://ccres.net/char_test.php ------------------------------------------------------------------------ [2004-01-14 09:54:19] jpg at pmers dot net <?php $im = imagecreate(450,200); if ($im=="") { die("Error creating image"); } $bg_color = imagecolorallocate ($im, 255, 255, 255); $black = imagecolorallocate($im,0,0,0); $ttf_tahoma = "[your_path]/ttf/tahoma.ttf"; // edit this imagettftext($im, 11, 0, 10, 20, $black, $ttf_tahoma, "Example of chars are: š and ž (Czech language)"); ImagePNG($im); ImageDestroy($im); ?> ------------------------------------------------------------------------ [2004-01-14 09:17:53] [EMAIL PROTECTED] Please supply the shortest possible script that can be used to replicate the problem and the font file in question. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26901 -- Edit this bug report at http://bugs.php.net/?id=26901&edit=1