Bug 126179
| Summary: | Does not render correctly with indic scripts + english | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Leon Ho <llch> | ||||||||
| Component: | gtkhtml3 | Assignee: | Dave Malcolm <dmalcolm> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | rawhide | CC: | eng-i18n-bugs | ||||||||
| Target Milestone: | --- | Keywords: | i18n | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2004-09-23 12:22:09 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 126002 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Leon Ho
2004-06-17 06:52:43 UTC
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. 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. |