You are not logged in.

#1 2010-12-30 12:47:20

Revelation60
Member
From: The Netherlands
Registered: 2009-03-19
Posts: 158
Website

[Solved]urxvt: unable to load base fontset

I am trying to configure a font in urxvt, using

urxvt*font:     -*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*

but I get the error:

unable to load base fontset, please specify a valid one using -fn.

The following works:

 urxvt*font:     xft:Terminus

But my laptop is too slow to handle xft fonts. I have this issue on all three of my computers, and I really don't know what to try anymore. I have tried running fc-cache -vf, but that didn't help.

Last edited by Revelation60 (2010-12-30 16:28:50)

Offline

#2 2010-12-30 13:17:59

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

Re: [Solved]urxvt: unable to load base fontset

xset +fp /usr/share/fonts/local

and try

urxvt*font:     -*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*

again. Works for me :-)
You need to add 'xset +fp /usr/share/fonts/local' to your .xinitrc or add that fontpath to xorg.conf.


Edit: I'm not sure if it makes a difference, but you can try disabling antialias:

urxvt.font:             xft:terminus:antialias=false:pixelsize=12

Last edited by karol (2010-12-30 13:27:24)

Offline

#3 2010-12-30 16:28:27

Revelation60
Member
From: The Netherlands
Registered: 2009-03-19
Posts: 158
Website

Re: [Solved]urxvt: unable to load base fontset

It worked smile Thanks!

Offline

Board footer

Powered by FluxBB