diff options
| author | Kenichi Handa | 2004-12-30 12:23:24 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-12-30 12:23:24 +0000 |
| commit | c7731805555490291410ab6c15ce2e05a3ea9c35 (patch) | |
| tree | 55df832a6121bb7f202bcd71343d5808b1a66261 /src | |
| parent | 9e559f9bda85798bffcca41d66d77df579af90af (diff) | |
| download | emacs-c7731805555490291410ab6c15ce2e05a3ea9c35.tar.gz emacs-c7731805555490291410ab6c15ce2e05a3ea9c35.zip | |
(struct font_info): New members space_width and
average_width.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fontset.h | 6 |
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 | |||
| 56 | (font->ascent + font->descent). */ | 56 | (font->ascent + font->descent). */ |
| 57 | int height; | 57 | int height; |
| 58 | 58 | ||
| 59 | /* Width of the space glyph of the font. */ | ||
| 60 | int space_width; | ||
| 61 | |||
| 62 | /* Average width of glyphs in the font. */ | ||
| 63 | int average_width; | ||
| 64 | |||
| 59 | /* 1 iff `vertical-centering-font-regexp' matches this font name. | 65 | /* 1 iff `vertical-centering-font-regexp' matches this font name. |
| 60 | In this case, we render characters at vartical center positions | 66 | In this case, we render characters at vartical center positions |
| 61 | of lines. */ | 67 | of lines. */ |