Python Forum
UTF8 for Urdu text editor
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UTF8 for Urdu text editor
#1
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
Reply
#2
As you haven't posted any code I would be guessing.
Reply
#3
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Syntax Highlighting in Text Editor ShakeyPakey 4 4,910 Jun-10-2020, 02:23 AM
Last Post: deanhystad
  [Tkinter] Indentation for Tkinter-made Text Editor ShakeyPakey 4 5,053 Jun-08-2020, 03:13 PM
Last Post: menator01

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020