lilypond-user
[Top][All Lists]
Advanced

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

Re: Tip / trick: making Adobe fonts available to fontconfig


From: Trevor Bača
Subject: Re: Tip / trick: making Adobe fonts available to fontconfig
Date: Mon, 4 Feb 2008 23:17:34 -0600

On Feb 4, 2008 10:52 PM, Werner LEMBERG <address@hidden> wrote:
> trevorbaca$ fc-cache -r -f
> Fontconfig error: Cannot load default config file

Then try

 fc-cache -f

or

 fc-cache

The `-f' option forces recreation even of apparently up-to-date cache
files.


Hraban mentioned earlier that he might have two different fc-cache installs on his machine. I get ...

  fonts$ which fc-cache
  /Applications/LilyPond.app/Contents/Resources/bin/fc-cache

... so I'm pretty sure that commands are issuing to the correct (LilyPond) instance of fc-cache.


However, I still get the following:

  fonts$ fc-cache -f
  Fontconfig error: Cannot load default config file


The --help screen shows that both -f and -r should indeed work:

usage: fc-cache [-frsvV?] [--force|--really-force] [--system-only] [--verbose] [--version] [--help] [dirs]
Build font information caches in [dirs]
(all directories in font configuration by default).

  -f, --force          scan directories with apparently valid caches
  -r, --really-force   erase all existing caches, then rescan
  -s, --system-only    scan system-wide directories only
  -v, --verbose        display status information while busy
  -V, --version        display font config version and exit
  -?, --help           display this help and exit


I'm in /etc/fonts when I issue the command; should I maybe be in some other directory?



--
Trevor Bača
address@hidden
reply via email to

[Prev in Thread] Current Thread [Next in Thread]