fc-cache and new fonts (and docs)

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

 



Around 11 o'clock on Mar 20, "Jeremy C. Reed" wrote:

> Should we make it so whenever a font package is added or removed,
> fc-cache should be ran?

Yes, that's best -- fc-cache stores information about the fonts in global 
files.  If it's not run, the first fontconfig application started after 
the filesystem change will spend a moment or two scanning the new fonts.

> Can fc-cache be ran just to update for that single font or should it
> rebuild for all fonts?

fc-cache checks file and directory timestamps, scanning only files which 
have changed since the cache was built.  If you install a few new fonts, 
it should run very quickly.

You can pass the '-f' option to force every font to be rescanned; you'll 
want to do that when you install a new version of fontconfig itself as
the new version may have bugs fixed in font scanning which can only be 
fixed by ignoring any existing information.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/fontconfig/attachments/20040320/54c14ea8/attachment.pgp

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux