Arabic Problem with TextCtrl

Hi all,
I have problem with display arabic font on wxpython
need to add text like "بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ "
I have change style in TextCtrl like that
#Format( pointSize, family, style, weight, underline, face, encoding)
f = wx.Font(13, wx.SWISS, wx.ITALIC, wx.BOLD, True,u’MS Sans Serif’)

    tc2.SetStyle(0, 2, wx.TextAttr("blue",wx.NullColour, f))

But it can’t work with my,so please any one help or advice to display arabic character at TextCtrl

···


Ahmed Salem Resume

MUFIX Community
Mobile : +2 (018) 23 79 073

Do you have the unicode version of wxPython installed? Sorry, but my experience doesn't extend much beyond that suggestion. I have attempted displaying Arabic scripts before and haven't experienced any problems. Also, I just tried 'cutting and pasting' your sample script into the TextCtrl in the wxPython demo and that worked fine for me also. I am running under Windows Vista, with python 2.6 and wxPython 2.8 installed, in case that makes a difference.

Best regards,
Tim

Ahmed Salem wrote:

···

*Hi all,*

I have problem with display arabic font on wxpython
need to add text like "بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ "

I have change style in TextCtrl like that

        #Format( pointSize, family, style, weight, underline, face, encoding)

        f = wx.Font(13, wx.SWISS, wx.ITALIC, wx.BOLD, True,u'MS Sans Serif')
         tc2.SetStyle(0, 2, wx.TextAttr("blue",wx.NullColour, f))

*But it can't work with* my,so please any one help or advice to display arabic character at TextCtrl

--
Ahmed Salem Resume <Ahmed L-Sayed Salem CV | PDF | Java (Programming Language) | Java Server Pages;
MUFIX Community <http://www.mufix.org>
Mobile : +2 (018) 23 79 073

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en