summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/render/software/Agg2D.pas17
1 files changed, 15 insertions, 2 deletions
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 ,