WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [2.x] Use DejaVu fonts in urxvt?  (Read 12611 times)

Offline Nate

  • Newbie
  • *
  • Posts: 10
[2.x] Use DejaVu fonts in urxvt?
« on: August 22, 2010, 10:15:46 AM »
Hello,

I really like Tiny Core linux, and I'm customizing a USB-install for myself.

I'm using TinyCore 2.3, and have installed urxvt, and the deja vu fonts.

I have the following lines in my .Xdefaults (I copied them from my ubuntu box):

URxvt*font: xft:DejaVu Sans Mono:antialias=true:pixelsize=13
URxvt*boldFont: xft:DejaVu Sans Mono:style=bold:antialias=true:pixelsize=13

But, when I start up urxvt, I get the message: "Unable to load base fontset, please specify a valid one"

Do I have to set up X to use "xft", or am I not specifying the font correctly?
I found the "fc-list" program, and it recognizes the DejaVu fonts:

>fc-list

Code: [Select]
Bitstream Vera Sans Mono:style=Bold
DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold Italic,Bold Italic
DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold,Bold
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique
DejaVu Sans Mono:style=Bold Oblique
Bitstream Vera Sans:style=Oblique
DejaVu Serif:style=Bold Italic
Bitstream Vera Sans:style=Roman
DejaVu Sans:style=Bold Oblique
Luxi Sans:style=Regular
Bitstream Vera Sans Mono:style=Oblique
DejaVu Sans:style=Oblique
Bitstream Vera Sans:style=Bold
DejaVu Sans Mono:style=Oblique
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique
Bitstream Vera Serif:style=Roman
DejaVu Sans,DejaVu Sans Light:style=ExtraLight
Bitstream Vera Sans Mono:style=Bold Oblique
Bitstream Vera Sans:style=Bold Oblique
Bitstream Vera Sans Mono:style=Roman
DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book





Offline peterc

  • Newbie
  • *
  • Posts: 36
Re: [2.x] Use DejaVu fonts in urxvt?
« Reply #1 on: September 02, 2010, 09:04:07 PM »
I have the following lines in my .Xdefaults (I copied them from my ubuntu box):

URxvt*font: xft:DejaVu Sans Mono:antialias=true:pixelsize=13
URxvt*boldFont: xft:DejaVu Sans Mono:style=bold:antialias=true:pixelsize=13

Sorry I didn't see this earlier. My mistake--Xft support is not automatically included in urxvt. I've recompiled it and confirmed that it works. Will send the new version to Jason for upload today.