1 /* 2 * xtrojka (c) 1994,1995,1996 Maarten Los 3 * 4 * #include "COPYRIGHT" 5 * 6 * created: 31.xii.1995 7 * modified: 8 * 9 * Some macro's for easy font handling 10 */ 11 12 #ifndef _font_h_ 13 #define _font_h_ 14 15 /* 16 * this macro is useful for non-proportional fonts only!!! 17 */ 18 #define FontWidth(s) ((s)->max_bounds.rbearing - (s)->min_bounds.lbearing) 19 20 #define FontHeight(s) ((s)->max_bounds.ascent + (s)->max_bounds.descent) 21 22 #endif /* _font_h_ */ 23 24