emacs-devel
[Top][All Lists]
Advanced

[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

Attachment: diff-fullname.gz
Description: Binary data


reply via email to

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