Use freetype font backend on !WIN32

This commit is contained in:
riccardom 2009-07-11 18:46:36 +00:00
parent 3307f91dcf
commit 4ccb09d36d
1 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,7 @@
// With this define uncommented you can use FreeType font engine
#ifdef UNDER_CE
#if defined(UNDER_CE) || not defined(WIN32)
#define AGG2D_USE_FREETYPE
#endif
@ -59,7 +59,11 @@
#include "agg_font_cache_manager.h"
#ifdef AGG2D_USE_FREETYPE
#ifndef WIN32
#include "agg_font_freetype.h"
#else
#include "../font_freetype/agg_font_freetype.h"
#endif
#else
#include "../font_win32_tt/agg_font_win32_tt.h"
#endif