/* name: stk_font.h info: stk font handling objects and routines - header file author: Dusan Halicky (dvh.tosomja@post.sk) licence: GNU GPL history: 2005-09-27 - start of developement todo: - finish and release this bugs: - */ #ifndef STK_FONT_H #define STK_FONT_H #define STK_FONT_DEFAULT "-*-*-medium-r-normal-*-13-*-*-*-*-*-*-*" #define STK_FONT_BOLD "-*-*-bold-r-normal-*-13-*-*-*-*-*-*-*" #define STK_FONT_ITALIC "-*-*-medium-i-normal-*-13-*-*-*-*-*-*-*" extern XFontStruct *stkfont; // font structure extern int stkfont_cor; // baseline correction void stk_font_init(void); void stk_font_done(void); void stk_font_clip_rect(XFontStruct *font_struct, char *string, int *w, int *h, bool decode = false); XFontStruct *stk_font_load(char *name); #endif // STK_FONT_H