Prioritize the fontconfig font lister over the freetype one when both freetype and fontconfig are available

Originally committed to SVN as r4824.
This commit is contained in:
Thomas Goyne 2010-10-22 18:25:02 +00:00
parent 4af788be1a
commit 3174f995fa
1 changed files with 4 additions and 4 deletions

View File

@ -44,12 +44,12 @@
#include <wx/tokenzr.h>
#endif
#ifdef WITH_FREETYPE2
#include "font_file_lister_freetype.h"
#define FontListerClass FreetypeFontFileLister
#elif defined(WITH_FONTCONFIG)
#ifdef WITH_FONTCONFIG
#include "font_file_lister_fontconfig.h"
#define FontListerClass FontConfigFontFileLister
#elif defined(WITH_FREETYPE2)
#include "font_file_lister_freetype.h"
#define FontListerClass FreetypeFontFileLister
#else
#include "font_file_lister.h"
#endif