GNU bug report logs - #11484
23.4; Scrolling leaves traces of old text behind

Previous Next

Packages: ns, emacs;

Reported by: Frank Marcoline <fvmarcoline <at> gmail.com>

Date: Tue, 15 May 2012 22:13:02 UTC

Severity: normal

Found in version 23.4

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kenichi Handa <handa <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 11484 <at> debbugs.gnu.org, dancol <at> dancol.org
Subject: bug#11484: 23.4; Scrolling leaves traces of old text behind
Date: Tue, 23 Oct 2012 13:50:24 +0900
In article <jwva9ve9e93.fsf-monnier+emacs <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> > Now Emacs should be able to use those PCF fonts via XFT.

> It actually crashed with an assertion violation because a font `spec'
> was nil where a vector was expected.

It means font_spec_from_name failed, which means
font_parse_name failed.  But, I didn't get that crach.
Please find what font name is given to font_parse_name, and
why it fails with that name.

> I used the quick-fix below which
> appeared to work, but without knowing what it implies.  Can you take
> a look and help me figure out what the right fix should be?

I think the better way is to do something like this:

  if (NILP (spec))
    signal_error ("Invalid font name", ascii_font);

---
Kenichi Handa
handa <at> gnu.org




This bug report was last modified 12 years and 217 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.