Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Large spaces in urxvt
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Markand
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2008
Posts: 76

PostPosted: Sat Aug 25, 2012 10:11 am    Post subject: [SOLVED] Large spaces in urxvt Reply with quote

Hello,

I use this ~/.Xdefaults for a while now, and since I switched to Gentoo I noticed that fonts in urxvt are really bigger than xterm.

Code:

! Xterm
XTerm*faceName: xft:Dejavu Sans Mono:pixelsize=11

XTerm*foreground:     rgb:dd/dd/dd
XTerm*background:     rgb:11/11/11
XTerm*color0:         rgb:19/19/19
XTerm*color8:         rgb:25/25/25
XTerm*color1:         rgb:80/32/32
XTerm*color9:         rgb:98/2b/2b
XTerm*color2:         rgb:5b/76/2f
XTerm*color10:        rgb:89/b8/3f
XTerm*color3:         rgb:aa/99/43
XTerm*color11:        rgb:ef/ef/60
XTerm*color4:         rgb:32/4c/80
XTerm*color12:        rgb:2b/4f/98
XTerm*color5:         rgb:70/6c/9a
XTerm*color13:        rgb:82/6a/b1
XTerm*color6:         rgb:92/b1/9e
XTerm*color14:        rgb:a1/cd/cd
XTerm*color7:         rgb:ff/ff/ff
XTerm*color15:        rgb:dd/dd/dd

! URxvt
URxvt*font: xft:Dejavu Sans Mono:pixelsize=11

URxvt*foreground:     rgb:dd/dd/dd
URxvt*background:     rgb:11/11/11
URxvt*color0:         rgb:19/19/19
URxvt*color8:         rgb:25/25/25
URxvt*color1:         rgb:80/32/32
URxvt*color9:         rgb:98/2b/2b
URxvt*color2:         rgb:5b/76/2f
URxvt*color10:        rgb:89/b8/3f
URxvt*color3:         rgb:aa/99/43
URxvt*color11:        rgb:ef/ef/60
URxvt*color4:         rgb:32/4c/80
URxvt*color12:        rgb:2b/4f/98
URxvt*color5:         rgb:70/6c/9a
URxvt*color13:        rgb:82/6a/b1
URxvt*color6:         rgb:92/b1/9e
URxvt*color14:        rgb:a1/cd/cd
URxvt*color7:         rgb:ff/ff/ff
URxvt*color15:        rgb:dd/dd/dd


It always worked before, I used it on FreeBSD, Fedora, Ubuntu ... But look at this screenshot, as you can see (top is xterm and bottom urxvt) spaces between letters are really bigger than urxvt.

http://markand.malikania.fr/shot.png

rxvt-unicode is compiled with these use flags enabled: 256-color focused-urgency font-styles mousewheel perl unicode3 xft

Do you have any idea? I personally think about a fontconfig / xft issue.


Last edited by Markand on Sat Aug 25, 2012 4:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Sat Aug 25, 2012 11:34 am    Post subject: Reply with quote

Maybe antialiasing?
_________________
BTW, TWM FTW!
Back to top
View user's profile Send private message
Spark25x
n00b
n00b


Joined: 26 Feb 2012
Posts: 23

PostPosted: Sat Aug 25, 2012 3:23 pm    Post subject: Reply with quote

Offtopic: Maybe you want to switch
Code:
static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
whit False in your dwm config.h ,that gaps around urxvt looks weird :P
Ontopic: Try to enable USE alt-font-width (in urxvt ) for your font problem maybe it helps :)
Back to top
View user's profile Send private message
Markand
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2008
Posts: 76

PostPosted: Sat Aug 25, 2012 4:22 pm    Post subject: Reply with quote

Spark25x wrote:
Offtopic: Maybe you want to switch
Code:
static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
whit False in your dwm config.h ,that gaps around urxvt looks weird :P
Ontopic: Try to enable USE alt-font-width (in urxvt ) for your font problem maybe it helps :)


Thanks! The use flag completely solved the problem :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum