summaryrefslogtreecommitdiff
path: root/src/w32term.h
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2000-10-29 20:57:31 +0000
committerJason Rumney <jasonr@gnu.org>2000-10-29 20:57:31 +0000
commit905dfb8ebd07c8c5ea03212ce3abf59e80db5554 (patch)
tree3e5fef4efa9f595474c3d9dc943c2636e2a2cc48 /src/w32term.h
parent15b526b21e0a6ae90ed810d5a8a991143b29bade (diff)
downloademacs-905dfb8ebd07c8c5ea03212ce3abf59e80db5554.tar.gz
(FONT_DESCENT): Negate descent for BDF fonts
Diffstat (limited to 'src/w32term.h')
-rw-r--r--src/w32term.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32term.h b/src/w32term.h
index e64202549f7..f0292d28d94 100644
--- a/src/w32term.h
+++ b/src/w32term.h
@@ -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)