emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/ftxfont.c,v
Date: Thu, 07 Feb 2008 01:14:22 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kenichi Handa <handa>   08/02/07 01:14:21

Index: ftxfont.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/ftxfont.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ftxfont.c   6 Feb 2008 11:53:49 -0000       1.4
+++ ftxfont.c   7 Feb 2008 01:14:21 -0000       1.5
@@ -351,6 +351,14 @@
        dpyinfo->smallest_char_width = font->min_width, fonts_changed_p |= 1;
     }
 
+  if (fonts_changed_p)
+    {
+      if (dpyinfo->smallest_font_height == 0)
+       dpyinfo->smallest_font_height = 1;
+      if (dpyinfo->smallest_char_width == 0)
+       dpyinfo->smallest_char_width = 1;
+    }
+
   return font;
 }
 




reply via email to

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