[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs carbon crash, and beginner question...
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: Emacs carbon crash, and beginner question... |
Date: |
Fri, 25 Feb 2005 17:25:14 +0900 |
User-agent: |
Wanderlust/2.12.2 (99 Luftballons) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Sat, 12 Feb 2005 13:15:20 -0500, chad brown <address@hidden> said:
> At the moment, I do not have time to debug the issue, but as of a
> few days ago, the following will crash emacs:
> (set-default-font "-apple-tahoma-medium-r-normal--0-0-75-75-m-0-mac-roman")
It crashes at the following xassert in set_lface_from_font_name:
if (have_xlfd_p)
pt = xlfd_point_size (f, &font);
else
pt = pixel_point_size (f, font_info->height * 10);
xassert (pt > 0);
In Carbon Emacs, the value of `pt' possibly becomes 0 because the
`full_name' field in `struct font_info' may not be fully instantiated
and it may contain 0 in the XLFD pixel size field. Please try the
attached patch.
YAMAMOTO Mitsuharu
address@hidden
diff-fullname.gz
Description: Binary data
- Emacs carbon crash, and beginner question..., Martin Fredriksson, 2005/02/11
- Re: Emacs carbon crash, and beginner question..., David Kastrup, 2005/02/11
- Re: Emacs carbon crash, and beginner question..., Martin Fredriksson, 2005/02/11
- Message not available
- Re: Emacs carbon crash, and beginner question..., Martin Fredriksson, 2005/02/11
- Re: Emacs carbon crash, and beginner question..., Kim F. Storm, 2005/02/12
- Re: Emacs carbon crash, and beginner question..., chad brown, 2005/02/12
- Re: Emacs carbon crash, and beginner question...,
YAMAMOTO Mitsuharu <=
- Re: Emacs carbon crash, and beginner question..., Martin Fredriksson, 2005/02/13
Re: Emacs carbon crash, and beginner question..., Sébastien Kirche, 2005/02/14