UTF8 for Urdu text editor - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: UTF8 for Urdu text editor (/thread-4110.html) |
UTF8 for Urdu text editor - technifire - Jul-24-2017 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 RE: UTF8 for Urdu text editor - Barrowman - Jul-24-2017 As you haven't posted any code I would be guessing. RE: UTF8 for Urdu text editor - Larz60+ - Jul-24-2017 As stated by Barrowman, you have not provided any code, However: tkinter may suit your purposes see: http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/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-gui-softwares-hindi-slash-urdu-part-1-wxpython?v=AgfbsvFONoM 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. |