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

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

bug#3659: FW: 23.0.95; crash on set-frame-font


From: Chong Yidong
Subject: bug#3659: FW: 23.0.95; crash on set-frame-font
Date: Mon, 27 Jul 2009 13:02:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (gnu/linux)

Also, could you check if this has any effect?  Thanks.

*** emacs/src/xfont.c.~1.30.~   2009-05-21 12:36:30.000000000 -0400
--- emacs/src/xfont.c   2009-07-27 13:01:10.000000000 -0400
***************
*** 411,417 ****
            continue;
          entity = font_make_entity ();
          xfont_decode_coding_xlfd (indices[i], -1, buf);
!         font_parse_xlfd (buf, entity);
          ASET (entity, FONT_TYPE_INDEX, Qx);
          /* Avoid auto-scaled fonts.  */
          if (XINT (AREF (entity, FONT_DPI_INDEX)) != 0
--- 411,418 ----
            continue;
          entity = font_make_entity ();
          xfont_decode_coding_xlfd (indices[i], -1, buf);
!         if (font_parse_xlfd (buf, entity) < 0)
!           continue;
          ASET (entity, FONT_TYPE_INDEX, Qx);
          /* Avoid auto-scaled fonts.  */
          if (XINT (AREF (entity, FONT_DPI_INDEX)) != 0





reply via email to

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