View previous topic :: View next topic |
Author |
Message |
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Tue Mar 13, 2012 11:26 am Post subject: libXft 2.3.0 broke my urxvt fonts, how do I get them back? |
|
|
They now look like this (bottom), spaced out and hard to read. GVim above shows what it looks like with 2.2.0.
I had this exact same problem on an Ubuntu machine that I don't have access to now, and I fixed it there in fontconfig somehow, but I can't remember what I had to change. Anyone know? |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Aquous l33t
Joined: 08 Jan 2011 Posts: 700
|
Posted: Tue Mar 13, 2012 2:28 pm Post subject: |
|
|
audiodef wrote: | I looked carefully - twice! - and all I can see is a nice, legible font. Did you perhaps post the wrong image? | I can see the problem - the bottom part of the image has all the letters spaced considerably further apart from eachother.
Having said that, I have no helpful idea how to fix this, other than downgrading the offending package. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Tue Mar 13, 2012 2:35 pm Post subject: |
|
|
Aquous wrote: | I can see the problem - the bottom part of the image has all the letters spaced considerably further apart from each other.
Having said that, I have no helpful idea how to fix this, other than downgrading the offending package. |
Yeah, I've masked >=2.3 for now until I figure it out. Here is a better image with libXft 2.2 on top and libXft 2.3 below, where the letter spacing resembles CJK fullwidth fonts and 15% of my horizontal space is going to waste. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Dont Panic Guru
Joined: 20 Jun 2007 Posts: 322 Location: SouthEast U.S.A.
|
Posted: Tue Mar 13, 2012 3:02 pm Post subject: |
|
|
Which font are you using?
I'm using terminus fonts with x11-libs/libXft-2.3.0-r1 and x11-terms/rxvt-unicode-9.15, and I don't see any spacing issues. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Tue Mar 13, 2012 3:58 pm Post subject: |
|
|
Dont Panic wrote: | Which font are you using? |
Code: | URxvt.font: xft:DejaVu Sans Mono:pixelsize=12 |
Terminus bypasses xft entirely since it's a bitmap font. |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Wed Mar 14, 2012 7:35 am Post subject: |
|
|
Meh, with terminus, I now can't start another urxvt, always giving Code: | urxvt: unable to load base fontset, please specify a valid one using -fn, aborting | Good thing my urxvtd session is still running
Edit, my .Xressources on fonts
Code: | .Xressources:urxvt*font: xft:terminus:size=10
.Xressources:URxvt*keysym.C-plus: command:\033]710;xft:terminus:size=18\007
.Xressources:URxvt*keysym.C-minus: command:\033]710;xft:terminus:size=12\007
.Xressources:FvwmConsole*font: xft:terminus:size=10
.Xressources:FvwmConsole*keysym.C-plus: command:\033]710;xft:terminus:size=18\007
.Xressources:FvwmConsole*keysym.C-minus: command:\033]710;xft:terminus:size=12\007
.Xressources:dmenu.font: xft:terminus:size=10 |
.Xdefaults are the same, symlinked.
Used to just work(tm).
Edit, meh, solved. According to the changelog, I missed the switch from USE=truetype to USE=xft, thus I didn't have it. _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
swanson Tux's lil' helper
Joined: 04 Jun 2004 Posts: 147 Location: Edinburgh, Scotland
|
|
Back to top |
|
|
|