Mercurial > emacs
diff src/w32term.h @ 14521:4ffaeb5318c0
(FONT_WIDTH): Use average character width, not maximum.
| author | Geoff Voelker <voelker@cs.washington.edu> |
|---|---|
| date | Thu, 08 Feb 1996 19:04:58 +0000 |
| parents | d0d8d9d73f7f |
| children | fb9e2125fc2e |
line wrap: on
line diff
--- a/src/w32term.h Thu Feb 08 17:49:24 1996 +0000 +++ b/src/w32term.h Thu Feb 08 19:04:58 1996 +0000 @@ -28,7 +28,7 @@ #define BLACK_PIX_DEFAULT(f) RGB(0,0,0) #define WHITE_PIX_DEFAULT(f) RGB(255,255,255) -#define FONT_WIDTH(f) ((f)->tm.tmMaxCharWidth) +#define FONT_WIDTH(f) ((f)->tm.tmAveCharWidth) #define FONT_HEIGHT(f) ((f)->tm.tmHeight) #define FONT_BASE(f) ((f)->tm.tmAscent)
