1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00

(FONT_DESCENT): Negate descent for BDF fonts

This commit is contained in:
Jason Rumney 2000-10-29 20:57:31 +00:00
parent 15b526b21e
commit 905dfb8ebd

View 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)