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





------- Additional comments from kstrib...@openoffice.org Mon Jul 26 06:13:03 
+0000 2010 -------
SwTxtPainter::DrawTextLine calls the Paint method on each portion in the line in
turn. 
sw/source/core/text/itrpaint.cxx line 421

For a hyphenated word, the text before the hyphen is an SwTxtPortion and so the
paint is SwTxtPortion::Paint.
sw/source/core/text/portxt.cxx line 575
The hyphen itself is derived from an SwExpandPortion, whose paint method is:
sw/source/core/text/porexp.cxx line 108
SwExpandPortion::Paint

Both of these paint methods call rInf.DrawBackBrush() before they paint the
text. The way to avoid the clipping, would presumably be to separate the
painting of the background (DrawBackBrush) and the painting of the text
(DrawText). This would require 2 loops over the portions in the line, one for
the background and one for the actual text. However, this might have a
performance impact.
This isn't graphite specific, so I suspect this would be better handled as a
separate issue.  @hdu are you aware of an existing issue for the clipping 
problem?

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


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

Reply via email to