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

            Bug ID: 93033
           Summary: FORMATTING: Expanded spacing on zero-width characters
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 117537
  --> https://bugs.documentfoundation.org/attachment.cgi?id=117537&action=edit
test document with some zero-width characters

Steps to reproduce:

1. Input text with zero-width characters.

2. Expand spacing (Format → Character… → Position → Spacing).

3. Observe how zero-width characters cause additional spacing which they really
shouldn’t (they’re supposed to be zero-width).

I have tested this with today’s 4.4.5.2 and 5.0.0.4 builds on Windows (8.1),
Mac (10.10.4) and Linux (Lubuntu 15.04). None of these get it right.

As a rule, there is some additional spacing with Zero-Width (Non-)Joiner and
with zero-width accents, whereas zero-width spaces behave OK (except on 5.0.0.4
on Mac OS X). However, the details differ from OS to OS. On Windows, which does
not do any ligatures, the additional space is not where the Zero-Width
(Non-)Joiner logically should be (according to input character sequence), but
after the following character. On Mac and on Linux, which do ligatures, and on
Windows zero-width accents, the additional space is where it logically should
be.

A strange behavior can be observed in the character dialog on Windows and on
Mac: The preview of the selected word shows flawless spacing (without
additional space), whereas in the actual document, the zero-width characters
will cause additional spacing. Somehow, the preview of the dialog gets it
right, but the document doesn’t. On Linux, the preview is equally wrong as the
document.

Other free applications that get the spacing right (without additional spacing)
include Firefox or LaTeX.

I am attaching a test document with some zero-width characters.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to