Mercurial > emacs
diff src/w32term.h @ 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 | 58dcefea99de |
children | ba5202c8e467 |
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)