Bug 111400 - Space between paragraphs and letters different in paragraph between OOXML and ODT (MS Word compatibility)
Summary: Space between paragraphs and letters different in paragraph between OOXML and...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering DOCX
  Show dependency treegraph
 
Reported: 2017-08-05 16:23 UTC by William Gathoye
Modified: 2018-12-03 13:20 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample 1 DOCX version (deleted)
2017-08-05 16:23 UTC, William Gathoye
Details
Sample 1 ODT version (deleted)
2017-08-05 16:24 UTC, William Gathoye
Details
Sample 2 DOCX version (deleted)
2017-08-05 16:24 UTC, William Gathoye
Details
Sample 2 ODT version (deleted)
2017-08-05 16:25 UTC, William Gathoye
Details
Screenshot table of content identical shift because of title space after (136.94 KB, image/jpeg)
2017-08-05 16:28 UTC, William Gathoye
Details
Screenshot space difference before title (11.30 KB, image/jpeg)
2017-08-05 16:28 UTC, William Gathoye
Details
Screenshot space difference between titles of different levels (44.61 KB, image/jpeg)
2017-08-05 16:29 UTC, William Gathoye
Details
Screenshot space difference before first line of text (9.89 KB, image/jpeg)
2017-08-05 16:30 UTC, William Gathoye
Details
Screenshot underline thickness difference but no margin space difference (14.93 KB, image/jpeg)
2017-08-05 16:30 UTC, William Gathoye
Details
Screenshot table of content no margin difference (26.93 KB, image/jpeg)
2017-08-05 16:31 UTC, William Gathoye
Details
Screenshot border surrounding text padding difference and text shifted inside border (3.24 KB, image/jpeg)
2017-08-05 16:31 UTC, William Gathoye
Details
Screenshot font rendering difference in the curve and width (4.39 KB, image/jpeg)
2017-08-05 16:32 UTC, William Gathoye
Details
Screenshot justified algorithm difference (39.57 KB, image/jpeg)
2017-08-05 16:33 UTC, William Gathoye
Details
Screenshot space between letters difference in title (13.97 KB, image/jpeg)
2017-08-05 16:33 UTC, William Gathoye
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Gathoye 2017-08-05 16:23:48 UTC
Created attachment 135173 [details]
Sample 1 DOCX version

Last week, we have received a quite complete and concrete bug report via a direct message on the French LibreOffice account on Twitter.

A student leading extra courses for students having difficulties in a medical faculty in France is recommanding MS Office (free for students because of a partnership between Microsoft and university) because there are small differences between text imported in LibreOffice. A mention to LibreOffice is absent from the official brochure and mail delivered to new students, because of issues described hereafter.

The student's assistants cannot afford spending time in printing issues when a student decides to print the document either using MS Office or LibreOffice. Indeed, sometimes, there are page breaks and this is quite annoying when an assistant says 'take page 20' and for students using LibreOffice, this is on page 21 for example. The problem tends to appear more aften as the document gets longer (1px is not important between 2 paragraphs, but when it is being added to the previous paragraph, after some pages, this 1px easily leads to a 100px difference).

The test has been performed in this following manner: an OOXML document opened in Office 365 (thus corresponding to the 2016 version) and LibreOffice 5.4 on Windows. The document has been exported from both office suites as PDF exports, then exported as images. Images have been put in superposition: the Office export on the LibreOffice one (the LibreOffice export is in gray, while the Office export is in black). The test documents have been provided as attachments to this bug report.

Screenshots on the rendered document (without PDF exports) will be provided soon by the user who reported this issue to us.

The users expressed the following remarks:

- The same font has rendering differences between office suites, while they have been manually installed on both sides. The brochures/emails sent to students are specifying this wrt. the font: they must be installed on the computer to have no rendering changes if the font is, for some reason, not available on the computer of the office suite.

- There are space issues in borders and in underlines, but this does not lead to paragraph differences nor to page breaks.

- The justify algorithm is different from Office to LibreOffice potentially leading to paragraph breaks and thus page breaks.

- The space between paragraph, while specified in the same units in Office and LibreOffice appears in a different manner on LibreOffice.

