[Libreoffice-bugs] [Bug 39754] New: Protected Spaces not honored / losing data in Text Marks FORMATTING

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 2 03:07:02 PDT 2011


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

           Summary: Protected Spaces not honored / losing data in Text
                    Marks FORMATTING
           Product: LibreOffice
           Version: LibO 3.3.3 release
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: hans011 at ib-lederer.de


Created an attachment (id=49818)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=49818)
A simple test case. 

This is another inheritance from OOo, 
https://openoffice.org/bugzilla/show_bug.cgi?id=94878 ,  ignored for years...  

Example:  Some text including breaking spaces / characters and a protected
space like "10 - 30_ms"  (here, the _ denotes the protected space intended to
keep together the number and the unit) is marked and set as a text mark via
Menu Insert Text Mark .  

When this text mark is later cited as 'reference text' at the end of a line,  a
soft line break may wrap between the "30" and the "ms",  although the protected
space is intended to keep together the number and the unit. 

Much worse:  if this text mark is pushed further to the right so that now the
"30" is wrapped to the next line,  the protected space and the following "ms"
disappear completely!  They reappear again when the mark is further pushed to
the right.  

In the reference text,  insert spaces in the second line:  On my system,  the
4th space causes a erraneous wrap of the protected space.  The 9th space cases
a
wrap of the "30" and the "_ms" disappears,  also in the paper printout (thus
causing an error in a technical text of mine!).  The 10th space lets the "_ms"
reappear.  Maybe this disappearing depends on the exact rendering of the font, 
but this is reproducible with different fonts in different versions since at
least OOo 2.4.1,  in Win XP and Linux.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list