Subject: Re: bug#5396: Something in splash page causes Emacs to crash?

From: Kenichi Handa <[email-masked]>
Date: Fri, 29 Jan 2010 15:33:34 +0900

In article <[email-masked]>, Joseph Tam <[email-masked]> writes:

>  	(gdb) up
>  	#2  0x003470d4 in xfont_list_pattern (display=0x958020, pattern=0xffbfc938 "-adobe-helvetica-*-*-*-*-*-*-*-*-*-*-iso8859-1",
>  	    registry=542395320, script=542121656) at xfont.c:414
>  	414               if (font_parse_xlfd (buf, entity) < 0)

>  	(gdb) p buf
>  	$1 = "-adobe-helvetica-medium-r-normal-x-x-x-12-120-p-67-iso8859-1\0009-1\0006.\330\000\000\000\005\000\313l\210\000\000\000m\000f\324(\000\313l\210", '\0' <repeats 17 times>, "6.\370", '\0' <repeats 17 times>, "6.\240\000\000\000\002\000\306\030\230", '\0' <repeats 16 times>, "\377\277\311f\377\277\307\354", '\0' <repeats 23 times>, "\001", '\0' <repeats 11 times>, "\001\000\000\000\000\377\277\307\350\000\000\000\001", '\0' <repeats 16 times>, "\377\277\307\210\000\000\000\003`_@\370 P\036\350"...

Ah!  Very strange XLFD font name; PIXEL_SIZE="x",
POINT_SIZE="x", RESX="12", RESY="120"!  Perhaps Emacs should
just ignore such a font.  Which font is actually opened when
you do:
% xfd -fn -adobe-helvetica-medium-r-normal-x-x-x-12-120-p-67-iso8859-1

---
Kenichi Handa
[email-masked]