HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
15b526b
)
(FONT_DESCENT): Negate descent for BDF fonts
author
Jason Rumney
<jasonr@gnu.org>
Sun, 29 Oct 2000 20:57:31 +0000
(20:57 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sun, 29 Oct 2000 20:57:31 +0000
(20:57 +0000)
src/w32term.h
patch
|
blob
|
blame
|
history
diff --git
a/src/w32term.h
b/src/w32term.h
index
e642025
..
f0292d2
100644
(file)
--- 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)