forked from mia/Aegisub
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:
parent
4af788be1a
commit
3174f995fa
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue