You are not logged in.

#1 2010-08-20 19:27:17

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

[SOLVED] urxvtc ignores font options in Xdefaults

Hi

Launching urxvt using urxvtc (urxvtd running), seems ignore the font options (or do something weird with them) i put in Xdefault.

The Consolas font has huge gaps when launching the terminal using urxvtc - but launching it using "urxvt" (no c), the Consolas font looks fine.

What am I doing wrong?

Thanks :-)

Xdefaults:

Xcursor*theme:  Vanilla-DMZ-AA
Xcursor.size:   22

Xft.dpi: 96
Xft.antialias: 1
Xft.rgba: rgb
Xft.hinting: 1
Xft.hintstyle: hintfull

!urxvt*font:        xft:Droid Sans Mono:style=Regular:pixelsize=11:antialias=true:hinting=true:hintstyle=hintfull
!urxvt*boldFont:    xft:Droid Sans Mono:style=Regular:pixelsize=11:antialias=true:hinting=true:hintstyle=hintfull

urxvt*font:        xft:Consolas:pixelsize=12:antialias=true:hinting=true:hintstyle=hintfull
urxvt*boldFont:    xft:Consolas:pixelsize=12:antialias=true:hinting=true:hintstyle=hintfull

!urxvt*geometry:           160x50
urxvt*internalBorder:     3
urxvt*fading:             20
urxvt*shading:            80
urxvt*tintColor:          #222222
urxvt*inheritPixmap:      true
!urxvt*depth:              24
urxvt*depth:              32
urxvt*saveLines:          32767
urxvt*visualBell:         false
urxvt*scrollTtyKeypress:  true
urxvt*scrollWithBuffer:   false
urxvt*scrollTtyOutput:    false
urxvt*scrollBar:          false
urxvt*scrollstyle:        plain
urxvt*scrollBar_right:    true
urxvt*scrollColor:        #777777
urxvt*cursorColor:        #ffcc00
urxvt*loginShell:         true
urxvt*termName:           rxvt
urxvt*print-pipe:         cat > $(echo urxvt.dump.`date +'%Y%M%d%H%m%S'`)
urxvt*secondaryScroll:    true
urxvt*mapAlert:           true
urxvt*utmpInhibit:        true
urxvt*perl-lib:           /usr/lib/urxvt/perl/
urxvt*perl-ext-common:    default,matcher
urxvt*urlLauncher:        /usr/bin/chromium
urxvt*matcher.button:     1
urxvt*urgentOnBell:       true
urxvt*cutchars:           BACKSLASH '"'&()*,;<=>?@[]{|}

!#include "/home/michael/.colors/fruityjessica"
#include "/home/michael/.colors/tangoesque"

Last edited by valvet (2010-11-04 13:11:47)

Offline

#2 2010-08-20 19:47:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] urxvtc ignores font options in Xdefaults

'The gaps' are a known issue with rxvt.
What options does urxvtc ignore? Size?

I think if you set

Xft.hinting: 1

you don't need to add 'hinting=true'.

Last edited by karol (2010-08-20 19:50:07)

Offline

#3 2010-08-20 19:52:05

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

Re: [SOLVED] urxvtc ignores font options in Xdefaults

karol wrote:

'The gaps' are a known issue with rxvt.
What options does urxvtc ignore? Size?

I think if you set

Xft.hinting: 1

you don't need to add 'hinting=true'.

Well, I know about the gap issue - and I've patched urxvt, but the strange thing is: if I run urxvt command it loads the font fine, if I run urxvtc (with a c at the end), the font looks weird and gappy :x

Offline

#4 2010-08-20 20:07:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] urxvtc ignores font options in Xdefaults

valvet wrote:
karol wrote:

'The gaps' are a known issue with rxvt.
What options does urxvtc ignore? Size?

I think if you set

Xft.hinting: 1

you don't need to add 'hinting=true'.

Well, I know about the gap issue - and I've patched urxvt, but the strange thing is: if I run urxvt command it loads the font fine, if I run urxvtc (with a c at the end), the font looks weird and gappy :x

That indeed is strange and I can confirm that behavior. The good thins is you can use urxvt and have a nice font, some other fonts have huge gaps no matter how you invoke the app :-(

Offline

Board footer

Powered by FluxBB