Gentoo Archives: gentoo-user

From: "Jesús Guerrero" <i92guboj@×××××.es>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] TTF Fonts
Date: Sun, 13 Jan 2008 15:33:54
Message-Id: 20080113163335.80044923.i92guboj@terra.es
In Reply to: Re: [gentoo-user] TTF Fonts by Naiani Rosa de Barros
1 On Sun, 13 Jan 2008 11:00:57 -0400
2 "Naiani Rosa de Barros" <naiani.princess@×××××.com> wrote:
3
4 > Well, the location fonts:/// does not exist on Xfce, so the
5 > installation has to be manual.
6 > I ended up finding this other article on Gentoo-Wiki,
7 > http://gentoo-wiki.com/HOWTO_XFS_and_Custom_Fonts , which works well.
8 > The only thing I don't like is having to run ttmkfdir > fonts.scale,
9 > mkfontdir, /etc/init.d/xfs restart everytime I want to add a new font.
10 > But I guess it's a small price to pay.
11 > Thank you guys!
12 >
13
14 You usually don't need to. Kde should pick the fonts just the same
15 moment you install them. Other X programs need a re-building of the
16 font cache. That is done when X is restarted, but you can also do it
17 manually on a term with something like this:
18
19 xset fp rehash
20
21 That will re-read all the font dirs (the default gentoo configuration
22 include system dirs and also local dirs, like ~/.fonts/). If you want
23 to add a font path, you need to issue this other command before the
24 one above:
25
26 xset +fp /new/path
27 of
28 xset fp+ /new/path
29
30 To prepend or append a new path, then rehash it as shown above.
31
32 The xfs solution is something that is mostly deprecated, and it is a
33 resource waste and a completely useless thing on a desktop machine. I
34 don't recommend the xfs stuff at all.
35 --
36 Jesús Guerrero <i92guboj@×××××.es>
37 --
38 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] TTF Fonts Naiani Rosa de Barros <naiani.princess@×××××.com>