problems with imagettftext()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Wellesz

    problems with imagettftext()

    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($i m, 20, 0, 10, 25, $white, "$script_di r/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



Working...