Created attachment 131205 [details] Test document The attached DOCX document, consisting of a single paragraph as a list item opens and looks fine in Word, but the text appears condensed in Writer (5.3.0.3, 3.6.0.4 / Windows 7). The cause is this XML tag in word/document.xml: <w:w w:val="0"/> If the document is decompressed, the tag is removed in a text editor (from line 94 and others), and the files are recompressed, the document shows fine in Writer as well. Another way to fix the look is to select the condensed text, open Format -> Character..., and on Position tab change Scale width from 1% to 100%. The file was coming from Word, and reduced/sanitized by cutting parts of the XML and replacing text/images. Other parts looked fine in Writer, and didn't include the mentioned tag. No XML code related to the remaining part has been changed or cut.
Confirmed in Version: 5.4.0.0.alpha0+ Build ID: 880033edde516fc30225005245253293a6a58ba4 CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group
Created attachment 131208 [details] comparison MSO 2010 and LibreOffice 5.4
Some more informations: https://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing.characterscale.aspx
Created attachment 131281 [details] Test document fixed by MS Word for Mac
Bartosz, how far are you with this? I have a fix almost ready to be submitted, my bad for not picking it up earlier.
Since there was no reply, I submitted my changes: https://gerrit.libreoffice.org/34341
Aron Budea committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6e3a84023b46f6be632b43d2f5713d8d4bb2ba62 tdf#106001: Treat CharScaleWidth outliers as 100 in DOCX import It will be available in 5.4.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.
Backports are on the way.
Aron Budea committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=06c81a3e61e2d5743ffd8a50d85e5ecee989e46b&h=libreoffice-5-3 tdf#106001: Treat CharScaleWidth outliers as 100 in DOCX import It will be available in 5.3.2. 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.
Aron Budea committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a3a0eac099831de6fd7c53b66f85b964e41a5a13 tdf#106001: Clamp CharScaleWidth outliers when exporting to DOCX It will be available in 5.4.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.
Aron Budea committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e35f5ceefd586f03ace4cb3909bf5dd46007f49b&h=libreoffice-5-3 tdf#106001: Clamp CharScaleWidth outliers when exporting to DOCX It will be available in 5.3.3. 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.
Congrats. Verified. (In reply to Aron Budea from comment #8) > Backports are on the way. Backport for 5.2.7?