Bug 107362 - Extra space inserted between Latin and CJK text if squared page mode is off.
Summary: Extra space inserted between Latin and CJK text if squared page mode is off.
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:5.4.0
Keywords:
Depends on:
Blocks: Text-Grid
  Show dependency treegraph
 
Reported: 2017-04-23 07:35 UTC by Mark Hung
Modified: 2022-05-05 14:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample document. (12.23 KB, application/vnd.oasis.opendocument.text)
2017-04-23 07:35 UTC, Mark Hung
Details
Screenshot and annotation of 5.3.1.2 (4.64 KB, image/png)
2017-04-23 07:37 UTC, Mark Hung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hung 2017-04-23 07:35:24 UTC
Created attachment 132763 [details]
Sample document.

The attachment text has text grid on, squared page mode and snap to char off. There is unexpected space between Latin and CJK text. It seems that changing the script from CJK to Latin or Latin to CJK snapped the text to the grid.

Expected: when snap to char is off, distance between characters should be the same, or at least does not create the effect of large gaps as illustrated in the sample.
Comment 1 Mark Hung 2017-04-23 07:37:08 UTC
Created attachment 132764 [details]
Screenshot and annotation of 5.3.1.2
Comment 2 Xisco Faulí 2017-04-27 16:49:30 UTC
Patch submitted to gerrit: https://gerrit.libreoffice.org/#/c/37037/
Setting to NEW
Comment 3 Commit Notification 2017-05-01 12:11:08 UTC
Mark Hung committed a patch related to this issue.
It has been pushed to "master":

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

tdf#107362 don't insert kern if snap to char is not checked.

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.
Comment 4 Xisco Faulí 2017-06-09 09:55:08 UTC
Hello,
Is this bug fixed?
If so, could you please close it as RESOLVED FIXED?
Comment 5 Volga 2017-06-12 11:36:58 UTC
OK, the unexpected space disappeared in 5.4.0 beta2.

Version: 5.4.0.0.beta2 (x64)
Build ID:3cc1cdd8ee50f144e5514da51800a08119754d8f
CPU threads: 4; OS: Windows 6.19; UI render: 默认; 
Locale: zh-CN (zh_CN); Calc: group