From 2458fb383625e2fdd8362111804da0a53b56c648 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Tue, 9 Mar 2010 11:01:31 +0200 Subject: When debugging with GDB these lines sometimes gives FPC AnsiString errors. No idea why!! So we comment them simply because they are debug lines to start with. --- docview/components/richtext/CanvasFontManager.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docview') diff --git a/docview/components/richtext/CanvasFontManager.pas b/docview/components/richtext/CanvasFontManager.pas index c182ba91..de81570d 100644 --- a/docview/components/richtext/CanvasFontManager.pas +++ b/docview/components/richtext/CanvasFontManager.pas @@ -873,8 +873,8 @@ function TCanvasFontManager.GetFont( const FontSpec: TFontSpec ): TLogicalFont; if AFont.Attributes = FontSpec.Attributes then begin // search name last since it's the slowest thing -ProfileEvent(' AFont.UseFaceName=' + AFont.UseFaceName); -ProfileEvent(' FontSpec.FaceName=' + FontSpec.FaceName); +//ProfileEvent(' AFont.UseFaceName=' + AFont.UseFaceName); +//ProfileEvent(' FontSpec.FaceName=' + FontSpec.FaceName); if AFont.FaceName = FontSpec.FaceName then begin // Found a logical font already created -- cgit v1.2.3-54-g00ecf