[OT]Change font for aterm

Frank Shute frank at shute.org.uk
Sun Jun 8 15:53:26 UTC 2008


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 



More information about the freebsd-questions mailing list