Apache OpenOffice (AOO) Bugzilla – Issue 104564
Telugu language package renders incorrectly
Last modified: 2010-09-17 12:25:11 UTC
I've posted this in launchpad with the images, you can find it here: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/418464 Here is the description, all of the images are in launchpad so I didn't see a reason to re upload the images here. Thank you much I've reported problems with this before, I have to say it's gotten much better but there are still some problems. I am also willing to help on this project but I'll need some guidance as it's new. So if whoever is working on it wants me to help out let me know and we can get in touch, I really want to get this language functioning flawlessly in Open Office. System: Ubuntu 9.04 OpenOffice 3.1.0 Language: Telugu Complex script not rendering right (does render perfectly in Text Editor. Examples done in Presentation. Examples: 1. When actually typing the image looks weird but once you get out of text box it corrects itself. See Image 1 and 2, image 1 shows as typing, image 2 shows after I click off of the text box. Keystroke: k + e 2. Sometimes characters get too scrunched up but then when you change text size they get fixed. See image 3 and 4 Keystroke: kvb with text size originally 44 then changed to 36 3. Some letters will show up smaller for no reason while typing. See image 5 and 6. Image 5: size 44, keystroke: v Image 6: size 44, keystroke: k 4. Some characters are just wrong. See image 7. The curved hook on the top left should be a check mark. keystroke: m+d+l 5. Sometimes letters just randomly start being small and incorrect, see image 8 & 9 Image 8: keystroke k, small + missing upper check mark image 9: keystroke u+k, completely correct, k should turn out just like the second character in this image Thanks for the hard work, sorry for being picky but these problems make the language hard to use in open office (and it is the 14th most used language on the planet :) ) Again, I'm willing to help, just need some guidance to begin with.
herbert, please have a look
Just an input. On ubuntu 8.10+open office 2.4.1, telugu typing is flawless with english as user interface. However with telugu as locale, scim support did not work.
My settings are English locale (I live in the United States) and the rendering is not correct at all. All of those images that I posted in launchpad are with English locale but changing to Telugu script through SCIM.
> Complex script not rendering right (does render perfectly in Text Editor. Examples done in Presentation. With Text Editor you mean Writer? Does it look good in Calc too? Does it look good when Impress is in edit-mode? If the problem is just visible during a presentation I suggest to use the VCL-canvas. @thb: is there any way to force the use of the VCL-canvas
No by text editor, I mean the text editor in Ubuntu (gnome text editor I believe is the full name). All OOo apps work incorrectly
Without having debugged into this the symptoms look as if Writer was not treating Telugu script as requiring CTL-processing. The script detector in the i18n module decides whether that needs to be done. @er: does U+0c00..U+0C7F get the CTL-flag in the i18n-module
i18npool/source/breakiterator/breakiteratorImpl.cxx BreakIteratorImpl::getScriptType() uses BreakIteratorImpl::getScriptClass() that in turn uses ICU's ublock_getCode() to determine an offset in the UBlock2Script scriptList table. UBLOCK_HEBREW=11 to UBLOCK_MYANMAR=28 have assigned ScriptType::COMPLEX, which includes UBLOCK_TELUGU=21 and as such should work. Would have to be verified by placing a breakpoint. Also i18npool/source/isolang/mslangid.cxx MsLangId::getScriptType() identifies LANGUAGE_TELUGU as CTL. @jmadero: you did enable CTL support under Tools->Options->LanguageSettings->Languages, yes?
Thanks Eike for pointing at the relevant sources. This gives a good start for debugging. @od: does Writer use the "Enable CTL" checkbox for any document layout decisions? AFAIK the "Enable CTL" checkbox should not make much difference though as it is only used for UI- elements (e.g. in the Format->Character dialog for enabling the CTL-Font elements). So the code to do the actual layout is all the same independent of this checkbox. Even BiDi-stuff like the LTR- and RTL- controls get enabled by it even though BiDi only accidentally has to do with CTL.
Not sure if this is relevant still but I have enabled CTL support and this makes no difference. I have also switched from SCIM to Ibus and still am seeing the problem. Thanks for the updates
> @od: does Writer use the "Enable CTL" checkbox for any document layout decisions? As far as I know, the value of the check box is not used for the document layout.
Not a bug with Ubuntu 10.04 and Open Office 3.2.0
Thanks for checking with OOo320; it was probably fixed indirectly, the most likely candidate being the upgraded ICU (version 3.6 to 4.0.1) in issue 106904 for OOo320. Can you test with the latest OOo330 beta too? *** This issue has been marked as a duplicate of 106904 ***
Closing resolved issue.