[tex-live] fc-cache documentation ?

Akira Kakuto kakuto at fuk.kindai.ac.jp
Sat Sep 3 01:48:14 CEST 2016

Dear Philip,

> The suggestion by Akira-san resolves the problem :

It seems that I was wrong:

By experiments, I found that the renaming,
cachefile.NEW --> cachefile, almost always
fails if executed from the XeTeX binary even
in a user's writable directory.

Thus if you find a delay of time, run

fc-cache -v.

If messages
invalid cache file: ...
are shown, run

fc-cache -v

once more.

--- related function ---
FcAtomicReplaceOrig (FcAtomic *atomic)
#ifdef _WIN32
    unlink ((const char *) atomic->file);
    /* fails always if executed from the XeTeX binary */
    if (rename ((char *) atomic->new, (char *) atomic->file) < 0)
    return FcFalse;
    return FcTrue;


More information about the tex-live mailing list