IPro: fix html renderer (clipped text). Issue #16454, patch from Žilvinas Ledas

git-svn-id: trunk@33621 -
This commit is contained in:
juha 2011-11-19 00:45:07 +00:00
parent 2953423fdc
commit 3faf74249f

View File

@ -10204,8 +10204,9 @@ begin
{$ENDIF}
aCanvas.Brush.Style := bsClear;
//debugln(['TIpHtmlNodeBlock.RenderQueue ',CurWord.AnsiWord]);
Owner.PageRectToScreen(CurWord.WordRect2, R);
if CurWord.AnsiWord <> NAnchorChar then //JMN
aCanvas.TextOut(P.x, P.y, NoBreakToSpace(CurWord.AnsiWord));
aCanvas.TextRect(R, P.x, P.y, NoBreakToSpace(CurWord.AnsiWord));
{$IFDEF IP_LAZARUS}
restoreCanvasProperties;
{$ENDIF}