# HG changeset patch # User Geoff Voelker # Date 823806298 0 # Node ID 4ffaeb5318c0e4173066aa339e2b3be97a920e87 # Parent e46b1e676418d406fb6334ea642fb4bb9107c4c0 (FONT_WIDTH): Use average character width, not maximum. diff -r e46b1e676418 -r 4ffaeb5318c0 src/w32term.h --- 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)