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
pgpBVM7OM2WE9.pgp
Description: PGP signature