[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: TT Fonts added to ~/.fonts not available in OO or Gimp

Hash: SHA1

On Friday 06 December 2002 05:35 pm, Gerry Tool wrote:
> Kevin Waterson wrote:
> > This one time, at band camp,
> > neh attbi com wrote:
> >
> > I like to make my fonts globally available so...
> >
> > # mkdir /usr/share/fonts/ttf
> > # chkfontpath -a  /usr/share/fonts/ttf
> > # cd /usr/share/fonts/ttf
> > # ttmkfdir > fonts.scale
> > # mkfontdir
> > # reboot
> >
> > If you need to add more fonts, you do not mkdir or chkfontpath
> > I have found I need to reboot to make them work in The GIMP. Why?
> > I have no idea but that is what I do.
> Thanks for the reply.  It worked.  By the time I tried it, I also saw
> Jesse Keating's comment about restarting xfs.  I did that rather than
> reboot, and then the KDE menu had no entries.  I did a
> Ctrl-Alt-Backspace to restart X, and the menu reappeared and Gimp had
> the new fonts.

Try this:
/usr/bin/fc-cache -f -v /path/to/new/fonts

As of 8.0, there are two methods used for font handling, the legacy xfs 
and the new fontconfig Xft handling.

- From the release notes:
    o Red Hat Linux now uses Xft for fonts in GNOME and KDE, which uses
       fontconfig for configuring fonts. The old style Xft config file
       /etc/X11/XftConfig is no longer used or supported, having been
       replaced by the new unified fontconfig method of configuration. The
       fontconfig config file can be customized by editing
       /etc/fonts/fonts.conf file.

       If you have fonts that you would like to add to your configuration,
       you can copy them to ~/.fonts (or /usr/share/fonts), and run
       fc-cache directory. The fonts will then be available.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
Version: GnuPG v1.0.7 (GNU/Linux)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]