diff options
| author | Geoff Voelker | 1996-02-08 19:04:58 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1996-02-08 19:04:58 +0000 |
| commit | 9c35997bcbaced9aef89c62f429666dfa58747c3 (patch) | |
| tree | e63470beca414ac86a99d49781a059883d4a0008 /src | |
| parent | a259d3371ea63d0f7bad62c68a543bcfb6b79bd7 (diff) | |
| download | emacs-9c35997bcbaced9aef89c62f429666dfa58747c3.tar.gz emacs-9c35997bcbaced9aef89c62f429666dfa58747c3.zip | |
(FONT_WIDTH): Use average character width, not maximum.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32term.h b/src/w32term.h index a5301896541..3d027de1e8d 100644 --- a/src/w32term.h +++ b/src/w32term.h | |||
| @@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 28 | #define BLACK_PIX_DEFAULT(f) RGB(0,0,0) | 28 | #define BLACK_PIX_DEFAULT(f) RGB(0,0,0) |
| 29 | #define WHITE_PIX_DEFAULT(f) RGB(255,255,255) | 29 | #define WHITE_PIX_DEFAULT(f) RGB(255,255,255) |
| 30 | 30 | ||
| 31 | #define FONT_WIDTH(f) ((f)->tm.tmMaxCharWidth) | 31 | #define FONT_WIDTH(f) ((f)->tm.tmAveCharWidth) |
| 32 | #define FONT_HEIGHT(f) ((f)->tm.tmHeight) | 32 | #define FONT_HEIGHT(f) ((f)->tm.tmHeight) |
| 33 | #define FONT_BASE(f) ((f)->tm.tmAscent) | 33 | #define FONT_BASE(f) ((f)->tm.tmAscent) |
| 34 | 34 | ||