By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,714 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,714 IT Pros & Developers. It's quick & easy.

problems with imagettftext()

P: n/a
Hi,

since I've upgraded to php 4.3.4 (before I used 4.1.2) I have a problem
with imagettftext():

when executing the line:

imagettftext($im, 20, 0, 10, 25, $white, "$script_dir/verdana.ttf", "Test
en cours... Oméga: Ω");
the "ég" letters of the string are fused into a 'square', if instead I use
the string "Test en cours... Omé ga: Ω"

the "é" is printed correctly.

if I use the UTF-8 entity é instead of "é" it works too...

How can I prevent this behaviour of imagettftext()?

Thanks for your help.
John

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.