You are not logged in.

#1 2007-09-10 13:37:17

Eldanen
Member
Registered: 2006-12-13
Posts: 13

Aterm Terminal Font - Character Spacing?

I seem to be having an issue getting the correct character spacing when I try to set my terminal font.  Example here:

200709100931361440x900sco4.th.png

Would naming the font in .Xdefaults do anything?  Or am I selecting something improperly in the font name?

Thanks

Offline

#2 2007-09-10 14:00:29

Eldanen
Member
Registered: 2006-12-13
Posts: 13

Re: Aterm Terminal Font - Character Spacing?

Maybe it's because aterm doesn't support TrueType fonts....  Should I consider this solved and switch to urxvt? big_smile

Offline

#3 2007-09-10 15:31:38

Eldanen
Member
Registered: 2006-12-13
Posts: 13

Re: Aterm Terminal Font - Character Spacing?

Tried something different with urxvt, which I know does xft...  Came up with this, and still some odd character spacing:
200709101128191440x900siv1.th.png

Offline

#4 2007-09-10 15:42:06

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: Aterm Terminal Font - Character Spacing?

So which font are you using for Eterm (looks like fixed, if you like that use it for aterm)?

I experience the same thing with aterm and non-monospace fonts.
Give terminus a try. "terminus-font" in community. I love it at pxlsz 14.

Offline

#5 2007-09-10 15:54:10

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Aterm Terminal Font - Character Spacing?

Eldanen wrote:

Tried something different with urxvt, which I know does xft...  Came up with this, and still some odd character spacing:
http://img264.imageshack.us/img264/5003 … iv1.th.png

It happens with some font sizes/types...

Try putting something like this in your .Xdefaults:

xft.dpi::       96
xft.antialias:: true
xft.hinting::   true
xft.rgba::      rgb

and then either

urxvt*font::             xft:Monospace:pixelsize=11

or

urxvt*font::         xft:Terminus:pixelsize=14

reload .Xdefaults with

xrdb ~/.Xdefaults

You'll have to experiment a bit and figure out what works best on your screen.

Last edited by fwojciec (2007-09-10 15:54:40)

Offline

#6 2007-09-10 16:20:31

Eldanen
Member
Registered: 2006-12-13
Posts: 13

Re: Aterm Terminal Font - Character Spacing?

urxvt*font:             xft:Bitstream Vera Sans Mono-8

When I used that syntax for changing urxvt's font in ~/.Xdefaults, the kerning/character spacing worked perfectly.  I wonder why changing syntax or how you call the font through XFT makes the spacing different.  I was trying "xft:Dejavu Sans Mono:pixelsize=9" etc....  But when I just left the pixelsize off and put -8 with that line, the spacing worked perfectly.  Odd, eh?

Offline

#7 2007-09-11 06:35:41

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Aterm Terminal Font - Character Spacing?

As fwojciec said, it happens with certain font/size. Try something like
aterm*font: -*-fixed-medium-r-*-*-14-*-*-*-*-*-*-*
in your   ~/.Xdefaults
That's what I use.

Offline

Board footer

Powered by FluxBB