changeset 90459:81011b9fc603

(struct x_output): New member fontp. (FRAME_FONT_OBJECT): New macro.
author Kenichi Handa <handa@m17n.org>
date Fri, 16 Jun 2006 12:11:19 +0000
parents 60db44f4be6a
children 86449661f321
files src/xterm.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)