]> git.eshelyaron.com Git - emacs.git/commitdiff
(struct font_info): New members space_width and
authorKenichi Handa <handa@m17n.org>
Thu, 30 Dec 2004 12:23:24 +0000 (12:23 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 30 Dec 2004 12:23:24 +0000 (12:23 +0000)
average_width.

src/fontset.h

index 36367becb3dfb6b13f61c00a3a424f3706373728..c0f0f2d22e40a4c067cd3cc5bbc828864632e5c7 100644 (file)
@@ -56,6 +56,12 @@ struct font_info
      (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.  */