Bug 104135 - Line spacing has increased from LO 5.1.4 and text overflows
Summary: Line spacing has increased from LO 5.1.4 and text overflows
Status: RESOLVED DUPLICATE of bug 92657
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2016-11-24 01:22 UTC by Steve Edmonds
Modified: 2017-05-31 20:25 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

Cut down odt file showing greater line spacing. (9.55 MB, application/vnd.oasis.opendocument.text)
2016-11-24 01:22 UTC, Steve Edmonds
Representation of correct line spacing. (355.39 KB, application/pdf)
2016-11-24 01:24 UTC, Steve Edmonds
Representation of incorrect line spacing produced by LO5.2.3.3. (462.85 KB, application/pdf)
2016-11-24 01:25 UTC, Steve Edmonds
Screenshot view with four versions (213.87 KB, image/png)
2016-11-24 23:50 UTC, m_a_riosv

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Edmonds 2016-11-24 01:22:41 UTC
Created attachment 128974 [details]
Cut down odt file showing greater line spacing.

Documents created in LO5.1.4 have greater line spacing when opened in LO5.2.3.3 causing page text to overflow and corrupt layout.
The odt file attached is a larger file cut down and saved in LO The pages to look at are 3,4,5.
The PDF PT252-PT253manualhm52cutAOO.pdf shows how the text looks with LO 5.1.4 and AOO 4.1.2.
The PDF PT252-PT253manualhm52cutLO5233.pdf shows how the text looks with LO 

Workaround, set proportional line spacing 98% in paragraph style.
Comment 1 Steve Edmonds 2016-11-24 01:24:03 UTC
Created attachment 128975 [details]
Representation of correct line spacing.
Comment 2 Steve Edmonds 2016-11-24 01:25:22 UTC
Created attachment 128976 [details]
Representation of incorrect line spacing produced by LO5.2.3.3.
Comment 3 V Stuart Foote 2016-11-24 03:18:54 UTC
With the sample ODT, if I simply edit the Heading 3 style and set the spacing above to 0.15" from the 0.16" listed it also reverts.

I would be less inclined to adjust the proportional spacing--and it is entirely possible that rather than a font rendering issue (which would control the proportional font) it is a document canvas issue in placing lines of text.

It would be helpful if you were to dump your test document from 5.1.4 to file ODF (i.e. .fodt), and then the same document opened _and saved_ once in 5.2.3 also saved to file ODF (.fodt).

Then we can compare the actual structure of each.
Comment 4 Steve Edmonds 2016-11-24 05:47:58 UTC
Let me please apologise in advance. I cut the file down from original in 5.2.3 as I no longer have LO5.1.4 with which the original file was created.
I will upload the original, created in 5.1.4, formatting correctly in 5.1.4 and AOO 4.1.2.
Comment 5 Steve Edmonds 2016-11-24 06:29:24 UTC
Sorry, can't upload the original, too big, 22 megs. Also can't produce the .fodt from anything earlier than until I revert back.
.odt https://drive.google.com/open?id=0ByFEFUXgJhGkZ0ZQekRrY1dqeG8
.pdf https://drive.google.com/open?id=0ByFEFUXgJhGkcEdTYTBqRVU5dFE

When opening with I get growth on page 1 flowing to 2. The PDF above shows what the file should look like. Then noticeable at the PDF references P16, bottom P26 (6.2.3), bottom P27 (6.3.6), bottom P29 (6.4.4).

And yes, it could be the heading style spacing throwing out the layout different versions of LO applying different spacing.
Comment 6 m_a_riosv 2016-11-24 23:50:47 UTC
Created attachment 128997 [details]
Screenshot view with four versions

I can't a difference with:

Versión: (x64)
Id. de compilación: b3fbfa99158a1030fb79f0ba72b6851afc3c7895-GL
Configuración regional: es-ES (es_ES)

Versión: (x64)
Id. de compilación: f3e25ec0581f5012f54d8810dcddd5824f4ee374
Subprocesos de CPU: 1; Versión de SO: Windows 6.19; Renderizado de IU: predeterminado; 
Configuración regional: es-ES (es_ES); Calc: CL

Version: (x64)
Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
Locale: es-ES (es_ES); Calc: group

Apache OpenOffice 4.1.3

All are different of what is supposed right.
Comment 7 Steve Edmonds 2016-11-25 01:20:00 UTC
This problem occurred after updating to From comment 6 it may not be a software issue but a file changed in the update. The document was previously edited on 2 different machines, both with LO5.1.4, neither exhibiting the problem. Let me see if I can revert back to a stable situation where the document displays and produces a PDF correctly.
Comment 8 Joel Madero 2016-11-25 04:53:04 UTC
Given comment 7 I'm tossing this into NEEDINFO so the the OR can get a stable environment and provide greater detail on what we need to look for and how we can confirm. Mark as UNCONFIRMED when it's ready to be looked at again.
Comment 9 Steve Edmonds 2016-11-25 04:57:11 UTC
This is best. I have had some feedback that the line spacing of the text in the bullet points is varying but will add information when this can be reliably reproduced.
Comment 10 Steve Edmonds 2016-11-27 08:28:53 UTC
I believe this may now be Bug https://bugs.documentfoundation.org/show_bug.cgi?id=92657 Trying to confirm.
Comment 11 QA Administrators 2017-05-31 10:51:26 UTC Comment hidden (obsolete)
Comment 12 Steve Edmonds 2017-05-31 20:25:03 UTC

*** This bug has been marked as a duplicate of bug 92657 ***