- The tables of content are not concerned by these issues: space between paragraphs and indexes seems to be correct.
Comment 1 William Gathoye 2017-08-05 16:24:18 UTC
Created attachment 135174 [details]
Sample 1 ODT version
Comment 2 William Gathoye 2017-08-05 16:24:39 UTC
Created attachment 135175 [details]
Sample 2 DOCX version
Comment 3 William Gathoye 2017-08-05 16:25:02 UTC
Created attachment 135176 [details]
Sample 2 ODT version
Comment 4 William Gathoye 2017-08-05 16:28:27 UTC
Created attachment 135177 [details]
Screenshot table of content identical shift because of title space after
Comment 5 William Gathoye 2017-08-05 16:28:56 UTC
Created attachment 135178 [details]
Screenshot space difference before title
Comment 6 William Gathoye 2017-08-05 16:29:32 UTC
Created attachment 135179 [details]
Screenshot space difference between titles of different levels
Comment 7 William Gathoye 2017-08-05 16:30:01 UTC
Created attachment 135180 [details]
Screenshot space difference before first line of text
Comment 8 William Gathoye 2017-08-05 16:30:42 UTC
Created attachment 135181 [details]
Screenshot underline thickness difference but no margin space difference
Comment 9 William Gathoye 2017-08-05 16:31:05 UTC
Created attachment 135182 [details]
Screenshot table of content no margin difference
Comment 10 William Gathoye 2017-08-05 16:31:57 UTC
Created attachment 135183 [details]
Screenshot border surrounding text padding difference and text shifted inside border
Comment 11 William Gathoye 2017-08-05 16:32:44 UTC
Created attachment 135184 [details]
Screenshot font rendering difference in the curve and width
Comment 12 William Gathoye 2017-08-05 16:33:13 UTC
Created attachment 135185 [details]
Screenshot justified algorithm difference
Comment 13 William Gathoye 2017-08-05 16:33:42 UTC
Created attachment 135186 [details]
Screenshot space between letters difference in title
Comment 14 William Gathoye 2017-08-05 16:35:18 UTC
A precision, the user reports the comparison hasn't been performed on Windows, but on the latest macOS version with the latest Office suite available at this date.
Comment 15 Jean-Baptiste Faure 2017-08-07 20:30:41 UTC
You do not say anything about compatibility options: menu Tools > Options > LibreOffice Writer > Compatibility. Did the play with them?

Set status to NEEDINFO, please set it back to UNCONFIRMED once requested
informations are provided.

Best regards. JBF
Comment 16 William Gathoye 2017-08-12 11:15:22 UTC
@Jean-Baptiste,

Like requested, I asked Anatole to see if the options available in Options -> LibreOffice Writer -> Compatibility were fixing the shifting/spaces differences between both documents.

Wait and see.
Comment 17 Cor Nouws 2017-08-18 07:32:53 UTC
(In reply to William Gathoye from comment #0)
> Last week, we have received a quite complete and concrete bug report via a
> direct message on the French LibreOffice account on Twitter.

thanks for your efforts in bringing the report here, William.
OTOH, sometimes I have the feeling people are looking for a stick ;)

> The test has been performed in this following manner: an OOXML document
> opened in Office 365 (thus corresponding to the 2016 version) and
> LibreOffice 5.4 on Windows.

The same computer? (On which computer runs Office 364 by the way?)
I'm not sure 365 always gives the same rendering as Office2016.

(I'll find me a Windows computer with both MsO and LibreOffice)
Comment 18 anatole.hanniet 2017-08-18 09:11:35 UTC
Hi everyone I'm sorry for the delay.

@Jean-Baptiste I will look if I can achieve something using compatibility tools soon as I've enough time to do it. But I can't find a Tools > Options > Libre Office Writer > Compatibility on LO (macOS). I did find something under Libre Office > Preferences > LibreOffice Writer > Compatibility that seems to be what you are talking about. Anyway what exactly am I supposed to change ?

@Cor, Yes same computer (MacBook Air 2014 running macOS 10.12.6) for LibreOffice and Office 365.

@William could you please remove original attachements ? I would provide everyone with a more "neutral" set of documents as I didn't ask for permission to release this initial documents.
Comment 19 Jean-Baptiste Faure 2017-08-19 11:17:35 UTC
(In reply to anatole.hanniet from comment #18)
> [...]
> @Jean-Baptiste I will look if I can achieve something using compatibility
> tools soon as I've enough time to do it. But I can't find a Tools > Options
> > Libre Office Writer > Compatibility on LO (macOS). I did find something
> under Libre Office > Preferences > LibreOffice Writer > Compatibility that
> seems to be what you are talking about. 

If your OS is MacOS X options are indeed under Preferences

> Anyway what exactly am I supposed to change ?

My question was did you play with compatibility options. Of course your answer is no. Now you should try to change options related to spacing. For example the penultimate option (Espaces compatibles MS Word in French).

Best regards. JBF
Comment 20 QA Administrators 2018-03-02 10:01:51 UTC Comment hidden (obsolete)
Comment 21 Buovjaga 2018-03-06 13:52:27 UTC Comment hidden (obsolete)
Comment 22 Buovjaga 2018-03-06 13:52:44 UTC Comment hidden (obsolete)
Comment 23 Buovjaga 2018-03-06 13:53:04 UTC Comment hidden (obsolete)
Comment 24 Buovjaga 2018-03-06 13:53:17 UTC Comment hidden (obsolete)
Comment 25 LibreTraining 2018-04-20 21:07:22 UTC
Can you please attach your test documents?
Comment 26 QA Administrators 2018-11-05 16:08:15 UTC Comment hidden (obsolete)
Comment 27 QA Administrators 2018-12-03 13:20:09 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20181203