ZynAddSubFX/FLTK: added legacy code if Xft support is disabled

Do not fail when libxft2-dev or similiar is not installed.
This commit is contained in:
Tobias Doerffel
2009-04-14 16:46:16 +02:00
parent e08464124d
commit f16cf90e14

View File

@@ -90,7 +90,11 @@ Fl_Fontdesc* fl_fonts = built_in_table;
int fl_font_ = 0;
int fl_size_ = 0;
#ifdef USE_XFT
Fl_XFont_On_Demand fl_xfont;
else
FL_EXPORT XFontStruct* fl_xfont;
#endif
void *fl_xftfont = 0;
const char* fl_encoding_ = "iso8859-1";
Fl_FontSize* fl_fontsize = 0;