Bug 161145

Summary: Japanese characters (kanjis, hiragana, katana...) have an extra spacing since version LO 7
Product: LibreOffice Reporter: documentfoundation.4dxvk
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: aron.budea, jonathan, marklh9, shantanu.oak
Priority: medium Keywords: bibisected, bisected, regression
Version: 7.4.0.3 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=148940
https://bugs.documentfoundation.org/show_bug.cgi?id=149089
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 83066, 106568    
Attachments: Sample document which has the issue
How the document render in LibreOffice 6
How the same document render in LibreOffice 7

Description documentfoundation.4dxvk 2024-05-17 08:59:36 UTC
Description:
When using LibreOffice 6 or other word processor kanji characters from a given document are displayed correctly.
Opening the same document on LibreOffice 7 and above each kanji is rendered with an extra spacing on the left.
The issue is not there when creating a new document.
Happen on Windows and Linux.

I don't know how to produce this issue from scratch.
I will attach a document with this issue.

Steps to Reproduce:
1.Open the sample.doc document on LibreOffice 7 or 24 that is attached.

Actual Results:
Japanese characters have a right spacing even if I set the character spacing to 0.

Expected Results:
No huge spacing between the kanjis characters.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
It was not happening on LibreOffice 6.
It is not happening in other word processor (OpenOffice, Word).
Comment 1 documentfoundation.4dxvk 2024-05-17 09:00:23 UTC
Created attachment 194165 [details]
Sample document which has the issue
Comment 2 documentfoundation.4dxvk 2024-05-17 09:01:28 UTC
Created attachment 194166 [details]
How the document render in LibreOffice 6
Comment 3 documentfoundation.4dxvk 2024-05-17 09:02:12 UTC
Created attachment 194167 [details]
How the same document render in LibreOffice 7
Comment 4 Aron Budea 2024-05-17 10:17:16 UTC
Reproduced using LO 24.8.0.0.alpha0+ (6d5d9eaa61505cebaf3bde4bfc157d8e19fec8de) / Ubuntu.

This is a regression from the following commit, bibisected using repo bibisect-linux-64-7.4. Adding CC: to Mark Hung.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=3dcf845691ee55621a9475d7c39cbc63611c3f7a
author		Mark Hung <marklm9@gmail.com>	2022-05-08 12:56:16 +0800
committer	Mark Hung <marklh9@gmail.com>	2022-05-12 09:15:48 +0200

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