Issue 67964

Summary: Inconsistent line breaks when using mixed font sizes
Product: Writer Reporter: edkins <giles.edkins>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 2.0.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Delete the word "BIG" and text gets laid out incorrectly none

Description edkins 2006-07-30 21:35:20 UTC
Create a new text document, and add a picture. Resize it so that it covers about
30% of the width of the page, and position it so that there is just room for one
line of text above the picture frame.

Start typing in words so that they appear in a line above the picture. When you
get almost to the end of the first ine, say 80% of the way across, change the
font size to 24. Type another character.

The following happens: The text jumps to just past the picture, and so the text
splits onto the next line.

This is OK. But now delete the large character that you just typed. I would
expect the text to jump back to how it was, but it does not.

Assuming I can manage to attach a file to this bug report, the attached file
shows this happening. Delete the word "big", then save the document and reopen
it. The text will be placed differently after the document is reopened.
Comment 1 edkins 2006-07-30 21:39:04 UTC
Created attachment 38134 [details]
Delete the word "BIG" and text gets laid out incorrectly
Comment 2 michael.ruess 2006-07-31 14:32:22 UTC
MRU->FME: it may be not so easy to implement. looking at the width of the
paragraph it should fit into the line above the graphic. But due to the larger
characters at the end, the whole line will break and wrap the graphic. Would it
be possible only to break the larger text onto the next line in such a case?