From 4b994d3a8f8072111a96a2ba1768cc3ea9e69d2f Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 20 Dec 2012 18:02:34 +0000 Subject: agg: comments about the difference between FreeType and Win32 font engine. --- src/corelib/render/software/Agg2D.pas | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src/corelib/render') diff --git a/src/corelib/render/software/Agg2D.pas b/src/corelib/render/software/Agg2D.pas index 3c4ea0da..79940cbd 100644 --- a/src/corelib/render/software/Agg2D.pas +++ b/src/corelib/render/software/Agg2D.pas @@ -23,8 +23,21 @@ interface {$I agg_mode.inc } -// With this define you can switch use of FreeType or Win32 TrueType font engine -{off DEFINE AGG2D_USE_FREETYPE } +{ With this define you can switch use of FreeType or Win32 TrueType font + engine. + + NOTE: + The FreeType font engine is recommended, even under Windows - simply + because it has more functionality and generates better looking text. If + enabled under Windows, your application will require the freetype.dll + though. The freetype.dll is included in the fpGUI repository for your + convenience. } + +{.$DEFINE AGG2D_USE_FREETYPE } + +{$IFDEF AGG2D_USE_FREETYPE} + {$UNDEF AGG2D_USE_WINFONTS} +{$ENDIF} uses agg_basics , -- cgit v1.2.3-70-g09d2