Bug 104001 - Text wrapping in writer on Linux is different to on Windows
Summary: Text wrapping in writer on Linux is different to on Windows
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-18 05:00 UTC by Ernest Bywater
Modified: 2017-06-17 00:18 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernest Bywater 2016-11-18 05:00:28 UTC
Description:
Writer files in a 6 x 9 inch format I written in LO 5.2.2.2 on on Windows 7 Pro system. When I open the same files in Ubuntu Linux using LO 5.2.2. with the same page and paragraph parameters. Most of the time the text wraps the same, but sometimes the wrapping is a bit different, thus it pushes a word over to the next line, and eventually ends up adding a line to some paragraphs.

Steps to Reproduce:
1. Create file with formatted text in Windows 7 Pro. Have a long paragraph of text in it.
2. Open file in Ubuntu Linux
3. Check the wrapping and spacing of the text.

Actual Results:  
The long paragraph had an extra line due to a word in the sixth line being forced to wrap into the seventh line, and so on down the paragraph, forcing two words into a new line at the end of the paragraph.

Expected Results:
The paragraphs should display the same, because the parameter settings are the same.


Reproducible: Sometimes

User Profile Reset: No

Additional Info:
The problem often is an issue, but it also often forces enough extra lines to push a line or two over to create a new page with a one or two line orphan. This results in extra pages having to be printed, despite the original file being carefully set and formatted. It can be worked around by rewording the text, but this is not always a viable option.


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Comment 1 Buovjaga 2016-11-24 11:41:34 UTC
Could you try with 5.3 as now all operating systems use the same layout engine?
http://dev-builds.libreoffice.org/daily/master/?C=M;O=A
https://wiki.documentfoundation.org/Installing_in_parallel

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists with 5.3. Change to RESOLVED FIXED, if the problem went away.
Comment 2 QA Administrators 2017-05-31 10:51:25 UTC Comment hidden (obsolete)
Comment 3 Ernest Bywater 2017-06-16 05:51:25 UTC
I was asked to see if the behaviour had changed due to some of the latest fixes. I had to wait until I was near a Win 7 machine again before I can check on this. Did that a couple of days ago.

For most of the stories they now appear the same in both Linux and Win 7. However, I did notice in one story where a paragraph ran very long (about 600 words) there was just enough creep to push a few words onto the next line to create an extra part line of text. In all cases the font I was using was Palatino Linotype 10 point, and I now wonder if the issue within Libre Office has been fixed but there may be an issue with the font is treated within Windows, but I don't know enough to be sure. 

I don't think there's enough of an issue to warrant doing any further work on this, but will leave that decision up to the experts. If the experts wish to change this to 'solved' I've no problems with that, or if they wish to look at it further with more testing.
Comment 4 Ernest Bywater 2017-06-16 05:52:49 UTC
(In reply to Buovjaga from comment #1)
> Could you try with 5.3 as now all operating systems use the same layout
> engine?
> http://dev-builds.libreoffice.org/daily/master/?C=M;O=A
> https://wiki.documentfoundation.org/Installing_in_parallel
> 
> Set to NEEDINFO.
> Change back to UNCONFIRMED, if the problem persists with 5.3. Change to
> RESOLVED FIXED, if the problem went away.

oops, sorry I responded as a new comment. Please see comment number 3.
Comment 5 Buovjaga 2017-06-16 05:57:02 UTC
Ok, thanks. Yep, it would be hard to investigate the Palatino font issue because it is a proprietary font and cannot be distributed for free! If you can reproduce it with some free font, you can create a new issue.
Comment 6 Ernest Bywater 2017-06-17 00:18:18 UTC
(In reply to Buovjaga from comment #5)
> Ok, thanks. Yep, it would be hard to investigate the Palatino font issue
> because it is a proprietary font and cannot be distributed for free! If you
> can reproduce it with some free font, you can create a new issue.

The main reason I use Palatino Linotype is because it presents well in a printed 6 x 9 inch book format and 'seems' to display the same in both Linux and Windows. Although i used to regularly use a Win 7 system, now I rarely do, and have to make special arrangements to do so - thus the delay in giving my last response. I'm not familiar with what fonts come in a standard Windows installation that would also be the same in a standard Linux installation, so I don't know what font I can convert a document to so I can do a comparison.

I do know that the Windows fonts I used to use, like Time New Roman and Courier, are very similar to, but not exactly the same as  the Linux equivalents. If you can tell me of a font that's free to use in both and either in the standard installation or easy to get, I can do tests with that.

...........

Some background on why I lodged this in the first place.

I've been using Libre Office on both Linux and Windows systems for many years, I think the first version I used was LO 3 something - I can't remember that far back too well. I was using Open Office before that. I gave up on using MS Word when I had to upgrade from Win XP with Word 6a. After looking at costs and trying out the latest crappy Windows and Word offerings I built a Linux system using Ubuntu, and have since moved onto using Zorin Linux. However, I spent a lot of time at another place doing volunteer working keeping an eye things and using their Windows XP, and later Windows 7 systems to work on my stories. They let me load first Open Office and then Libre Office on the system there.

The stories and files opened exactly the same on both system until I upgraded to LO 5.2.2.2 on both systems, and then experienced the problem I raised this bug about. I dealt with the issue by adjusting some of the page settings and revising some of the wording to make the text fall back into nice pages again. However, about 5 months back I ceased working where I used the Win 7 system, so it ceased to be an issue for me, and that's why I have issues checking things on a Win 7 system now.

It no longer affects me, and it appears to be resolved (as best as i can tell). But I don't know enough to be sure because it in a 50,000 word document it still affected two pages where a single paragraph ran over 600 words and it pushed one or two short words over onto a new line to create a re-pagination and a very odd looking orphan. I suspect the issue may be related to the way the font spacing is in Windows, but can't prove if it is or isn't - I just don't have the training to go further with it.