emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/w32font.c,v


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/src/w32font.c,v
Date: Mon, 14 Apr 2008 16:14:52 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   08/04/14 16:14:52

Index: w32font.c
===================================================================
RCS file: /sources/emacs/emacs/src/w32font.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- w32font.c   8 Apr 2008 13:52:21 -0000       1.21
+++ w32font.c   14 Apr 2008 16:14:52 -0000      1.22
@@ -877,6 +877,11 @@
   font->descent = w32_font->metrics.tmDescent;
   font->scalable = w32_font->metrics.tmPitchAndFamily & TMPF_VECTOR;
 
+  /* max_descent is used for underlining in w32term.c.  Hopefully this
+     is temporary, as we'll want to get rid of the old compatibility
+     stuff later.  */
+  compat_w32_font->max_bounds.descent = font->descent;
+
   /* Set global flag fonts_changed_p to non-zero if the font loaded
      has a character with a smaller width than any other character
      before, or if the font loaded has a smaller height than any other




reply via email to

[Prev in Thread] Current Thread [Next in Thread]