You are not logged in.
Pages: 1
I recently installed the -infinality patch from aur for truetype fonts. I have read good things about it and it looked awesome in screenshots. Now my fonts in Skype or Claws-Mail look much better - yay. However, urxvt is completely fucked up.
http://ompldr.org/vZHFzaA <-- This is weechat/ncmpcpp after a reboot, this is my .Xresources: http://pastie.org/3910225
Not only are is the font in the screenshot spaced too widely, it's not even terminus, like it should be. I tried lots of different fonts (like you can see in my .Xresources) and of course always xrdb -merged the file before trying, I can only change the size of the font, not the ugliness. This is my ~/.fonts.conf if it matters: http://pastie.org/3910241
Help? ![]()
Offline
That font looks like the odd default fallback of urxvt if the font name provided can't be matched.
Did you rebuild your font cache after installing terminus?
EDIT: Deleted some irrelevancies since I am still learning to NOT read commented out lines of files.
Last edited by Trilby (2012-05-14 15:45:07)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
There was an ugly patch to this that would mash the letters back together but you could still tell that it was janky.
Offline
I know what it looks like ... I've had the very same result many times. It is either due to the font not being in the font path, or the font cache not being rebuilt after it has been added to the path.
Edit:
Some fonts like terminus are installed in /usr/share/fonts/local, which is not added to the font path by default. By adding the following lines to ~/.xinitrc
xset +fp /usr/share/fonts/local xset fp rehash
Last edited by Trilby (2012-05-14 16:11:01)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
@Trilby
Yes, the font cache is updated at the end of the installation of terminus automatically. And I just did it manually to be on the safe side, to no effect sadly. I have also tried the xset commands and that doesnt work either I'm afraid.
Offline
First, sorry if I sounded odd, I was confused about who was who and I didn't realize there were three people in this thread.
Kelnoky, did you do the xset FIRST, then rehash right after, then merge your xresources all in the same shell session?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Well, I opened a terminal, did both the xset commands in their order, merged ~/.Xresources and started a new terminal to see if it had any effect - nothing. I also tried setfont in the same terminal I did the xset commands in, and I get:
┌─[ 11:41 ][ revolution:~ ]
└─> setfont /usr/share/fonts/TTF/DejaVuSansMono.ttf
Couldn't get a file descriptor referring to the console
Oh btw - xterm accepts different fonts just fine.
edit: And now I switched to "URxvt*font: xft:DejaVu Sans Mono:pixelsize=12:antialias=true:hinting=true" again, which is what I had before I tried infinality and what I had when the fonts messed up for the first time - and it works. So I guess the xset commands must have worked for that font at least, just terminus won't do its thing.
Last edited by kelnoky (2012-05-15 10:48:51)
Offline
Hmm I recall having the same problem with urxvt a while back (letter spacing) and I solved it with adding this: 'URxvt.letterSpace: -1' to my .Xresources
Offline
Does pacman -Ql terminus-font show various "terXXX" files in /usr/share/fonts/local?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If you are not using a ttf version of Terminus font, this one will not work:
URxvt.font: xft:terminus:size=9
URxvt.boldfont: xft:terminus:size=9Try using this instead (you can adjust it for different encoding if necessary):
URxvt.font: -*-terminus-medium-r-*-*-14-*-*-*-*-*-iso10646-1
URxvt.boldFont: -*-terminus-bold-r-*-*-14-*-*-*-*-*-iso10646-1
URxvt.italicFont: -*-terminus-medium-r-*-*-14-*-*-*-*-*-iso10646-1
URxvt.boldItalicFont: -*-terminus-bold-r-*-*-14-*-*-*-*-*-iso10646-1Then run
xrdb -load ~/.Xresourcesrestart the terminal and see what happens.
Last edited by bohoomil (2012-05-15 14:26:18)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Pages: 1