https://bugs.freedesktop.org/show_bug.cgi?id=50222

             Bug #: 50222
           Summary: FORMATTING: Unexpected line wrap behaviour
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.3 release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
 Status Whiteboard: BSA
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created attachment 61971
  --> https://bugs.freedesktop.org/attachment.cgi?id=61971
This shows the hyphenation when the parenthesis is added

Disclaimer: This is a report for a low priority bug

Problem description:
There is a bug in the line wrap algorithm for Writer (at least I find it
unexpected).

Steps to reproduce:
1. Setup a document with 17cm of horizontal space. Set font to Times New Roman
13pt. Set language to English USA with automatic hyphenation.
2. Write "ease or diseases) it refers to. Other epidemiologically important
link types include “location”." (I'm not sure whether the double quotation must
be unicode or ascii)
3. Right before the first "or", add an opening parethesis, "(" (so that the
text now read "ease (or")

Current behavior:
"location" gets hyphenated.

Expected behavior:
If there is space to hyphenate "location" after adding the "(", then surely
there is space to hyphenate before adding the character. Why is it that adding
the character triggers hyphenation

I'm aware that Writer could technically choose not to hyphenate based on looks
(as TeX does) but I'm not sure it does so. In any case, this is clearly (to me,
at least) not one of those cases.

Platform (if different from the browser): Ubuntu 12.04

Browser: Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.5 (KHTML, like Gecko)
Chrome/19.0.1084.46 Safari/536.5

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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