Bug 149214 - Unicode IVS occupies more space if textgrid is on
Summary: Unicode IVS occupies more space if textgrid is on
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-21 08:28 UTC by Mark Hung
Modified: 2022-08-06 14:45 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document (14.29 KB, application/vnd.oasis.opendocument.text)
2022-05-21 09:09 UTC, Mark Hung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hung 2022-05-21 08:28:51 UTC
Description:
Unicode IVS consist of a base character and a selector, as U+4E00U+000E01E1 in the example. Writer inert extra space there.


Steps to Reproduce:
1. open the document.
2. check space distribution among the text.

Actual Results:
More space between the third and the fourth ideographs in the first line.

Expected Results:
Space should be distributed evenly ( as in the second line ).


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.2.2 (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 8; OS: Windows 10.0 Build 22000; UI render: Skia/Vulkan; VCL: win
Locale: zh-TW (zh_TW); UI: zh-TW
Calc: CL
Comment 1 Mark Hung 2022-05-21 09:09:39 UTC
Created attachment 180274 [details]
Sample document
Comment 2 Dieter 2022-06-05 09:22:26 UTC
I confirm it with

Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 5423dfb8549743bd5045b6e3b1ebad7980e62965
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 3 Commit Notification 2022-06-07 06:52:50 UTC
Mark Hung committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7f310b8c2d8d496b38dd62aa6b06e61442e1a2d0

tdf#149365 tdf#149214 handle IVS and mix width chars

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 4 Dieter 2022-08-06 14:45:36 UTC
VERIFIED with

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a56d0c34716f381accbd9d2e3040a62d3583d18d
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Mark, thanks for fixing it!