Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing a truetype font
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Tue Mar 02, 2004 4:31 am    Post subject: Installing a truetype font Reply with quote

I've been tinkering with pfaedit, and now have a custom TTF font that I would like to install on my system. How do I do it?
Back to top
View user's profile Send private message
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2021
Location: Republic of California

PostPosted: Tue Mar 02, 2004 4:45 am    Post subject: Reply with quote

Make a folder, preferable in /usr/share/fonts. Copy your fonts into that new folder then open up /etc/fonts/fonts.conf and add <dir>/usr/share/fonts/NEWFONTDIR</dir> inbetween the fontconfig tags.. Then run fc-update.
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Tue Mar 02, 2004 9:45 pm    Post subject: Reply with quote

I do not have fc-update. Which package is it in?

[edit] Argh... the brain-damage that typos can cause. I bet you meant rc-update.

[edit] OK... running rc-update does nothing except print instructions on what to do with rc-update. What am I supposed to do with it?
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Tue Mar 02, 2004 11:13 pm    Post subject: Reply with quote

*bump*
Back to top
View user's profile Send private message
Gavrila
Apprentice
Apprentice


Joined: 08 Jun 2003
Posts: 275

PostPosted: Tue Mar 02, 2004 11:34 pm    Post subject: Reply with quote

first it's better to put the string into /etc/fonts/local.conf.

The command i think it was fc-cache :)

Regards
Back to top
View user's profile Send private message
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2021
Location: Republic of California

PostPosted: Tue Mar 02, 2004 11:41 pm    Post subject: Reply with quote

Boy. I'm on a roll.. Yes, it's fc-cache, not update.....

Either local.conf or fonts.conf will work. I added that to fonts.conf myself...
Back to top
View user's profile Send private message
Gavrila
Apprentice
Apprentice


Joined: 08 Jun 2003
Posts: 275

PostPosted: Wed Mar 03, 2004 12:29 am    Post subject: Reply with quote

-Amoeba- wrote:
Boy. I'm on a roll.. Yes, it's fc-cache, not update.....

Either local.conf or fonts.conf will work. I added that to fonts.conf myself...


fonts.conf is likely to be overwritten/modifed by fontconfig itself ;)

local.conf is designed to be used for configuration.

Regards :)
Back to top
View user's profile Send private message
c4Ff3In3 4ddiC+
Tux's lil' helper
Tux's lil' helper


Joined: 16 Aug 2003
Posts: 110

PostPosted: Wed Mar 03, 2004 5:29 am    Post subject: Reply with quote

Just wanted to add, if you want, you can also drop fonts into $HOME/.fonts and they'll be avaible for your account. It is less of a hassle for a single user machine.
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Wed Mar 03, 2004 11:41 pm    Post subject: Reply with quote

OK, font installed and cached. :)

Now, what voodoo do I need to do to get openoffice to use it? >.>

[edit] answered my own question, I needed to add the font via oopadmin. Also needed 'xauth +localhost' to run anything X-related as root.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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