Python Forum

Full Version: UTF8 for Urdu text editor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello !

I am making a little text editor/ Word processor for Urdu/Hindi typing using Tkinter .

I have made it workable for english , now looking a proper solution for Urdu Hindi text.

Machines are old so 2.7 will be used.

Platform is OS X and Linux
As you haven't posted any code I would be guessing.
As stated by Barrowman, you have not provided any code,

However:

tkinter may suit your purposes see: http://infohost.nmt.edu/tcc/help/pubs/tk...fonts.html

But ... Another option, and one you should certainly consider is to use wxpython which is a python wrapper (like cpython)
around a proven graphics library.

This package works on all common OS's Windows, OS-X, and Linux and looks the same on each. Switching fonts is not
difficult.

Here's a tutorial for Urdu Hindi https://watchyt.com/videos/how-to-make-g...gfbsvFONoM

I've done quite a bit of work in Tkinter, and it's always been slow. Wxpython is a lot easier to use and extremely rich with capability.

wxpython has until recently been strictly Python 2. Now with the phoenix project python 3 as well. So if you ever upgrade, it's there.

Phoenix is much richer, and more inline with Qt so if you could run python 3, you would be able to use that.

This is obviously a sales pitch for wxpython, but it will make your life easier.