<<< Date Index >>>     <<< Thread Index >>>

Re: Several Mutt usage question



On Mon, Jul 13, 2009 at 01:24:36PM -0400, Paul Grinberg wrote:
> Do you know how to set it to use proper fonts?
> As I said I have these.... 
> 
> [root@panther pgrinberg]# cat /etc/sysconfig/i18n
> LANG="en_US.UTF-8"
> SYSFONT="latarcyrheb-sun16"

I'm unfamiliar with the $SYSFONT variable, but a quick search suggests
that this controls the font that is used on the system console (i.e.
in text mode, with no X window system).  It seems unrleated to your
problem.

How to control the font depends on the terminal program you are using.
If you're using gnome-terminal, it mostly should "just work" for you
out of the box.  If you've selected a specific font, that may actually
break it for you.

On xterm and older programs, you need to specify the font using an X
resource.  For example, I like to use the "Universal font":

XTerm*font: -misc-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-*

Add that to $HOME/.Xdefaults, and then run the following:

 $ xrdb -merge ~/.Xdefaults
 $ xterm &

Now, in the new xterm that you just started, run Mutt.  It should
display properly, if you have the right fonts installed.  If you don't
have the right fonts installed, you'll either get a different font
that matches that name but doesn't have all the unicode characters
present, or you'll get an error about X finding no matching fonts, and
using "fixed" instead.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

Attachment: pgpaXWbsibybn.pgp
Description: PGP signature