Bug 87114

Summary: page breakt reformatted at file open
Product: LibreOffice Reporter: Wolf jung <wolfjung42>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEEDINFO --- QA Contact:
Severity: normal    
Priority: medium CC: jmadero.dev, qubit
Version: 4.1.6.2 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: one page created with Windows LO
one page converted with Windows LO
check that 1 page on Windows
see that 2 pages on Linux

Description Wolf jung 2014-12-08 19:26:15 UTC
Suppose a one-page DinA4 doc file is created in MSWord and opened in libre office.
Then usually the text is broken such that it takes more than one page,  with about two lines on the second page.  This happens for any file where the text is covering a large portion of the page,  not only when using fancy formatting.
[The similar report 86468 seems to concern a specific file and version.]

[ I am using a USEnglish operating system with default paper size A4  in libre office. ]

I am wondering whether there is a specified page size, text heioght etc. in the doc file?  Can this happen due to different fonts being used?  Or is the file converted to letter paper first and then to A4 again?
Comment 1 Joel Madero 2014-12-09 01:29:18 UTC
Please provide a simple sample document.

Setting to NEEDINFO, once you provide a simple sample document set to UNCONFIRMED and we shall try to reproduce.
Comment 2 Wolf jung 2014-12-31 18:54:44 UTC
Created attachment 111591 [details]
one page created with Windows LO
Comment 3 Wolf jung 2014-12-31 18:55:57 UTC
Created attachment 111592 [details]
one page converted with Windows LO
Comment 4 Wolf jung 2014-12-31 18:57:34 UTC
Created attachment 111593 [details]
check that 1 page on Windows
Comment 5 Wolf jung 2014-12-31 18:58:03 UTC
Created attachment 111594 [details]
see that 2 pages on Linux
Comment 6 Wolf jung 2014-12-31 19:00:37 UTC
Since I do not have access to MSWord at the moment, I have tried to reproduce this behavior with two different versions of libre office:
* LO 4.2.5.2 on Windows 7, German locale, default A4
* LO 4.1.6.2 on Suse Linux 13.3, US locale, default A4 chosen

The attached doc and odt have been produced with the Windows version; they are fiitng on one page A4 as seen from the pdf.

Opening them under the Linux version gives more than one page A4, as seen from the other pdf.

In previous versions of the test page, there were more different line breaks in addition, which increased the text height even more.

I am guessing the problem is due to different fonts being used silently.
Comment 7 Robinson Tryon (qubit) 2015-01-15 05:13:37 UTC
TESTING with Lo 4.4.0.2 + Ubuntu 14.04

(In reply to Wolf jung from comment #0)
> Suppose a one-page DinA4 doc file is created in MSWord and opened in libre
> office.
> Then usually the text is broken such that it takes more than one page, with
> about two lines on the second page.

(In reply to Wolf jung from comment #2)
> one page created with Windows LO: attachment 111591 [details]

Repro Steps:
- Open file with LibreOffice
- RESULT: It extends over more than one page

This document opens as 1 page for me in Writer, so NOREPRO

It's entirely possible this is because of the Caladea font that's present on my system. It's metric-compatible with Cambria, so documents that take up 1 page in MS-Word should be 1 page in Writer:
https://fedoraproject.org/wiki/Google_Crosextra_Caladea_fonts

I believe we now ship Caladea w/LibreOffice:
http://opengrok.libreoffice.org/search?q=caladea&project=core&defs=&refs=&path=&hist=

Wolf: Please re-test with a 4.3 or 4.4 build:
https://www.libreoffice.org/download/)

Let us know
1) Do your test documents (e.g. attachment 111591 [details]) display as 1 page or 2?
2) Does LibreOffice list 'Caladea' in the font drop-down?

Status -> NEEDINFO

(Please chnage status back to UNCONFIRMED after you run your tests. Thanks!)


Tip: Look at the font name when you open/edit a document. If the current font name appears in italics, that means that it's not present on the system, and we're engaging in font-substitution.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.