Grant Edwards <[email protected]> writes:
> On 2010-07-09, Allan Gottlieb <[email protected]> wrote:
>
>>>> Grant Edwards <[email protected]> writes:
>>>>
>>>>> Recently emacs (running in X "window" mode) seems to have developed a
>>>>> font problem.
>>
>> Perhaps it is a font issue.
>
> Yes, I think it probably is.
>
>> I just did emacs -q (-Q eliminates the
>> splash screen) and then did C-u C-x = while the cursor was on the "b" in
>> "Learn basic keystroke commands". The help buffer includes
>> display: by this font (glyph code)
>> xft:-unknown-DejaVu
>> Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1 (#x45)
>>
>> What does C-u C-x = give on your system
>
> character: b (98, #o142, #x62)
> preferred charset: ascii (ASCII (ISO646 IRV))
> code point: 0x62
> syntax: w which means: word
> category: .:Base, a:ASCII, l:Latin, r:Roman
> buffer code: #x62
> file code: #x62 (encoded by coding system nil)
> display: no font available
>
>> and do you have that font available?
>
> No, I don't seem to have Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1
> availble according to xfontsel.
Three points
1. Did you build emacs with xft support?
2. The name you give "Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1"
looks to be just the suffix did you mean something like
"-unknown-DejaVu Sans-normal...". You don't need to have DejaVu,
but I would advise getting either DejaVu or bitstream vera.
3. Your output and mine differ in one point (before the font issue)
You have "coding system nil".
I have "coding system utf-8-unix". Unfortunately I know very little
about coding systems but do wonder why ours are different since we
both did emacs -q. Unfortunately if we do emacs -Q to eliminate
some system customization, there is no splash screen. The
description of UTF-8 says it is for unicode. Perhaps your nil
coding system has trouble with unicode, but I am afraid this has
gotten outside my expertise.
sorry for not being more helpful.
allan