Bug 62422 - Incorrect word spacing and then line wrapping of .docx files with Microsoft font TNR
Summary: Incorrect word spacing and then line wrapping of .docx files with Microsoft f...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2013-03-16 19:44 UTC by brian.bj.parker99
Modified: 2024-11-24 03:14 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
docx file demonstrating differing word wrap in Word and LO (167.56 KB, application/zip)
2013-03-16 19:44 UTC, brian.bj.parker99
Details
Another word wrap example (130.70 KB, application/zip)
2013-03-27 04:39 UTC, brian.bj.parker99
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brian.bj.parker99 2013-03-16 19:44:48 UTC
Created attachment 76623 [details]
docx file demonstrating differing word wrap in Word and LO

Attached is an example Word document (produced on Mac OSX) demonstrating a bug that produces different line breaks when opened in LibreOffice. Such differing line breaks ruin the overall layout of a shared docuument between Word and LO.

 I have attached the .docx file (lo_bug_page_break7.docx) and pdfs showing the correct output (lo_bug_page_break7_word.pdf)  and LibreOffice output (lo_bug_page_break7_LO.pdf). Note that on opening the Word file in LO, you should select all text then set the font size to 12 (due to a different bug (reported) some fonts are set to size 16 in LO)).

If you show hidden characters and turn on maximum zoom in LO, it appears that the cases of differing word wrap occur when a hidden character extends well beyond the end of the line (whereas Word would wrap in that case). 
Also, the first line is an example where Word will not break a two Word field from EndNote whereas LO will.
The last line is a negative example that displays teh same on Word and LO despite white space appearing to slightly overlap the page margins.

The Word version the file was open on was:
Word 2008 for Mac
Version 12.3.1

and the LbreOffice version was:
Version 4.0.1.2 (Build ID: 84102822e3d61eb989ddd325abf1ac077904985)
TinderBox: MacOSX TDF Release, Branch:libreoffice-4-0, Time: 2013-02-27_17:15:43
Comment 1 brian.bj.parker99 2013-03-27 04:39:21 UTC
Created attachment 77083 [details]
Another word wrap example

Another example of different word-wrapping between Word and LO. This example shows that hyphens in the text can lead to different word-wrapping. 
 
lo_word_wordwrap_bug2.docx  is original Word document; 
lo_word_wordwrap_bug2_word.pdf shows the output of Word;
lo_word_wordwrap_bug2_lo.pdf shows the output of LO.

Word and LO versions as in the previous example.
Comment 2 brian.bj.parker99 2013-03-28 19:35:30 UTC
Some additional information- even if I first save the file as a doc file in Word and then load the doc file with LO the word wrap differences are still there, so this appears to be a bug in the underlying word wrapping algorithm.
Comment 3 Joel Madero 2013-04-09 05:00:57 UTC Comment hidden (obsolete)
Comment 4 brian.bj.parker99 2015-03-24 11:33:52 UTC
In LO 4.4.1.2 on OSX there has been no change- the examples show the same bug.
Comment 5 Robinson Tryon (qubit) 2015-12-09 18:44:55 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2018-06-16 02:46:00 UTC Comment hidden (obsolete)
Comment 7 Timur 2019-09-17 14:32:20 UTC
Repro 6.4+. Many bugs on this. Related to Microsoft font rendering, TNR here.
Comment 8 QA Administrators 2022-11-24 03:42:06 UTC Comment hidden (obsolete, spam)
Comment 9 QA Administrators 2024-11-24 03:14:23 UTC
Dear brian.bj.parker99,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug