Issue 118742 - Japanese Ruby is improperly formatted against some Japanese fonts
Summary: Japanese Ruby is improperly formatted against some Japanese fonts
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.3
Hardware: PC Linux, all
: P5 (lowest) Major (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: CJK, needhelp
Depends on:
Blocks:
 
Reported: 2012-01-10 02:04 UTC by usagi
Modified: 2014-03-05 12:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
incorrectly rendered ruby looks like it's under the characters of the previous line. (32.12 KB, image/png)
2012-01-10 02:04 UTC, usagi
no flags Details
Ruby must look like this, always (but note the fallback font problem for the word 毎日) (32.13 KB, image/png)
2012-01-10 02:07 UTC, usagi
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description usagi 2012-01-10 02:04:16 UTC
Created attachment 77112 [details]
incorrectly rendered ruby looks like it's under the characters of the previous line.

This issue seems easy enough to solve. The first issue is that the fallback font can't be changed, so that when someone uses the standard font for OpenOffice some Japanese characters are rendered differently than others. (However, the placement of ruby characters is "proper"). The second (and most important) issue is that when the font is changed to a Japanese font, the ruby characters appear rendered above the vertical ascent, and not below it (as they should be).

The simplest fix I can imagine is the addition of an "offset" box to the Asian Phonetic Guide, like the one in Microsoft Office 2007.

After a quick glance at what might be required to do this myself I realize I have no hope of accomplishing this on my own. But for various reasons (see attachment) the current ruby support is nearly unusable; for example. it makes it look as if the rubies are placed under the Japanese characters on the proceeding line.

Changing line spacing does not solve this problem, it merely clips the ruby characters (which is what led me to believe they are being incorrectly rendered above the vertical ascent of the font.)

Ruby characters should be rendered inside the font space, and failing that we need an offset control which controls how close the ruby is rendered to the baseline. Please help! This is a game breaker for Japanese, I can't use this program to write a book which requires Japanese Ruby and I don't know what else to do.
Comment 1 usagi 2012-01-10 02:07:26 UTC
Created attachment 77113 [details]
Ruby must look like this, always (but note the fallback font problem for the word 毎日)

In this attachment we see how ruby is rendered using the default font. Unfortunately the fallback font is a gothic one, which means you cannot use this font for Japanese. What a pity, as the ruby characters are correctly placed! The lesser of two evils is to use a Japanese font and pray you can isolate Japanese text on a line by line basis.