Description of problem: While testing i18n QA test for test case 'i18n Font Application' I noticed the following issue in LibreOffice: The conjunct character 'জ্জ্ব' (JA + HALANT + JA + HALANT + BA) having code point (U+099C U+09CD U+099C U+09CD U+09AC) is not rendering properly. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Version-Release number of selected component (if applicable): libreoffice-4.0.3.2-1.fc19.x86_64 How reproducible: Always Steps to Reproduce: 1. Set locale to Assamese (as-IN) 2. Open any package of Libreoffice like writer, calc etc 3. Type the character 'জ্জ্ব' (JA + HALANT + JA + HALANT + BA) Actual results: Character 'জ্জ্ব' (JA + HALANT + JA + HALANT + BA) is not rendering properly Expected results: Character 'জ্জ্ব' (JA + HALANT + JA + HALANT + BA) should render properly
FWIW in LibreOffice 4.1 we're going to be using harfbuzz so with a bit of luck these things will start "just working" and if they don't it'll be hopefully a single point of harfbuzz to modify.
Thanks Caolan for an update. We have resolved all incompatibility issues in Lohit font and now it works perfectly fine with Harfbuzz NG. So yes i think only this migration with resolve this bug.
I just manually installed libreoffice-4.1.0.0-2.beta1.fc19 build and simply copied text from here to LibreOffice Writer Document. I see rendering is still broken and conjunct is not formed. Gedit gives correct rendering and forms a conjunct correctly.
I retested this bug on further testing on this new libreoffice build and found that this bug is actually resolved but rendering is not correct due to bug 968892. So the problem is when we copy this জ্জ্ব character to libreoffice, default font set is "Lohit Devanagari" whereas it should be "Lohit Assamese".
Because we now render with harfbuzz and not icu, lets move this back to libreoffice again
So this renders now as it should. The default font issue is a red herring. The character is pasted as plain text so LibreOffice just at first attempts renders it with the default CTL font which happens to be set. Which typically tends to be just Lohit Devanagari because the default CTL language in a non-CTLL locale is Hindi.