Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Use "manually copied TTF fonts" in VT and Console
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
krax
n00b
n00b


Joined: 29 May 2011
Posts: 67
Location: Troy, MI

PostPosted: Thu Oct 10, 2013 4:56 pm    Post subject: Use "manually copied TTF fonts" in VT and Console Reply with quote

Hello
I copied some TTF font on to the /usr/local/share/fonts. and the i did fc-cache -vf.
But i can't use them in VT environment like urxvt and so on.
I emerge urxvt with XFT but no luck.
xlsfont |grep <font_name> doesn't find that fonts.
What is the solution. and i am not the only one. I ask in IRC but no luck there.
Please share your insights
thank you
Back to top
View user's profile Send private message
krax
n00b
n00b


Joined: 29 May 2011
Posts: 67
Location: Troy, MI

PostPosted: Thu Oct 10, 2013 5:01 pm    Post subject: Reply with quote

Code:
~ $ urxvt -fn consolas
urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Oct 10, 2013 6:32 pm    Post subject: Re: Use "manually copied TTF fonts" in VT and Cons Reply with quote

krax wrote:
Hello
I copied some TTF font on to the /usr/local/share/fonts. and the i did fc-cache -vf.
But i can't use them in VT environment like urxvt and so on.
I emerge urxvt with XFT but no luck.
xlsfont |grep <font_name> doesn't find that fonts.


:roll: :sigh: :roll:

I've stopped using urxvt quite awhile ago, but some general facts haven't changed since.
1. that fontconfig sees the font means nothing for xlsfonts, as it uses a completely different (legacy) scheme
2. as the manual page says, xft fonts need to be prefixed with "xft:" and their required size needs to be explicitly stated (if it's the first font in the list)
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