summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2004-12-30 12:23:24 +0000
committerKenichi Handa <handa@m17n.org>2004-12-30 12:23:24 +0000
commitc7731805555490291410ab6c15ce2e05a3ea9c35 (patch)
tree55df832a6121bb7f202bcd71343d5808b1a66261
parent9e559f9bda85798bffcca41d66d77df579af90af (diff)
downloademacs-c7731805555490291410ab6c15ce2e05a3ea9c35.tar.gz
(struct font_info): New members space_width and
average_width.
-rw-r--r--src/fontset.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fontset.h b/src/fontset.h
index 36367becb3d..c0f0f2d22e4 100644
--- a/src/fontset.h
+++ b/src/fontset.h
@@ -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. */