Summary: | Support Zero-width non-joiner (ZWNJ) and Zero-width joiner (ZWJ) | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | r4ndomstuff |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | heiko.tietze, hossein, khaled, vsfoote |
Priority: | medium | ||
Version: | 6.3.2.2 release | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 151986 | ||
Attachments: |
Screenshot
Example width screenshots before/after |
Description
r4ndomstuff
2020-07-06 00:08:56 UTC
*** This bug has been marked as a duplicate of bug 58434 *** Created attachment 188538 [details] Screenshot Both are highlighted for me if View > Field Shadings is checked. But as mentioned on bug 58434 it's not possible to disable these two per Tools > Options > Writer > Formatting Aids > Non-breaking Spaces unlike No-Break Space / U+00a0, for example. And it's also not possible to disable the ZW spaces per Spaces. How to proceed here? Hossein, Khaled: what do you think? (In reply to Heiko Tietze from comment #3) > Hossein, Khaled: what do you think? Note the issue is about U+200D and U+200C which we don’t currently handle in any special way. Showing them is a good enhancement, but I’m afraid the way Writer makes formatting marks visible breaks them for text layout. The text gets split into several “portions” with the mark in a portion of its own separated from the its context, rendering it effectively useless. So I’d not try to make any more formatting marks visible before this fundamental issue is addressed. See Bug 152413 for instance. Even when they are disabled from Tools > Options > Writer > Formatting Aids, they still break text layout. Adding them to the insert menu should be uncontroversial, though. Created attachment 188609 [details] Example width screenshots before/after This is what I had in mind. Patch at https://gerrit.libreoffice.org/c/core/+/155019 (In reply to Heiko Tietze from comment #5) > Created attachment 188609 [details] > Example width screenshots before/after > > This is what I had in mind. Patch at > https://gerrit.libreoffice.org/c/core/+/155019 This commit is about U+200B and U+2060, while the issue here is about U+200D and U+200C, wrong issue or I’m missing something? (In reply to خالد حسني from comment #6) > This commit is about U+200B and U+2060, while the issue here is about U+200D > and U+200C, wrong issue or I’m missing something? Apparently me missing the point, ZWJ or ZWNJ is not ZWSP and WJ. So what to do with this ticket? (In reply to Heiko Tietze from comment #7) > (In reply to خالد حسني from comment #6) > > This commit is about U+200B and U+2060, while the issue here is about U+200D > > and U+200C, wrong issue or I’m missing something? > > Apparently me missing the point, ZWJ or ZWNJ is not ZWSP and WJ. > > So what to do with this ticket? Keep it open until we have a better way of making control characters visible without messing with text layout? |