From f1a087f9ed783c6159ec96c9e1c64d6e4d0f9512 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Fri, 6 Aug 2010 17:05:28 +0200 Subject: docview: We don't have Line.MaxDescender set, so no need to use it. --- docview/components/richtext/RichTextDisplayUnit.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docview/components/richtext/RichTextDisplayUnit.pas b/docview/components/richtext/RichTextDisplayUnit.pas index 4c0b5dde..fb3a2609 100644 --- a/docview/components/richtext/RichTextDisplayUnit.pas +++ b/docview/components/richtext/RichTextDisplayUnit.pas @@ -178,7 +178,7 @@ ProfileEvent('DEBUG: DrawRichTextLine >>>'); TextBlockStart := P; - Y := Start.Y + Line.MaxDescender; // co-ordinates are from top/left, so do we need descender? [Graeme] + Y := Start.Y; // + Line.MaxDescender; // co-ordinates are from top/left, so do we need descender? [Graeme] while P < EndP do begin -- cgit v1.2.3-70-g09d2