[tex-live] fc-cache documentation ?

Akira Kakuto kakuto at fuk.kindai.ac.jp
Sun Aug 28 11:42:09 CEST 2016


Dear Siep,

> Is there a way to run fc-cache separately for TL fonts and for
> system fonts?

I remember that in my implementation for windows, it is simplified that
cache files go uniquely into FC_CACHEDIR.
Since fontconfig is used only by XeTeX on w32,
FONTCONFIG_PATH = $TEXMFVAR/fonts/conf
FC_CACHEDIR = $TEXMFVAR/fonts/cache
is desirable. The above variables in texmf.cnf are
used only by windows.

PS:
XE_FONTCONFIG_PATH and XE_FC_CACHEDIR have precedence:
If XE_FONTCONFIG_PATH is defined, then FONTCONFIG_PATH is not used.
If XE_FC_CACHEDIR is defined, then FC_CACHEDIR is not uded.

The above may be convenient in the case where users have
different fontconfig with different env. vars FONTCONFIG_PATH and FC_CACHEDIR.

Best,
Akira



More information about the tex-live mailing list