[Top][All Lists]

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

Re: `raise' display property

From: Stefan Monnier
Subject: Re: `raise' display property
Date: Sat, 14 Jun 2008 15:31:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> Let's say I have a LaTeX file foo.tex which just contains:

>> $to^to$

>> Emacs crashes if I open it with "emacs -Q ~/tmp/foo.tex".
>> The crash happens when handling the `raise' display property added by
>> font-lock in response to the ^.
>> The segfault is in xdisp.c around line 4173:

>> value = XCAR (XCDR (spec));
>> if (NUMBERP (value))
>> {
>> struct face *face = FACE_FROM_ID (it->f, it->face_id);
it-> voffset = - (XFLOATINT (value)
>> * (FONT_HEIGHT (face->font)));
>> }
>> #endif /* HAVE_WINDOW_SYSTEM */

>> where face->font is NULL.

> This part of code surely has to check face->font before
> calling FONT_HEIGHT, but it's strange that Emacs couldn't
> find a font for `t with `superscript' face.

> Please show me the result of M-x font-show-log RET?

I haven't been able to reproduce it with the machines I have here.
Maybe it got fixed since,


reply via email to

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