Bug 148940 - FILEOPEN: docx: text overlapped when open some docx with Justified text
Summary: FILEOPEN: docx: text overlapped when open some docx with Justified text
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks:
 
Reported: 2022-05-04 19:17 UTC by Zhang Qide
Modified: 2022-05-28 01:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
test document (98.38 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-05-04 19:17 UTC, Zhang Qide
Details
screenshot (24.30 KB, image/png)
2022-05-04 19:17 UTC, Zhang Qide
Details
pdf file export from ms office 2013 (32.62 KB, application/pdf)
2022-05-04 19:19 UTC, Zhang Qide
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zhang Qide 2022-05-04 19:17:05 UTC
Created attachment 179927 [details]
test document

text overlapped when open some docx file, see the attachment

Operating System: Windows 7 x64
Version: 7.3.2 release
Comment 1 Zhang Qide 2022-05-04 19:17:57 UTC
Created attachment 179928 [details]
screenshot
Comment 2 Zhang Qide 2022-05-04 19:19:05 UTC
Created attachment 179929 [details]
pdf file export from ms office 2013
Comment 3 Timur 2022-05-05 14:21:26 UTC
No repro 5.3. Repro 5.4 and 7.4+. For Justified text only.
Comment 4 Timur 2022-05-05 14:38:48 UTC
5.4 commit 6187cab1821e6549a94707561118d541b2d67646
Date:   Mon May 1 14:17:37 2017 +0200
    source b647f9f4bcb24ed9b71c77038da6b754b8d42eb7
    pre e7e149508a95d684e033786560bb9972ee59e1ad
author	Mark Hung <marklh9@gmail.com>	2017-04-27
tdf#107362 don't insert kern if snap to char is not checked.

CC Mark Hung, please see.
Comment 5 Commit Notification 2022-05-12 07:16:14 UTC
Mark Hung committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/3dcf845691ee55621a9475d7c39cbc63611c3f7a

tdf#148940 improve non Snap-to-char mode textgrid layout.

It will be available in 7.4.0.

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

Affected users are encouraged to test the fix and report feedback.
Comment 6 Zhang Qide 2022-05-13 16:38:56 UTC
I can confirm that this problem has been fixed in the daily builds. But it will introduce other problem. I will file another bug report.

Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 99e10099b5d63c30b9a960fc94fc438ae7ab63dd
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: CL
Comment 7 Dieter 2022-05-27 07:26:10 UTC
Mark, status is still NEW. So is there something to do? If not, please change status to VERIFIED FIXED (as Zhang already confirmed the fix in comment 6).