Re: fc-cache is not always caching newly installed fonts.

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


Op dinsdag 30-10-2007 om 10:48 uur [tijdzone -0700], schreef Keith
> On Fri, 2007-10-26 at 15:27 +0200, Jan Claeys wrote:
> > I think Debian & Ubuntu do (something like) this at the moment, and it's
> > really slow indeed.  But recently apt/dpkg has grown a "hooks" system
> > that allows for running such commands only once after installing all
> > selected packages.  That should make the wait-times acceptable.
> I've just rewritten the debian fontconfig hook that runs when fonts
> are installed -- it runs 'fc-cache -f' only on the directory receiving
> the fonts (to make sure updates are re-cached). Then it runs 'fc-cache
> -s' to make sure any directories leading to the new fonts are cached
> as well. All of these are run after all fonts are installed, so each
> directory is only cached once (well, twice currently, but I think
> that's a bug somewhere).
> Performance is quite reasonable now.

That sounds great, and this should get imported in the next Ubuntu
release too then.


Jan Claeys

Fontconfig mailing list

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

  Powered by Linux