Reverse rendering of Urdu fonts

Posted by Syed Muhammad Umair on Stack Overflow See other posts from Stack Overflow or by Syed Muhammad Umair
Published on 2011-01-12T12:50:19Z Indexed on 2011/01/12 12:53 UTC
Read the original article Hit count: 307

I am working on a project that is based on Urdu language in Ubuntu platform. I'm using Python language and have almost achieved my task.

The problem is that, the Urdu text is rendered in reverse order.

For example, consider the word ??? (which means work) consisting of the three letters: ? ,
? , and ?

The output is rendered in reverse order as ??? consisting of the three letters: ?,
?, and ?

When copying this text to Open Office or opening the generated XML file in Firefox, the generated result is absolutely desired.

I Am using Python 2.6 IDLE, its working perfect with Windows platform, which clearly shows its not the problem of IDLE. Am working on TKINTER GUI library.

How can this problem be solved?

© Stack Overflow or respective owner

Related posts about python

Related posts about linux