https://bugzilla.wikimedia.org/show_bug.cgi?id=33242
Santhosh Thottingal <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|General/Unknown |Search Summary|Rendering of characters |Search suggestion |breaks in arbit places |highlighting does not | |respect grapheme clusters | |causing wrong rendering for | |Indic languages. --- Comment #5 from Santhosh Thottingal <[email protected]> 2011-12-21 05:57:34 UTC --- (In reply to comment #3) > this appears to be working for me now. Could you give me the the key sequence > necessary to produce a transliterated sequence that produces the screenshot in > attachment 9735 [details] ? I can confirm this as a bug in search suggestions. To produce - In ta.wiki, select inputmethod as Tamil99, in search box, type k , You will get ம, and suggestions. Here is the code for the first suggestion. <div class="suggestions-result suggestions-result-current" rel="0" title="மீட்டர்"> <span style="white-space: nowrap;"><span class="highlight">ம</span>ீட்டர்</span> </div> To highlight ம, there is a span surrounding it, but the 'ee' vowel sign is outside span. For Indic languages, vowel signs cannot exist independently. And this causes the search suggestion item appears as wrongly rendered. The solution is not straightforward - if we want to highlight the type letter, the span should be applied to the glyph cluster and not to the letter alone. I am not sure if there is any easy way to do this. Browser are aware of these rules anyway, try moving cursor over "மீட்டர்" step by step. You cannot place your cursor between ம and ீ . The problem is not limited to Tamil anyway. I am changing the bug summary. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
