bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#1990: 23.0.60; Emacs trying too hard to find fonts that don't exist


From: Jason Rumney
Subject: bug#1990: 23.0.60; Emacs trying too hard to find fonts that don't exist
Date: Fri, 23 Jan 2009 22:00:51 +0800
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Chong Yidong wrote:
At the end of fontset_font (fontset.c:699), there is the following code:

  /* Remeber that we have no font for C.  */
  FONTSET_SET (fontset, make_number (c), Qt);

  return Qnil;

However, there are several other places in that function that return
with a Qnil, without doing this FONTSET_SET.  Do matters improve if we
do the same FONTSET_SET call before returning?

It doesn't seem to help much, if at all.

Looking at those other locations, nil is only returned when some other function returns t, indicating that it already remembers that we have no font.







reply via email to

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