]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_output_data) [USE_FONT_BACKEND]: Add fontp member.
authorJason Rumney <jasonr@gnu.org>
Thu, 31 May 2007 00:52:52 +0000 (00:52 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 31 May 2007 00:52:52 +0000 (00:52 +0000)
(FRAME_FONT_OBJECT) [USE_FONT_BACKEND]: New macro from xterm.h.

src/w32term.h

index 6a3f7267e25de7abaebb0f4c50ac51a4ac790a50..52b6d9c9427776ece5dbc2aef4934f7764b129c7 100644 (file)
@@ -324,6 +324,10 @@ struct w32_output
   /* 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 @@ extern struct w32_output w32term_display;
 #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)