[tex-live] extra font folder in windows for fc-cache?

Akira Kakuto kakuto at fuk.kindai.ac.jp
Sun Nov 23 01:40:10 CET 2008


Dear Fengnan,

> > Just guessing, but maybe texlive\2008\texmf-local\fonts\conf ?
> >
> > ** Phil
> 
> I know there is texlive\2008\texmf-var\fonts\conf\fonts.conf, but when I 
> update my texlive, this file is often reset so I have to edit the file again 
> and fc-cache again. So I guess if you guys can have some file that records 
> extra fonts dirs for fc-cache and *it will not be replaced when I do my 
> updating*, it would be more convenient for some one like me.

a workaround (not tested):

(1) Copy the file $TEXMFMAIN/web2c/texmf.cnf into $TEXMFLOCAL/web2c/texmf.cnf,
    and change two lines in $TEXMFLOCAL/web2c/texmf.cnf

    FONTCONFIG_PATH=$TEXMFSYSVAR/fonts/conf
    FC_CACHEDIR=$TEXMFSYSVAR/fonts/cache

    into

    FONTCONFIG_PATH=$TEXMFLOCAL/fonts/conf
    FC_CACHEDIR=$TEXMFLOCAL/fonts/cache

    Probably $TEXMFLOCAL/web2c/texmf.cnf will be read preferentially.

(2) Make directories
    $TEXMFLOCAL/fonts/conf
    $TEXMFLOCAL/fonts/cache

(3) Copy the file $TEXMFSYSVAR/fonts/conf/fonts.conf
    into $TEXMFLOCAL/fonts/conf/fonts.conf
    and edit the file $TEXMFLOCAL/fonts/conf/fonts.conf

Contents in $TEXMFLOCAL may not be overridden by updates.
Physical locations of $TEXMFSYSVAR etc. are shown by
kpsewhich --var-value TEXMFSYSVAR etc.

Best,
Akira


More information about the tex-live mailing list