# HG changeset patch # User Jason Rumney # Date 972853051 0 # Node ID 9fa317523a690d31d283f3ee13923dad0c00f8ab # Parent 6f816ff2979ada07bfd659da91d5b9faf4741c45 (FONT_DESCENT): Negate descent for BDF fonts diff -r 6f816ff2979a -r 9fa317523a69 src/w32term.h --- 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)