You are not logged in.

#1 2009-11-23 00:50:02

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

urxvt font rendering

i am trying to make my urxvt look good with dejavu mono fonts and i am having a real hard time...
here is a comparison between urxvt and konsole with the same font applied:
http://omploader.org/vMnU1Zw

any clue how i can make it better?

Here is my .Xdefaults

!MISC
Xcursor.theme: aero-drop
!xft hinting
Xft.antialias:true
Xft.hinting:true
! hintslight | hintsmedium | hintsfull
Xft.hintstyle:hintslight
! rgba subpixel hinting (for LCDs)
Xft.rgba:subpixel
xft.dpi: 96
!urxvt*background: rgba:0000/0000/0000/c000
!urxvt*background: #
!urxvt*foreground: #B0B0B0
urxvt.urgentOnBell: true
!urxvt*transparent: true
!urxvt*shading: 20
!urxvt*fading: 20
urxvt*scrollBar: false
urxvt*depth: 32
urxvt*saveLines: 2000
urxvt*secondaryScroll: true

!COLORS
*foreground:#a0a0a0
*background:#1B1D1E
*color0:    #1B1D1E
*color8:    #505354
*color1:    #F92672
*color9:    #FF669D
*color2:    #A6E22E
*color10:   #BEED5F
*color3:    #FD971F
*color11:   #E6DB74
*color4:    #66D9EF
*color12:   #66D9EF
*color5:    #9E6FFE
*color13:   #9E6FFE
*color6:    #5E7175
*color14:   #A3BABF
*color7:    #CCCCC6
*color15:   #F8F8F2


!FONTS
URxvt*font:             xft:DejaVu Sans Mono:antialias=true:autohinting=true:pixelsize=12
URxvt*boldFont:         xft:Terminus:bold:antialias=true:autohinting=true:pixelsize=12
URxvt*italicFont:       xft:Terminus:italic:antialias=true:autohinting=true:pixelsize=12
URxvt*boldItalicFont:   xft:Terminus:bolditalic:antialias=true:autohinting=true:pixelsize=12


!URL LAUNCHER
urxvt*perl-ext-common: default,matcher
urxvt*urlLauncher: firefox
urxvt*matcher.button: 1
urxvt*matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-].[\\w/-]

Last edited by Rasi (2009-11-23 00:50:58)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#2 2009-11-23 02:35:19

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: urxvt font rendering

One thing that you can do to get the fonts the same size is to call them like:

URxvt*font:                 xft:DejaVu Sans Mono-10

This will use the X server sizes and not the pixel size. This may make a difference in how the bold fonts are rendered.

Offline

#3 2009-11-23 08:35:15

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: urxvt font rendering

These are my urxvt font settings:

URxvt*font: xft:DejaVu Sans Mono:antialias=true:pixelsize=11
URxvt*boldFont: xft:DejaVu Sans Mono:style=bold:antialias=true:pixelsize=11
URxvt*italicFont: xft:DejaVu Sans Mono:style=italic:antialias=true:pixelsize=11
URxvt*boldItalicFont: xft:DejaVu Sans Mono:style=bolditalic:antialias=true:pixelsize=11

Urxvt properly displays those fonts like your konsole example.

Last edited by bernarcher (2009-11-23 08:35:40)


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB