Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libXft 2.3.0 broke my urxvt fonts, how do I get them back?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2404
Location: UK

PostPosted: Tue Mar 13, 2012 11:26 am    Post subject: libXft 2.3.0 broke my urxvt fonts, how do I get them back? Reply with quote

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?
_________________
runit-init howto | Overlay
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5282

PostPosted: Tue Mar 13, 2012 12:36 pm    Post subject: Reply with quote

I looked carefully - twice! - and all I can see is a nice, legible font. Did you perhaps post the wrong image?
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.org
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 646

PostPosted: Tue Mar 13, 2012 2:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2404
Location: UK

PostPosted: Tue Mar 13, 2012 2:35 pm    Post subject: Reply with quote

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.
_________________
runit-init howto | Overlay
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5282

PostPosted: Tue Mar 13, 2012 2:39 pm    Post subject: Reply with quote

Yeah, I see the spacing now. That would be annoying.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.org
Back to top
View user's profile Send private message
Dont Panic
Guru
Guru


Joined: 20 Jun 2007
Posts: 320
Location: SouthEast U.S.A.

PostPosted: Tue Mar 13, 2012 3:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2404
Location: UK

PostPosted: Tue Mar 13, 2012 3:58 pm    Post subject: Reply with quote

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.
_________________
runit-init howto | Overlay
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2094

PostPosted: Wed Mar 14, 2012 7:35 am    Post subject: Reply with quote

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
View user's profile Send private message
swanson
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2004
Posts: 112
Location: Edinburgh, Scotland

PostPosted: Wed Mar 14, 2012 10:37 am    Post subject: Reply with quote

Just a couple of bugs in libXft to be fixed in the 2.3.1 release (as no one tested any affected applications with broken commits made months previously).

http://bugs.freedesktop.org/show_bug.cgi?id=47178
http://bugs.freedesktop.org/show_bug.cgi?id=47196
_________________
Alan.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum