unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 11484@debbugs.gnu.org
Subject: bug#11484: 23.4; Scrolling leaves traces of old text behind
Date: Tue, 23 Oct 2012 13:50:24 +0900	[thread overview]
Message-ID: <87txtlvlkf.fsf@gnu.org> (raw)
In-Reply-To: <jwva9ve9e93.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Mon, 22 Oct 2012 21:22:29 -0400)

In article <jwva9ve9e93.fsf-monnier+emacs@gnu.org>, Stefan Monnier <monnier@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@gnu.org





  reply	other threads:[~2012-10-23  4:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15 22:02 bug#11484: 23.4; Scrolling leaves traces of old text behind Frank Marcoline
2012-10-21 19:07 ` Jan Djärv
2012-10-21 19:56   ` Eli Zaretskii
2012-10-22  5:07     ` Jan Djärv
2012-10-22  5:11       ` Daniel Colascione
2012-10-22 13:19         ` Stefan Monnier
2012-10-22 15:06           ` Kenichi Handa
2012-10-23  1:22             ` Stefan Monnier
2012-10-23  4:50               ` Kenichi Handa [this message]
2012-10-23 12:59                 ` Stefan Monnier
2012-10-22 17:27         ` Achim Gratz
2012-10-22 17:33         ` Eli Zaretskii
2012-10-22 17:29       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txtlvlkf.fsf@gnu.org \
    --to=handa@gnu.org \
    --cc=11484@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).