changeset 90411:508480e70e4a

(struct frame): New members resx and resy. (struct frame) [USE_FONT_BACKEND]: New member font_driver_list. (x_new_fontset2) [USE_FONT_BACKEND]: Extern it.
author Kenichi Handa <handa@m17n.org>
date Tue, 06 Jun 2006 03:51:57 +0000
parents 55a58b0d3d9e
children 6dcadac04bea
files src/frame.h
diffstat 1 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.h	Tue Jun 06 03:51:41 2006 +0000
+++ b/src/frame.h	Tue Jun 06 03:51:57 2006 +0000
@@ -93,6 +93,10 @@
 
 #endif /* ! MSDOS && ! WINDOWSNT && ! MAC_OS */
 
+#ifdef USE_FONT_BACKEND
+struct font_driver_list;
+#endif	/* USE_FONT_BACKEND */
+
 struct frame
 {
   EMACS_INT size;
@@ -256,6 +260,9 @@
   /* Size of the frame window in pixels.  */
   int pixel_height, pixel_width;
 
+  /* Dots per inch of the screen the frame is on.  */
+  double resx, resy;
+
   /* These many pixels are the difference between the outer window (i.e. the
      left and top of the window manager decoration) and FRAME_X_WINDOW. */
   int x_pixels_diff, y_pixels_diff;
@@ -301,6 +308,11 @@
   }
   output_data;
 
+#ifdef USE_FONT_BACKEND
+  /* List of font-drivers available on the frame. */
+  struct font_driver_list *font_driver_list;
+#endif	/* USE_FONT_BACKEND */
+
   /* Total width of fringes reserved for drawing truncation bitmaps,
      continuation bitmaps and alike.  The width is in canonical char
      units of the frame.  This must currently be the case because window
@@ -1051,7 +1063,9 @@
 
 extern Lisp_Object x_new_font P_ ((struct frame *, char *));
 extern Lisp_Object x_new_fontset P_ ((struct frame *, Lisp_Object));
-
+#ifdef USE_FONT_BACKEND
+extern Lisp_Object x_new_fontset2 P_ ((struct frame *, Lisp_Object));
+#endif	/* USE_FONT_BACKEND */
 
 /* These are in frame.c  */