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





------- Additional comments from kstrib...@openoffice.org Mon Apr 26 17:24:44 
+0000 2010 -------
The problem was in the GraphiteLayout::GetTextBreak method. It subtracted the
extra character spacing for all glyphs in a run before computing where the Line
Break point lay. If the number of characters being tested was much more than the
number that could fit, this resulted in line breaking occurring in a much
narrower width than it should have been.

Originally, I was using Graphite's LineFillSegment object to calculate the line
break point, however, this is not possible when extra spacing is being applied
per character. I've therefore decided to record the break weights from the
Graphite segment when it is first analyzed in the appendCluster method. These
can then be used to compute an appropriate break point even when there is extra
character spacing. 

The attached patch fixes the issue for me on Linux and I hope to test it some
more on Windows later in the week. It also includes a fix for incorrect
rendering of expanded/condensed Graphite text in the preview window of the
Character dialog (the expansion/condensation wasn't being applied).

PS: I think my previous comment about Padauk being OK was erroneous. Perhaps
fallback was confusing the issue.

---------------------------------------------------------------------
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to