# HG changeset patch # User Kenichi Handa # Date 1150459879 0 # Node ID 81011b9fc603b78cb1f3e6719d76bdfe0ec55f06 # Parent 60db44f4be6a6c28bcc08abae3da5c26d2a244d2 (struct x_output): New member fontp. (FRAME_FONT_OBJECT): New macro. diff -r 60db44f4be6a -r 81011b9fc603 src/xterm.h --- a/src/xterm.h Fri Jun 16 12:11:10 2006 +0000 +++ b/src/xterm.h Fri Jun 16 12:11:19 2006 +0000 @@ -515,6 +515,10 @@ /* Default ASCII font of this frame. */ XFontStruct *font; +#ifdef USE_FONT_BACKEND + struct font *fontp; +#endif /* USE_FONT_BACKEND */ + /* The baseline offset of the default ASCII font. */ int baseline_offset; @@ -704,6 +708,10 @@ #define FRAME_TOOLBAR_HEIGHT(f) ((f)->output_data.x->toolbar_height) #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.x->baseline_offset) +#ifdef USE_FONT_BACKEND +#define FRAME_FONT_OBJECT(f) ((f)->output_data.x->fontp) +#endif /* USE_FONT_BACKEND */ + /* This gives the x_display_info structure for the display F is on. */ #define FRAME_X_DISPLAY_INFO(f) ((f)->output_data.x->display_info)