From: Geoff Voelker Date: Thu, 8 Feb 1996 19:04:58 +0000 (+0000) Subject: (FONT_WIDTH): Use average character width, not maximum. X-Git-Tag: emacs-19.34~1339 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9c35997bcbaced9aef89c62f429666dfa58747c3;p=emacs.git (FONT_WIDTH): Use average character width, not maximum. --- 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. */ #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)