OK, this seems to be an upstream bug. I did some triaging and this is what I found:
I tested on Hardy and Jaunty (oo.o 2.4.1 and oo.o 3.0 respectively): * start oowriter in en_US locale * Initial font was set to "Nimbus Sans" in 2.4.1 and "Liberation Sans" in oo.o 3.0 * in a new document type 'kdk' * the font changed to "DejaVu Sans" * rendering appears to be broken. * I selected the text and selected "Lohit Telugu" as font. * rendering is correct. * I deleted the whole text * font switched back to "Nimbus Sans" or "Liberation Sans" respectively * typed 'kdk' again * this time oo.o remembered that I chose "Lohit Telugu" before, selected that font and rendered the text correctly. * start oowriter in te_IN locale * interface is in Telugu and default font is "Lohit Telugu" * typed 'kdk' * rendering is correct. To test if this is a fontconfig problem, I ran the following test: * I ran 'fc-match -s' with the following arguments each: * sans (lists preferred fonts for sans) * LiberationSans * Times (the default font setting in oo.o) * Helvetica (default font for sans in oo.o IIRC) In all outputs, several fonts were listed before "Lohit Telugu" showed up in the list. I checked those fonts with fontforge and none of them contained Telugu characters. So, when using fontconfig, it should have fallen through all these fonts until hitting "Lohit Telugu", why it stopped on "DejaVu Sans", I don't know. * fc-match -s :lang=te prefers "Lohit Telugu" in front of all other fonts * LANG=te_IN fc-match -s sans also prefers "Lohit Telugu" over all other fonts. Interestingly 'fc-match -s Helvetica' even lists 'Nimbus Sans L' in front of 'Liberation Sans' on Jaunty. So, I really don't know why oo.o defaults to "Liberation Sans" by default. This suggests that it's not a fontconfig problem, since fontconfig gives back the correct preference list when queried. (On a side note: also gnome-terminal gives a wrong rendering for 'kdk', not as bad as oo.o, but still wrong. Seems to be a problem with some not applied contextual shaping rules... but that would be a separate bug) ** Changed in: openoffice.org (Ubuntu) Assignee: Arne Goetje (arnegoetje) => Chris Cheney (ccheney) Status: New => Confirmed -- OpenOffice Language Problem https://bugs.launchpad.net/bugs/257397 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs