diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-12-20 18:02:34 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-12-20 18:02:34 +0000 |
commit | 4b994d3a8f8072111a96a2ba1768cc3ea9e69d2f (patch) | |
tree | 6022a2ada28a947b09bc8852bbc9860df8cc0ff5 /src/corelib/render | |
parent | e7e1c36ff33919d4f939ad8588537bfbe52a7ef4 (diff) | |
download | fpGUI-4b994d3a8f8072111a96a2ba1768cc3ea9e69d2f.tar.xz |
agg: comments about the difference between FreeType and Win32 font engine.
Diffstat (limited to 'src/corelib/render')
-rw-r--r-- | src/corelib/render/software/Agg2D.pas | 17 |
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 , |