#ifndef FL_FONT_
#define FL_FONT_
#include <config.h>
#if USE_XFT
typedef struct _XftFont XftFont;
#else
# include "../../Xutf8.h"
#endif
class Fl_Xlib_Font_Descriptor : public Fl_Font_Descriptor {
public:
# if USE_XFT
# if USE_PANGO
int descent_;
int height_;
int **width;
# else
XftFont* font;
# endif
int angle;
FL_EXPORT Fl_Xlib_Font_Descriptor(const char* xfontname, Fl_Fontsize size, int angle);
# else
XUtf8FontStruct* font; FL_EXPORT Fl_Xlib_Font_Descriptor(const char* xfontname);
# if HAVE_GL
char glok[64];
# endif # endif virtual FL_EXPORT ~Fl_Xlib_Font_Descriptor();
};
#if !USE_XFT
struct Fl_Xlib_Fontdesc { const char *name;
char fontname[128]; Fl_Font_Descriptor *first; char **xlist; int n; };
#endif
extern FL_EXPORT Fl_Fontdesc *fl_fonts;
#endif