From 7bf96a9123a9f6b29a4c6168f7391db72f374f8a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 31 Oct 2002 08:42:45 +0000 Subject: compiles now. uses xft2 remove the nls remainders --- src/font.hh | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'src/font.hh') diff --git a/src/font.hh b/src/font.hh index f28a0ac5..00c8f50e 100644 --- a/src/font.hh +++ b/src/font.hh @@ -27,9 +27,7 @@ extern "C" { #include -#ifdef XFT -# include -#endif +#include } #include @@ -69,7 +67,6 @@ private: bool _bold; bool _italic; -#ifdef XFT bool _antialias; bool _shadow; unsigned char _offset; @@ -78,31 +75,14 @@ private: XftFont *_xftfont; bool createXftFont(void); -#endif - - // standard - XFontStruct *_font; - // multibyte - XFontSet _fontset; - XFontSetExtents *_fontset_extents; - - std::string buildXlfd(void) const; - std::string buildMultibyteXlfd(void) const; - - bool createXFont(const std::string &xlfd); - bool parseXlfd(const std::string &xlfd); bool _valid; public: -#ifdef XFT // loads an Xft font BFont(Display *d, BScreen *screen, const std::string &family, int size, bool bold, bool italic, bool shadow, unsigned char offset, unsigned char tint, bool antialias = True); -#endif - // loads a standard X font - BFont(Display *d, BScreen *screen, const std::string &xlfd); virtual ~BFont(void); inline bool valid(void) const { return _valid; } -- cgit v1.2.3