You are not logged in.

#1 2008-03-02 07:27:19

BC
Member
Registered: 2008-01-29
Posts: 83

Urxvt fonts

For some reason, font spacing (between characters) in urxvt is too wide and I can't figure out why.  Fonts look fine in xterm.  Fonts are even drawn correctly in urxvt in other distros.  Here's the font relevant parts of my .Xresources:

Xft.dpi: 96
Xft.antialias: 1
Xft.hinting:    1
Xft.hintstyle:  hintfull
Xft.rgba:       rgb
xterm*faceName: DejaVu Sans Mono
xterm*faceSize: 10
URxvt*font: xft:DejaVu Sans Mono-10

I use the exact same Xresources and /etc/fonts/local.conf between distros (they're just symlinks), and I'm out of ideas.  Can anyone help?

Offline

#2 2008-03-02 14:32:06

eerok
Member
From: Canada
Registered: 2005-03-20
Posts: 171

Re: Urxvt fonts

This doesn't answer all your questions, but the easy solution is to replace all that with something like

URxvt.font: -*-terminus-medium-*-*-*-*-140-*-*-*-*-iso8859-1

This is really a far nicer font, and there's an Arch package for it.

Anyway, I also couldn't get the spacing quite right on Xft fonts, but you'd get better results with a finer tuned specification

URxvt.font: xft:DejaVu Sans Mono:pixelsize=12

I finally abandoned URxvt because it doesn't support 256 colors.  If you get too frustrated with URxvt, try Sakura or another light alternative.

Last edited by eerok (2008-03-02 14:32:43)


noobus in perpetuus

Offline

#3 2008-03-02 16:31:38

BC
Member
Registered: 2008-01-29
Posts: 83

Re: Urxvt fonts

eerok wrote:

Anyway, I also couldn't get the spacing quite right on Xft fonts, but you'd get better results with a finer tuned specification

URxvt.font: xft:DejaVu Sans Mono:pixelsize=12

That didn't fix it, thanks though smile

Offline

#4 2008-03-02 17:25:00

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Urxvt fonts

To get the same result as :
xterm*faceName: DejaVu Sans Mono
xterm*faceSize: 10

I can use :
urxvt*font: xft:DejaVu Sans Mono:size=10

And btw, that works here too :
xterm*faceName: DejaVu Sans Mono:size=10

Last edited by shining (2008-03-02 17:25:18)


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#5 2008-03-02 17:44:22

BC
Member
Registered: 2008-01-29
Posts: 83

Re: Urxvt fonts

Thanks for the reply shining.  I tried that too, but with no success.

Offline

#6 2008-03-12 03:05:18

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: Urxvt fonts

i like the default urxvt font, but like to make it a little bigger sad


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#7 2008-04-06 06:09:05

rhys_rhaven
Member
Registered: 2007-03-11
Posts: 17
Website

Re: Urxvt fonts

Reboot the system after installing urxvt. Something to do with fonts linked right.
-------------------------------------------------------------------------------
I am having the exact same trouble, with spacing being huge.

From the rxvt change log http://dist.schmorp.de/rxvt-unicode/Changes

7.5  Tue Jan 31 15:15:43 CET 2006
remove spacing=100 from all default fonts, as this creates totally weird spacing (5 times normal) with xft.

Why would this still happen?

Last edited by rhys_rhaven (2008-04-06 08:46:53)

Offline

#8 2008-07-04 11:44:42

Evanlec
Member
From: NH, USA
Registered: 2007-12-16
Posts: 141
Website

Re: Urxvt fonts

Im still seeing this in urxvt (also xft's seem to render very slowly ), has anyone made any progress on this?

Offline

#9 2008-07-04 12:42:08

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

Offline

#10 2008-07-04 13:24:24

Evanlec
Member
From: NH, USA
Registered: 2007-12-16
Posts: 141
Website

Re: Urxvt fonts

lovely except that font makes me want to cry

Offline

#11 2008-10-06 03:41:33

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Urxvt fonts

You really should try out Terminus. Once you do, you'll never use any other font in your terminals.

Offline

#12 2008-10-06 04:04:29

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Urxvt fonts

dmz wrote:

You really should try out Terminus. Once you do, you'll never use any other font in your terminals.

I said the same thing until I discovered dina (pacman -S dina-font).  Like terminus, it's highly legible, but also offers slightly larger font sizes.


thayer williams ~ cinderwick.ca

Offline

#13 2008-10-06 04:29:47

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Urxvt fonts

thayer wrote:
dmz wrote:

You really should try out Terminus. Once you do, you'll never use any other font in your terminals.

I said the same thing until I discovered dina (pacman -S dina-font).  Like terminus, it's highly legible, but also offers slightly larger font sizes.

Larger? I want smaller fonts. Any idea? smile

Offline

#14 2008-10-06 04:47:34

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Urxvt fonts

dmz > Monte carlo might be for you. A very nice terminal font.

http://bok.net/MonteCarlo/

Offline

#15 2008-10-06 04:49:50

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Urxvt fonts

Ashren wrote:

dmz > Monte carlo might be for you. A very nice terminal font.

http://bok.net/MonteCarlo/

Thanks a lot, gonna try it out rightaway.

Edit: That sucked. sad

Last edited by dmz (2008-10-06 04:56:20)

Offline

#16 2008-10-06 04:59:24

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Offline

#17 2008-10-06 05:03:56

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Offline

#18 2008-10-06 05:14:24

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Urxvt fonts

I guess it is a matter of taste then. It has small fonts (like you asked for) it is also highly legible. I prefer Dina, but used to be very fond of Monte Carlo. Or is the right terminal window you're referring to?

Offline

#19 2008-10-06 11:43:19

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Urxvt fonts

Ashren wrote:

I guess it is a matter of taste then. It has small fonts (like you asked for) it is also highly legible. I prefer Dina, but used to be very fond of Monte Carlo. Or is the right terminal window you're referring to?

Yeah, the left is standard Terminus, and the right is Monte Carlo. wink

Offline

#20 2008-10-06 12:30:37

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Urxvt fonts

ahh.. I see.. hehe. You should use the pcf font and load it with:

URxvt*font:    -*-montecarlo-medium-r-normal-*-11-*-*-*-*-*-*-*
URxvt*boldFont: -*-montecarlo-bold-r-normal-*-11-*-*-*-*-*-*-*

Offline

#21 2008-10-06 12:38:37

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Urxvt fonts

Ashren wrote:

ahh.. I see.. hehe. You should use the pcf font and load it with:

URxvt*font:    -*-montecarlo-medium-r-normal-*-11-*-*-*-*-*-*-*
URxvt*boldFont: -*-montecarlo-bold-r-normal-*-11-*-*-*-*-*-*-*

Hm.. those strings makes urxvt sad penguin:

 > xrdb -load .Xresources 
 > urxvt
urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.

Offline

#22 2008-10-06 12:44:21

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Urxvt fonts

You'd ofcourse have to add the fonts properly. Put the unpacked fonts in ~/.fonts. Run mkfontdir && mkfontscale && fc-cache. Add /home/dmz/.fonts to xorg.conf's font path. Restart X and voila'.

Offline

#23 2008-10-06 12:53:49

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Urxvt fonts

Ashren wrote:

You'd ofcourse have to add the fonts properly. Put the unpacked fonts in ~/.fonts. Run mkfontdir && mkfontscale && fc-cache. Add /home/dmz/.fonts to xorg.conf's font path. Restart X and voila'.

What? I extracted the fonts to /usr/share/fonts and ran fc-cache -f , isn't that a proper way? tongue

Offline

#24 2008-10-06 19:30:00

Square
Member
Registered: 2008-06-11
Posts: 435

Re: Urxvt fonts

Font suggestion: Proggy Clean
It renders correctly in urxvt, and I can't seem to find anything better. smile

Last edited by Square (2008-10-06 19:32:49)


 

Offline

#25 2009-01-09 00:45:17

print
Member
Registered: 2007-02-27
Posts: 174

Re: Urxvt fonts

Monaco FTW!

Last edited by print (2012-04-01 21:17:34)


% whereis whatis whence which whoami whois who

Offline

Board footer

Powered by FluxBB