Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2008 16:53:15 +0100
From:      Frank Shute <frank@shute.org.uk>
To:        Kemian Dang <dangkm@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: [OT]Change font for aterm
Message-ID:  <20080608155315.GA91631@melon.esperance-linux.co.uk>
In-Reply-To: <82f916c90806080741n70af2fbew7bb1aaa410847a60@mail.gmail.com>
References:  <82f916c90806080741n70af2fbew7bb1aaa410847a60@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote:
>
> Dear All,
> 
> I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change
> the configure in the menu.
> Now I am using aterm, but I also want to use that font.
> 
> I can see it by fc-list:
> 
> [3:39pm:kemian] ~> fc-list | grep "Sans Mono"
> Bitstream Vera Sans Mono:style=Bold
> Bitstream Vera Sans Mono:style=Oblique
> Bitstream Vera Sans Mono:style=Bold Oblique
> Bitstream Vera Sans Mono:style=Roman
> 
> I add entry in .Xresources:
> 
> Aterm*font:	xft:Bitstream Vera Sans Mono:style=Roman

Use:

Aterm*font: -bitstream-bitstream\ vera\ sans\ mono-medium-r-normal--16-0-0-0-m-0-iso8859-15

in ~/.Xdefaults (all on one line).

Then:

$ xrdb -load

The size of the font can be varied by changing the 16 in that line.

$ xlsfonts | less 

gives you the names of the fonts you can use.

> 
> But run the aterm give me:
> 
> aterm: can't load font "xft:Bitstream Vera Sans Mono:style=Roman"
> 
> Could anyone give me a clue on how to change the font of aterm?
> 
> -- 
> Best wishes,
> Kemian

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080608155315.GA91631>