changeset 33036:9fa317523a69

(FONT_DESCENT): Negate descent for BDF fonts
author Jason Rumney <jasonr@gnu.org>
date Sun, 29 Oct 2000 20:57:31 +0000
parents 6f816ff2979a
children 365605845e33
files src/w32term.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.h	Sun Oct 29 18:31:43 2000 +0000
+++ b/src/w32term.h	Sun Oct 29 20:57:31 2000 +0000
@@ -35,7 +35,7 @@
 #define FONT_BASE(f)        \
   ((f)->bdf ? (f)->bdf->ury : (f)->tm.tmAscent)
 #define FONT_DESCENT(f)     \
-  ((f)->bdf ? (f)->bdf->lly : (f)->tm.tmDescent)
+  ((f)->bdf ? -((f)->bdf->lly) : (f)->tm.tmDescent)
 #define FONT_MAX_WIDTH(f)   \
   ((f)->bdf ? (f)->bdf->width : (f)->tm.tmMaxCharWidth)