#pragma interface
#endif
-
-#include FORMS_H_LOCATION
+#include <X11/Xlib.h>
#include "lyxfont.h"
#include "LString.h"
else
return doLoad(family, series, shape, size);
};
+ /// Do we have anything matching?
+ bool available(LyXFont const & f);
+
private:
/// Array of font structs
- XFontStruct * fontstruct[4][2][4][10];
+ XFontStruct * fontstruct[LyXFont::NUM_FAMILIES][2][4][10];
/// Array of font infos
- FontInfo * fontinfo[4][2][4];
+ FontInfo * fontinfo[LyXFont::NUM_FAMILIES][2][4];
/// Reset font handler
void reset();