Description of problem: When indic scripts entered followed by english letters, the english letters will render incorrect to indic as well. Version-Release number of selected component (if applicable): How reproducible: everytime Steps to Reproduce: 1. LANG=hi_IN.UTF-8 evolution 2. New mail 3. Cut and paste a hindi char, then follow by "abcde" (no input method involved) Actual results: "abcde" changed to indic glyphs Expected results: should be "abcde" glyphs shown onto the screen Additional info: Highlight abcde shows correct glyphs again
Created attachment 101208 [details] problem screenshot
Created attachment 101209 [details] problem screenshot - highlight is fine
I have debugged for a while and found out because when it itemize and shape, it returns a GList of PangoGlyphString (glyphs) and Glist of PangoItem (items) to draw_text() Because the nature of Indic scripts that several characters can be represent as a glyph, so the PangoItem and PangoGlyphString does not align together. PangoItem [1] [2] [3] [4] [5] PangoGlyphString [1] [2] [3] But gtkhtml still access PangoItem one by one (There aren't any ways to know how many chars the glyph represent) hence the attribute used in indic glyph are used on english glyph.
http://bugzilla.gnome.org/show_bug.cgi?id=147459
sorry should be this one: http://bugzilla.ximian.com/show_bug.cgi?id=61462
Created attachment 103942 [details] New compose test
I recommend we close this bug, since hindi + english works fine now as per the screenshot attached above. This is with evolution 1.5.94.1-1 and gtkhtml3-3.3.0-3 on RHEL4 B1 from 16.09.04.
Double that. It is looking fine. Closing this bug for now.