Skip to content
Tcl Source Code History Of Ticket 1560611
Login

History Of Ticket 1560611

Artifacts Associated With Ticket 1560611

  1. Ticket change [7700b4ed5c] (rid 105689) by nobody on 2006-09-18 10:10:51:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      My email address is [email protected]
      
      Hi,
      
      I hope a tkinter question can be addressed here as well.
      
      I am trying to display Devanagari unicode fonts in a
      tkinter label/text
      widget.
      
      To make new characters, the unicode fonts provide this
      functionality of
      using combination of unicode codes to make a single new
      character.  Like
      for instance the kSa in unicode is
      u'\u0915\u094D\u0937'.  In Linux, this
      looks perfect in a web-browser or in my shell-konsole
      which supports
      unicode.
      I am using Python-2.4.2 which definitely supports
      unicode.  But the
      problem is in the final visual rendering that it does
      not show the kSa
      character but shows it as k Sa as two separate
      characters.  For example,
      u'\u0915\u093f'. u0915 stands for 'ka' the first
      consonant in devanagari.
      u093f stands for  the third vowel 'i' pronounced as 'e'
      as in 'pre'.  This
      vowel when combined to 'ka' must have a line+curve that
      visually looks
      like 'f' should be to the left of the consonant 'ka'. 
      Though in windows,
      when I give u'\u0915\u093f', it renders correctly, in
      redhat linux, it shows the 'f' to the right which makes
      it look like it is adding the
      vowel to the next consonant in a word.  Now there is
      also this another
      problem but both in windows and linux alike.  The
      making of new
      characters like the kSa or using the Zero-Width-Joiner and
      Zero-Width-Non-Joiner to make half characters etc....
      
      Is there by any chance these things could be correctly
      rendered??  I mean,
      I use PyQt, it correctly renders the fonts.  But, PyQt
      needs Qt and
      getting Qt for Windows is a whole big story.  So, I
      want to stick to
      Tkinter and try.  Can  you please suggest any method
      that would allow me
      to make the Tkinter-Python to give the correct visual
      rendering of the
      characters.  We use the X11 fonts while running PyQt
      which I guess the Qt
      uses.  If my xterm shell-konsole could render unicode
      fonts correctly, I
      would guess Python Tkinter as a GUI package must
      definitely be able to
      render the fonts correctly.
      
      please let me know if you can help me, if yes, then how??
      
      Thanks in advance!!
      
      Cheers,
      -Siva.
      
      
      
    4. foundin initialized to: "obsolete: 8.4.13"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nobody"
    10. subsystem initialized to: "44. UTF-8 Strings"
    11. title initialized to: "devanagari fonts rendering in python-Tkinter"
    12. type initialized to: "Bug"
  2. Ticket change [e57cd55796] (rid 104131) by nobody on 2006-09-18 22:20:38:

    1. icomment:
      Logged In: NO 
      
      One more comment I need to add is the reply I got from the
      Python help group.  They mentioned that, it is because of
      the limitation of the Tcl/Tk and asked me to contact the
      Tcl/Tk help group.  That is why I am here.  Can you please
      suggest, if Tcl/Tk current or next version will support this
      kind of unicode rendering??  Or can you suggest some very
      simple thing that I could change to get this working like a
      iso10646-1.enc file??
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  3. Ticket change [9cd7364d2d] (rid 96215) by dgp on 2006-09-19 00:11:52:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2006-09-18T17:11:52"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Tk issues should be logged
      with the tktoolkit project.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. status changed to: "Closed"
    9. subsystem changed to: "None"
    10. username: "dgp"