changeset 32792:f2ad0856e45c

(VCENTER_BASELINE_OFFSET): Bias division (see xterm.c comment below).
author Jason Rumney <jasonr@gnu.org>
date Mon, 23 Oct 2000 22:13:25 +0000
parents 43fa65d08292
children ec1b8e12011d
files src/w32term.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Mon Oct 23 22:11:51 2000 +0000
+++ b/src/w32term.c	Mon Oct 23 22:13:25 2000 +0000
@@ -1915,7 +1915,7 @@
 
 #define VCENTER_BASELINE_OFFSET(FONT, F)			\
  (FONT_DESCENT (FONT)						\
-  + (FRAME_LINE_HEIGHT ((F)) - FONT_HEIGHT ((FONT))) / 2	\
+  + (FRAME_LINE_HEIGHT ((F)) + 1 - FONT_HEIGHT ((FONT))) / 2	\
   - (FONT_DESCENT (FRAME_FONT (F)) - FRAME_BASELINE_OFFSET (F)))
 
 /* Produce glyphs/get display metrics for the display element IT is