changeset 59202:6909d89d7c99

(struct font_info): New members space_width and average_width.
author Kenichi Handa <handa@m17n.org>
date Thu, 30 Dec 2004 12:23:24 +0000
parents ef3cdb46c44c
children 3573aee81cc8
files src/fontset.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontset.h	Thu Dec 30 03:01:28 2004 +0000
+++ b/src/fontset.h	Thu Dec 30 12:23:24 2004 +0000
@@ -56,6 +56,12 @@
      (font->ascent + font->descent).  */
   int height;
 
+  /* Width of the space glyph of the font.  */
+  int space_width;
+
+  /* Average width of glyphs in the font.  */
+  int average_width;
+
   /* 1 iff `vertical-centering-font-regexp' matches this font name.
      In this case, we render characters at vartical center positions
      of lines.  */