Bug 119885 - DOCX: Horizontal spacing of font "Open Sans" differs from Word
Summary: DOCX: Horizontal spacing of font "Open Sans" differs from Word
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:6.2.0 target:6.1.4
Keywords:
: 106233 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-09-14 17:47 UTC by Patrick Jaap
Modified: 2018-10-28 21:56 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
example file (11.81 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-09-14 17:48 UTC, Patrick Jaap
Details
situation in Writer (21.00 KB, application/pdf)
2018-09-14 17:49 UTC, Patrick Jaap
Details
situation in Word (20.75 KB, application/pdf)
2018-09-14 17:49 UTC, Patrick Jaap
Details
odt-export (by word 2013) of the sample file (5.08 KB, application/vnd.oasis.opendocument.text)
2018-09-17 14:25 UTC, Patrick Jaap
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Jaap 2018-09-14 17:47:29 UTC
Description:
In Word the text fits into the table,
in Writer, the last character is placed in a new line.

Steps to Reproduce:
1. open the test file

Actual Results:
Last cell are two lines

Expected Results:
Last cell is one line


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Patrick Jaap 2018-09-14 17:48:30 UTC
Created attachment 144873 [details]
example file
Comment 2 Patrick Jaap 2018-09-14 17:49:17 UTC
Created attachment 144874 [details]
situation in Writer
Comment 3 Patrick Jaap 2018-09-14 17:49:58 UTC
Created attachment 144875 [details]
situation in Word
Comment 4 V Stuart Foote 2018-09-15 15:13:39 UTC
As LibreOffice will always handle OOXML via import filter, why expect layout fidelity coming from a MS Word generated document.

What happens when importing/opening the document with OpenSans but saved from MS Word 2013 as ODF?
Comment 5 Patrick Jaap 2018-09-17 14:25:04 UTC
(In reply to V Stuart Foote from comment #4)
> As LibreOffice will always handle OOXML via import filter, why expect layout
> fidelity coming from a MS Word generated document.
> 
> What happens when importing/opening the document with OpenSans but saved
> from MS Word 2013 as ODF?

Hi! When I save the document in Word 2013 as .odt, the word "Brandschutz" fits in the cell in Writer. I'll upload the odt-export
Comment 6 Patrick Jaap 2018-09-17 14:25:53 UTC
Created attachment 144942 [details]
odt-export (by word 2013) of the sample file
Comment 7 Miklos Vajna 2018-09-18 08:16:40 UTC
I can confirm the problem.
Comment 8 Xisco Faulí 2018-09-19 10:44:53 UTC
Reproduced back to 

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 9 Mike Kaganski 2018-10-15 10:55:44 UTC
The problem in the sample seems to be wrong cell padding (left in LO import is 0.20 cm, while it's 0.19 cm in Word, and in Word-exported ODF).
Comment 10 Mike Kaganski 2018-10-16 15:02:45 UTC
https://gerrit.libreoffice.org/61843
Comment 11 Commit Notification 2018-10-16 17:54:21 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=5d0c83fd4cf91083805f60f49e4fafd3d6ac73d4

tdf#119885: OOXML import: try to get cell paddings as Word does

It will be available in 6.2.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 12 Commit Notification 2018-10-16 19:57:18 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=eb04d583b77d4e8a9233b6f164428cc0594d0dae

tdf#119885: a typo fix

It will be available in 6.2.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 13 Commit Notification 2018-10-17 16:03:03 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-6-1":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=2c541ea901369f0267921e1e73de0d74dd2a8fc9&h=libreoffice-6-1

tdf#119885: OOXML import: try to get cell paddings as Word does

It will be available in 6.1.4.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 14 Gabor Kelemen (allotropia) 2018-10-28 21:56:01 UTC
*** Bug 106233 has been marked as a duplicate of this bug. ***