From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Kenichi Handa <handa@gnu.org>
Cc: 11484@debbugs.gnu.org
Subject: bug#11484: 23.4; Scrolling leaves traces of old text behind
Date: Mon, 22 Oct 2012 21:22:29 -0400 [thread overview]
Message-ID: <jwva9ve9e93.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87wqyiv94p.fsf@gnu.org> (Kenichi Handa's message of "Tue, 23 Oct 2012 00:06:46 +0900")
>> If someone knows how to get misc-fixed-semicondensed-13 using xft
>> (i.e. client-side fonts), I'm all ears.
> At first, enable bitmap font in fontconfig (on Ubuntu, this
> is done by deleting /etc/fonts/conf.d/70-no-bitmaps.conf).
Indeed, that worked, thanks (tho the performance wasn't noticeably
better).
> Then copy PCF files of misc-fixed-semicondensed-13 fonts to ~/.fonts.
I didn't need to do that for the font I use (running Debian, here).
> 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. 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?
Stefan
=== modified file 'src/frame.c'
--- src/frame.c 2012-10-20 21:30:51 +0000
+++ src/frame.c 2012-10-23 01:11:11 +0000
@@ -3242,7 +3242,7 @@
Lisp_Object ascii_font = fontset_ascii (fontset);
Lisp_Object spec = font_spec_from_name (ascii_font);
- if (! font_match_p (spec, font_object))
+ if (NILP (spec) || ! font_match_p (spec, font_object))
fontset = -1;
}
}
next prev parent reply other threads:[~2012-10-23 1:22 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 [this message]
2012-10-23 4:50 ` Kenichi Handa
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=jwva9ve9e93.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=11484@debbugs.gnu.org \
--cc=handa@gnu.org \
/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).