Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: emacs font problem
Date: Mon, 12 Jul 2010 16:12:22
Message-Id: yu9ocecsn2p.fsf@nyu.edu
In Reply to: [gentoo-user] Re: emacs font problem by Grant Edwards
1 Grant Edwards <grant.b.edwards@×××××.com> writes:
2
3 > On 2010-07-09, Allan Gottlieb <gottlieb@×××.edu> wrote:
4 >
5 >>>> Grant Edwards <grant.b.edwards@×××××.com> writes:
6 >>>>
7 >>>>> Recently emacs (running in X "window" mode) seems to have developed a
8 >>>>> font problem.
9 >>
10 >> Perhaps it is a font issue.
11 >
12 > Yes, I think it probably is.
13 >
14 >> I just did emacs -q (-Q eliminates the
15 >> splash screen) and then did C-u C-x = while the cursor was on the "b" in
16 >> "Learn basic keystroke commands". The help buffer includes
17 >> display: by this font (glyph code)
18 >> xft:-unknown-DejaVu Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1 (#x45)
19 >>
20 >> What does C-u C-x = give on your system
21 >
22 > character: b (98, #o142, #x62)
23 > preferred charset: ascii (ASCII (ISO646 IRV))
24 > code point: 0x62
25 > syntax: w which means: word
26 > category: .:Base, a:ASCII, l:Latin, r:Roman
27 > buffer code: #x62
28 > file code: #x62 (encoded by coding system nil)
29 > display: no font available
30 >
31 >> and do you have that font available?
32 >
33 > No, I don't seem to have Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1
34 > availble according to xfontsel.
35
36 Three points
37
38 1. Did you build emacs with xft support?
39
40 2. The name you give "Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1"
41 looks to be just the suffix did you mean something like
42 "-unknown-DejaVu Sans-normal...". You don't need to have DejaVu,
43 but I would advise getting either DejaVu or bitstream vera.
44
45 3. Your output and mine differ in one point (before the font issue)
46 You have "coding system nil".
47 I have "coding system utf-8-unix". Unfortunately I know very little
48 about coding systems but do wonder why ours are different since we
49 both did emacs -q. Unfortunately if we do emacs -Q to eliminate
50 some system customization, there is no splash screen. The
51 description of UTF-8 says it is for unicode. Perhaps your nil
52 coding system has trouble with unicode, but I am afraid this has
53 gotten outside my expertise.
54
55 sorry for not being more helpful.
56 allan

Replies

Subject Author
[gentoo-user] Re: emacs font problem Grant Edwards <grant.b.edwards@×××××.com>
[gentoo-user] Re: emacs font problem Grant Edwards <grant.b.edwards@×××××.com>