To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85422
------- Additional comments from [EMAIL PROTECTED] Fri Jan 25 08:52:41 +0000
2008 -------
tora->fme: I see. You have a point.
Here is an experimental patch that I have created following your suggestion.
In short, the patch is designed in the following way:
1. Adds GetLeading() and similar method besides existing Height() and
GetAscent() in the class SwLinePortion and some relevant classes.
2. Keeps the value of external leading in an object instance that holds:
* line height (= external leading + ascent + descent)
* its ascent (= external leading + ascent)
3. In a method in which the position of base line will be adjusted with
the amount of line height and its ascent based on a type of alignment,
the value of external leading will be also taken into consideration.
Since the patch is created during efforts for the issue 85430 that depends
on this issue, the patch includes code fragments for both issues.
Although I do try to work for them separately, merging two separated
patches that are closely related each other has a risk of conflicts.
Please use a shell command like this for your evaluation.
build debug=1 'envcflagscxx="-DTORA_PATCH_ADJUSTING_RUBY_LINE_85430 -DTORA_DEBUG
-DTORA_PATCH_ALIGNMENT_MIDDLE_85422"'
tora->hdu: Thank you for your interests. The value of magic, 0.30, might
be needed further discussion in the near future. Many Japanese word processors
are capable to have a leading between lines from 0.5, 1, 1.5, 2, and so on.
The value 0.5 means half a size of ordinal line height!
FYI. The patch does not include any code for vcl, but solely sw.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]