Bug 126179 - Does not render correctly with indic scripts + english
Does not render correctly with indic scripts + english
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gtkhtml3 (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Malcolm
: i18n
Depends On:
Blocks: Indic
  Show dependency treegraph
 
Reported: 2004-06-17 02:52 EDT by Leon Ho
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-23 08:22:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
problem screenshot (62.61 KB, image/png)
2004-06-17 02:53 EDT, Leon Ho
no flags Details
problem screenshot - highlight is fine (62.87 KB, image/png)
2004-06-17 02:54 EDT, Leon Ho
no flags Details
New compose test (78.90 KB, image/png)
2004-09-17 02:08 EDT, Jatin Nansi
no flags Details

  None (edit)
Description Leon Ho 2004-06-17 02:52:43 EDT
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
Comment 1 Leon Ho 2004-06-17 02:53:50 EDT
Created attachment 101208 [details]
problem screenshot
Comment 2 Leon Ho 2004-06-17 02:54:19 EDT
Created attachment 101209 [details]
problem screenshot - highlight is fine
Comment 3 Leon Ho 2004-07-12 23:22:15 EDT
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.
Comment 5 Leon Ho 2004-07-12 23:39:46 EDT
sorry should be this one:
http://bugzilla.ximian.com/show_bug.cgi?id=61462
Comment 6 Jatin Nansi 2004-09-17 02:08:29 EDT
Created attachment 103942 [details]
New compose test
Comment 7 Jatin Nansi 2004-09-17 02:11:46 EDT
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.
Comment 8 Leon Ho 2004-09-23 08:22:09 EDT
Double that. It is looking fine. Closing this bug for now.

Note You need to log in before you can comment on or make changes to this bug.