changeset 90866:109057569e6e

(w32_output_data) [USE_FONT_BACKEND]: Add fontp member. (FRAME_FONT_OBJECT) [USE_FONT_BACKEND]: New macro from xterm.h.
author Jason Rumney <jasonr@gnu.org>
date Thu, 31 May 2007 00:52:52 +0000
parents 6d2559699bd0
children 129b35b0274f
files src/w32term.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.h	Thu May 31 00:48:07 2007 +0000
+++ b/src/w32term.h	Thu May 31 00:52:52 2007 +0000
@@ -324,6 +324,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;
 
@@ -413,6 +417,10 @@
 #define FRAME_FONTSET(f) ((f)->output_data.w32->fontset)
 #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.w32->baseline_offset)
 
+#ifdef USE_FONT_BACKEND
+#define FRAME_FONT_OBJECT(f) ((f)->output_data.w32->fontp)
+#endif	/* USE_FONT_BACKEND */
+
 /* This gives the w32_display_info structure for the display F is on.  */
 #define FRAME_W32_DISPLAY_INFO(f) (&one_w32_display_info)
 #define FRAME_X_DISPLAY_INFO(f) (&one_w32_display_info)