Bug 118736 - (FORMATTING) Lack of offset control in CJK ruby text
Summary: (FORMATTING) Lack of offset control in CJK ruby text
Status: RESOLVED DUPLICATE of bug 107185
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.5.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-12 23:55 UTC by Ian Huang
Modified: 2023-10-24 10:40 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Huang 2018-07-12 23:55:34 UTC
Description:
This was already reported in #44784, which was supposedly focusing on several complaints regarding the implementation of ruby text, and was closed in order to focus on one such complaint. It was recommended that other bugs be filed for specific missing functionality, so here this is. A restatement of the original, for the most part....

Essentially, many CJK fonts make use of large "leading" metrics in order to leave space for rubies to be rendered on. However, LibreOffice simply positions the rubies above the leading space and as a result the gap between regular text and rubies can be quite large. There is no option to offset the positioning of rubies and render them above the leading space in the characters.
This is especially reproducible with fonts like Source Han Sans. The problem cannot be solved by changing line spacing size because this cuts off the Ruby characters.




Steps to Reproduce:
1. Enter several lines of Chinese or Japanese text.
2. Add ruby characters to the text using "Format → Asian Phonetic Guide"
3. Change the font to one with large leading metrics, such as Source Han Sans.
4. Observe that the ruby characters can be very far from the characters over which they appear.

Actual Results:
There is no "offset" setting which allows us to specify an offset closer to (or further away from) the current ruby positioning.

Expected Results:
An "offset" box should exist either in Asian Phonetic Guide, or preferably in Character Styles so one can set different offsets for different ruby fonts and point sizes. This control will offset the ruby up (away from) or down (towards) the Japanese text. A great degree of control (up to 72 points, I'd suspect) of freedom is required for Japanese typesetting of any kind.


Reproducible: Always


User Profile Reset: No



Additional Info:
Heh, I copied a lot of that from the original bug. Hope you don't mind. If you feel that #44784 was wrongly closed, then please do mark this as a duplicate.

Though I think it is somewhat irrelevant, I am reproducing this on Arch Linux with LibreOffice 6.0.5.2.
Comment 1 Buovjaga 2018-07-15 18:02:32 UTC
Setting to NEW as it is based on older discussions.
Comment 2 Mark Hung 2021-03-09 12:25:35 UTC
*** Bug 140318 has been marked as a duplicate of this bug. ***
Comment 3 Stéphane Guillou (stragu) 2023-10-24 10:40:12 UTC
Let's mark as duplicate of earlier bug 107185. Quite a few examples attached to it, please feel free to share your preferred solution there.
Thank you!

*** This bug has been marked as a duplicate of bug 107185 ***