+++ This bug was initially created as a clone of Bug #200727 +++ Description of problem: when try to input for Sinhala Language, then failed to render properly Version-Release number of selected component (if applicable): openoffice.org-core-2.0.3-7.6 How reproducible: Steps to Reproduce: 1. Open oowriter 2. goto ny text input area) 3. for input, please install scim-sinhala (from rawhide) and press following keys 4) "kRoo" Ctrl+Space to activative and Deactivate Input method Actual results: rendering is broken Expected results: Rendering should like Gedit Additional info: test same input for gedit (à¶à·âරà·) Font package: font-sinhala
Created attachment 133315 [details] picture so this is what you get, i.e. gedit is correct, OOo shows something when you type, but it's wrong, and if I paste into writer I get yet another sequence of glyphs. I bet that this is an icu problem from icu's perspective.
So this looks to me like that icu doesn't know about the correct combining characters characteristics for sinhala
yes, there is long list of those type of combination. (with 0DCA/0DBB+200D+<SPACE> characters), which are not properly Rendered
Adding si_LK expert for more detail
let me examine icu 3.6d01 release candidate, there seems to have been some possibly relevent work there
Looks like it's the ZWJ 0x200D which isn't supported by the OOo+ICU chain, still exists in icu 3.6 at the moment
Created attachment 133346 [details] part of the puzzle At least this is required, maybe more. This allows me to load a document containin the above sequence and render it correctly. Need to do some more examination to see if it's the complete story.
Ah, the input method still cannot enter the correct sequence because OOo doesn't implement the retrieve_surrounding signal to give the context which scim-sinhala needs to know about to give the same sequence as gedit. Tricky, very tricky. also need for thai I would expect
heh, so I cooked up a lunatic implementation based around the accessibility interface which seems like it will do the right thing. Fix checked in, will be in next respin
caolan->aalam: I don't see the pictures referenced in the .html to be sure they are currently rendered correctly, but they all list the dread 0x200D ZWJ, so they would all fall into the category of problem which attachment 1 [details] addresses.