To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107030





------- Additional comments from [email protected] Mon Nov 23 03:34:14 
+0000 2009 -------
Line size calculation is very important for text formatting. The glyph is not
allowed to extend outside the size of the line in order to avoid conflict
between two lines. 

For the individual problem I showed in the attachment, the root cause is that
fallback font is used to display the glyphs while original selected font is used
to calculate the height of the clipping area. That could be proved by debugging.
And it's also confirmed by a simple experiment. When selecting a right font for
the Devanagari character, the chracters can be represented correctly. But when
another font is selected, the problem occured.

My proposal solution is to re-implement the calculation of height of line in
consideration of fallback font. I think the best way is to calculate the width
and height of line at the same time after calling OutputDevice::ImplLayout(...).
That means merging OutputDevice::GetTextHeight with OutputDevice::GetTextWidth.
The current implementation ofOutputDevice::GetTextHeight is really too naive. 
:)  



---------------------------------------------------------------------
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]

Reply via email to