我想知道是否有一种方法可以使urxvt呈现xft字体:
URxvt.font: xft:Droid Sans Mono Slashed:pixelsize=9:Regular
URxvt.boldFont: xft:Droid Sans Mono Slashed:pixelsize=9:Bold
URxvt.talicFont: xft:Droid Sans Mono Slashed:pixelsize=9:Italic
URxvt.bolditalicFont: xft:Droid Sans Mono Slashed:pixelsize=9:Bold:Italic如果我尝试这个,我会得到这样的东西:

因此,它的规模相当糟糕:
! Fonts
Xft.dpi: 132
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.autohint: true
Xft.hintstyle: hintfull 我不确定这是不是其中的一个原因。但是我想要反化名和那个Droid。这里有什么诡计吗?
发布于 2012-01-19 08:56:47
如果urxvt找不到您指定的xft字体名称,它将使用默认字体。例如,以下内容将类似于您的屏幕截图:
urxvt -fn 'xft:foo'要找出哪些xft字体可用,请运行:
fc-list下面是我如何使用漂亮的Ubuntu单空间字体运行urxvt:
urxvt -fn "xft:Ubuntu Mono:pixelsize=14,style=regular"发布于 2011-01-26 17:17:23
我让它只使用命令行选项"-letsp -1",请参见
http://www.saltycrane.com/blog/2009/11/how-make-urxvt-look-gnome-terminal/
发布于 2015-03-20 12:27:26
如果我记得的话,间隔是由
URxvt*letterSpace: -2这是我的.Xresources:
Xft.dpi: 96
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
URxvt.depth: 0
URxvt.intensityStyles: false
! Turn it on here... (then boldFont)
URxvt.allow_bold: false
URxvt.font: xft:Ubuntu Mono:style=Regular:pixelsize=17
! ... but put this on Regular, else the ls output is overly fat
URxvt.boldFont: xft:Ubuntu Mono:style=Bold:pixelsize=17
URxvt.saveLines: 8192
! Fix font space
! any larger than -1 I dont like
URxvt*letterSpace: -2 https://askubuntu.com/questions/22419
复制相似问题