emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/w32font.h,v


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/src/w32font.h,v
Date: Thu, 26 Jun 2008 22:11:27 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   08/06/26 22:11:26

Index: w32font.h
===================================================================
RCS file: /sources/emacs/emacs/src/w32font.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- w32font.h   26 Jun 2008 10:48:28 -0000      1.10
+++ w32font.h   26 Jun 2008 22:11:25 -0000      1.11
@@ -56,6 +56,10 @@
   HFONT hfont;
 };
 
+/* Macros for getting OS specific information from a font struct.  */
+#define FONT_HANDLE(f) (((struct w32font_info *)(f))->hfont)
+#define FONT_TEXTMETRIC(f) (((struct w32font_info *)(f))->metrics)
+
 #define CACHE_BLOCKSIZE 128
 
 Lisp_Object w32font_get_cache P_ ((FRAME_PTR fe));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]