>>>>> On Sat, 12 Feb 2005 13:15:20 -0500, chad brown <[EMAIL PROTECTED]> 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
                                [EMAIL PROTECTED]

Attachment: diff-fullname.gz
Description: Binary data

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to