(FONT_DESCENT): Negate descent for BDF fonts
authorJason Rumney <jasonr@gnu.org>
Sun, 29 Oct 2000 20:57:31 +0000 (20:57 +0000)
committerJason Rumney <jasonr@gnu.org>
Sun, 29 Oct 2000 20:57:31 +0000 (20:57 +0000)
src/w32term.h

index e642025..f0292d2 100644 (file)
@@ -35,7 +35,7 @@ Boston, MA 02111-1307, USA.  */
 #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)