Added RTL support to Python 2.7 version