[Libreoffice-bugs] [Bug 136851] No-break space not working with Asian font text or mixed Western and Asian

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 1 16:16:59 UTC 2021


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

Ming Hua <ming.v.hua at qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |83066
                 CC|                            |ming.v.hua at qq.com
            Summary|No-brake space not working  |No-break space not working
                   |with Asian font text or     |with Asian font text or
                   |mixed Western and Asian     |mixed Western and Asian

--- Comment #2 from Ming Hua <ming.v.hua at qq.com> ---
Not exactly surprising, as the default line-breaking rule for (modern) Chinese
is "anywhere but some special place before/after punctuation marks", as we
don't use spaces to separate "words" at all.  And new exceptions to this rule
had to be introduced when Latin-and-Chinese mixed text layout was considered.

It's probably not hard to fix though, one just needs to treat non-breaking
spaces not as whitespace character when considering line-break positions.

It would be interesting to know if the same problem exists for Korean texts, as
they use spaces to separate words.  Japanese doesn't (just like Chinese) and
presumably is also affected.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=83066
[Bug 83066] [META] CJK (Chinese, Japanese, Korean, and Vietnamese) language
issues
-- 
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/20210401/5ce33a92/attachment.htm>


More information about the Libreoffice-bugs mailing list