emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Segmentation fault using font '7x13bold'


From: Richard Stallman
Subject: Re: Segmentation fault using font '7x13bold'
Date: Sat, 20 May 2006 20:56:20 -0400

Does the recent patch in xfaces.c fix it?



                                     YAMAMOTO Mitsuharu
                                address@hidden

Index: src/xfaces.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xfaces.c,v
retrieving revision 1.347
diff -c -r1.347 xfaces.c
*** src/xfaces.c        17 May 2006 22:51:07 -0000      1.347
--- src/xfaces.c        20 May 2006 03:38:09 -0000
***************
*** 6636,6642 ****
    best = NULL;
  
    /* Find the best match among the non-scalable fonts.  */
!   for (i = 1; i < nfonts; ++i)
      if (!font_scalable_p (fonts + i)
        && better_font_p (specified, fonts + i, best, 1, avgwidth))
        {
--- 6636,6642 ----
    best = NULL;
  
    /* Find the best match among the non-scalable fonts.  */
!   for (i = 0; i < nfonts; ++i)
      if (!font_scalable_p (fonts + i)
        && better_font_p (specified, fonts + i, best, 1, avgwidth))
        {





reply via email to

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