[Libreoffice-bugs] [Bug 129709] New: Incorrect hyphenation of marathi words having Zero Width Joiner

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 31 13:35:22 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=129709

            Bug ID: 129709
           Summary: Incorrect hyphenation of marathi words having Zero
                    Width Joiner
           Product: LibreOffice
           Version: 6.4.0.1 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: shantanu.oak at gmail.com

Description:
Libre office writer does not hyphenate the words correctly if zero-width-joiner
is used anywhere in the word written in "Marathi" language. As per the
validation script, the word "फक्‍तवित्‍तवान" can be broken at 3 places, but it is
breaking at unexpected place in Writer as shown in the attached image.

Steps to Reproduce:
1) Check config rule:
# docker run  --disable-content-trust  -it shantanuo/hyphenate grep -iA1
'joiner' ../dicts/hyph_mr_IN.dic

% Do not break either side of ZERO-WIDTH JOINER  (U+200D)
2‍2
% Break after ZERO-WIDTH NON JOINER  (U+200C)
1

2) Run this docker command and check the output. Validation script has not
broken the joiner but non-joiner is broken as expected in case of last 2 lines:
# docker run -it shantanuo/hyphenate ./example ../dicts/hyph_mr_IN.dic
/hi_sample.text
वि=त्त
वि=त्‍त
वि=त्‌त
उप=क्र=मा=वर=च्या=हीच
उप=क्र=मा=वर=च्या=ही=बद्दल=चा
वि=त्‌=त=वान
वि=त्‍त=वान

3) Download and install the Marathi spell check extension for Libre office
from...

https://extensions.libreoffice.org/extensions/marathi-spellchecker/1.8

Start writer and type the word वित्‍तवान at the end of the line and notice the
break between वित्‌-तवान

Actual Results:
Probably wrong:
वित्‌=तवान

Expected Results:
वि=त्‍तवान
OR
वित्‍त=वान
OR
वित्‍तवा=न


Reproducible: Always


User Profile Reset: Yes



Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191231/73fb08bb/attachment.htm>


More information about the Libreoffice-bugs mailing list