Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2005 17:03:48 +1030
From:      Ian Moore <imoore@picknowl.com.au>
To:        Gary Kline <kline@tao.thought.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: realplay-10
Message-ID:  <200502031703.55319.imoore@picknowl.com.au>
In-Reply-To: <20050202223917.GA37146@thought.org>
References:  <20050131234611.GA74646@thought.org> <200502012153.03507.imoore@picknowl.com.au> <20050202223917.GA37146@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thu, 3 Feb 2005 09:09, Gary Kline wrote:
> On Tue, Feb 01, 2005 at 09:52:56PM +1030, Ian Moore wrote:
> > On Tue, 1 Feb 2005 19:32, Gary Kline wrote:
> > > On Tue, Feb 01, 2005 at 04:59:40PM +1030, Ian Moore wrote:
> > > > On Tue, 1 Feb 2005 10:16, Gary Kline wrote:
> >
> > from man fc-cache:
> > NAME
> >        fc-cache,  fonts.cache  -  create  an index of FreeType font files
> > in a directory
> >
> > It's normally run when you add new fonts to your system. Of course if you
> > use kde's font control panel or something similar, it runs fc-cache for
> > you. It's part of X & lives in /usr/X11R6/bin/
> >
> > When you install linux-base, is installs a linux version too
> > (under /usr/compat/linux), but it appears to use the FBSD configuration
> > somehow, since running fc-cache fixes the cache for linux apps as well as
> > native ones.
>
> 	Thanks for the datapoint.  Where do I chdir to to run fc-cache?
> 	(There seem to be font files scattered all over the place.)
>
> 	gary
You don't have to chdir anywhere, just run it.
The man pages says:
       If directory arguments are not given, fc-cache uses each  directory  in
       the  current  font  configuration.   Each directory is scanned for font
       files readable by FreeType.  A cache is created which contains  proper-
       ties  of  each font and the associated filename.  This cache is used to
       speed application startup when using the fontconfig library.
So it must look at your X config file & finds out where the font directories 
are from that.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCAcXTfITqkXhImmIRAiWhAJ47InBZtd7Sc5oln4S1k4h167NHJwCeOoPn
b0FsSNdl2kKKEOxJCd7ahrk=
=+F7h
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502031703.55319.imoore>