Bug 89621

Summary: DOCX margin or paragraph width with tab and space (and with Verdana font?) isn't the same in Word and in Writer (comment 14)
Product: LibreOffice Reporter: Tom Williams <tomdkat>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: minor CC: libreoffice
Priority: lowest Keywords: filter:docx
Version: 3.4.0 release   
Hardware: Other   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=94801
https://bugs.documentfoundation.org/show_bug.cgi?id=62422
https://bugs.documentfoundation.org/show_bug.cgi?id=134063
https://bugs.documentfoundation.org/show_bug.cgi?id=107476
https://bugs.documentfoundation.org/show_bug.cgi?id=142404
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107830    
Attachments: Test document
Screen shot of test document as viewed in MS Word 2007 on Windows XP
Screen shot of test document as viewed in LibreOffice Writer 4.4.0 on Windows XP
Test document - compare MSO and LO
Screenshot of test document in Writer 7.5.3.2 on Manjaro Linux

Description Tom Williams 2015-02-24 16:06:59 UTC
I was sent a MS Word 2007/2010 document and some of the text isn't properly formatted. It appears spaces are used to help format the text and LibreOffice Writer doesn't display this text properly.

Expected results:  Writer display the text the same as MS Word 2007.

Actual results:  Writer displays the text in a misformatted fashion.

Attached are screen shots of MS Word 2007 and LibreOffice 4.4.0 on Windows XP displaying the same document.

Note:  When I first loaded the document in Writer, some of the text didn't appear at all and there were blank gaps embedded in the text.  Somehow, that behavior corrected itself and all the text _does_ appear, even though some is misformatted.
Comment 1 Tom Williams 2015-02-24 16:08:18 UTC
Created attachment 113641 [details]
Test document

This is a test document, which was taken from the original document.  The text, in this document, is of a religious nature.
Comment 2 Tom Williams 2015-02-24 16:08:49 UTC
Created attachment 113642 [details]
Screen shot of test document as viewed in MS Word 2007 on Windows XP
Comment 3 Tom Williams 2015-02-24 16:09:23 UTC
Created attachment 113643 [details]
Screen shot of test document as viewed in LibreOffice Writer 4.4.0 on Windows XP
Comment 4 A (Andy) 2015-02-24 21:27:21 UTC
Reproducible with LO 4.4.0.3, Win 8.1
Comment 5 tommy27 2016-04-16 07:29:08 UTC Comment hidden (obsolete)
Comment 6 Tom Williams 2016-04-24 19:28:54 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2017-05-22 13:27:40 UTC Comment hidden (obsolete)
Comment 8 Tom Williams 2017-05-25 15:52:07 UTC
I just viewed the test document in Writer 5.3.3 (64-bit) on Windows 7 and the document displays the same as shown in the attached screen shot of Writer 4.4.0 on Windows XP.  Some of the text isn't formatted correctly.  On the same system, I opened the test Word document in MS Word 2010 starter edition and the text was formatted as expected, as shown in the screen shot of MS Word 2007 on Windows XP.

Thanks!
Comment 9 Timur 2017-06-15 17:30:48 UTC
Created attachment 134048 [details]
Test document - compare MSO and LO

Bugzilla is "issue based", so a single issue must be pointed at and narrowed down, after a search for not being a duplicate. 
Bugzilla is not "document based", like "this document doesn't display nice". So minimal test must be created. 
And than, this document is awfully formatted, without basics in text formatting. 
So, it was wrong even to confirm it like this. 

What I assume is that problem is on image attached. Then it's about margin or paragraph width difference between MSO and LO. I can't say the reason, all looks the same. Also not sure whether it's related to Verdana font. 
What we can conclude is that's 0,1cm difference. If we increase in LO, it's the same then.
Comment 10 Timur 2017-06-15 17:43:31 UTC
Added similar Bug 94801 with Arial font to See Also, and also opposite issue with TNR font Bug 62422.
Comment 11 QA Administrators 2018-09-01 02:41:42 UTC Comment hidden (obsolete)
Comment 12 Tom Williams 2018-09-02 18:52:00 UTC
I just viewed the test document, attached to this bug report, in LibreOffice Writer 6.1.0 (32-bit) on Windows 7 (32-bit) and the text appears the same as shown in the "LibreOffice Writer 4.4.0" screenshot.

Given the poor formatting used in the original document, I'm fine with closing this bug report.  It's not that big of a deal, in the grand scheme of things.  :)
Comment 13 QA Administrators 2019-09-03 16:12:01 UTC Comment hidden (obsolete)
Comment 14 Timur 2020-01-17 12:48:43 UTC
In 6.5+:
NOK: 	"for this is he who was spoken of the prophet Isaiah, saying:",	 
OK: 	the transgression, for making an end to sin, to make atonement 

I'll change the title to try to point to 1st issue with tab and space.
Comment 15 Justin L 2021-06-17 15:30:08 UTC
This is not at all related to TabOverMargin (as might be suggested by some of the see-also bugs).
Comment 16 QA Administrators 2023-06-18 03:14:35 UTC Comment hidden (obsolete)
Comment 17 Tom Williams 2023-06-21 04:01:33 UTC
So, I tried this in Writer 7.5.3.2 on Linux and the formatting looked much better!  So, I'll close this out as "worksforme".  :)
Comment 18 Tom Williams 2023-06-21 04:03:13 UTC
Created attachment 188027 [details]
Screenshot of test document in Writer 7.5.3.2 on Manjaro Linux