PHP Classes

the class doesn't draw non english text probably

Recommend this page to a friend!

      Diagram 2  >  All threads  >  the class doesn't draw non english...  >  (Un) Subscribe thread alerts  
Subject:the class doesn't draw non english...
Summary:the arabic text doesn't appears well
Messages:2
Author:seco
Date:2008-01-16 06:23:34
Update:2008-01-16 06:48:39
 

  1. the class doesn't draw non english...   Reply   Report abuse  
Picture of seco seco - 2008-01-16 06:23:34
Hi

i have xml file that contains Arabic text on it and i try to draw it by converting it to array and then sending it to the method loadfromarray()
it works but the Arabic text not appeared correctly
my xml file is utf-8 and i try to convert the encoding of every node before converting it to array using iconv() function to my local encoding and still the arabic text not appears well

and this is the xml file and the example im working with to complete the view
rapidshare.com/files/83978921/drawx ...
any help

thanks in advance.

  2. Re: the class doesn't draw non english...   Reply   Report abuse  
Picture of seco seco - 2008-01-16 06:48:39 - In reply to message 1 from seco
tere is a variable in the class called var $font = 2;
can be the font ?
can i choose any font that is local? how? id not what is the solution?

thanks.