[tex-live] Problem with XeTeX and fc-cache on Tex Live Portable

kmc kmc.best at gmail.com
Mon Jun 8 18:16:39 CEST 2009


Thanks it works. I've added them into tl-portable.bat.

Now another question: in the file fonts.conf, can I use relative path? I aim
to keep some fonts on Usb disk and not scanning c:\windows\fonts, yet, the
absolute path of this portable version may vary (be it g:\texlive\ or
k:\texlive) when I plug it into different computers. So something like
<dir>g:\texlive\texmf-local\fonts\opentype</dir>
will not work any where.

I tried to jump back from the directory of fonts.conf like this
<dir>..\..\..\texmf-local\fonts\opentype</dir>
but it doesn't work (neither slash nor anti-slash).

--
kmc


On Mon, Jun 8, 2009 at 16:06, Akira Kakuto <kakuto at fuk.kindai.ac.jp> wrote:

> Hi,
>
> > However, the first thing I can imagine before using XeTeX, is to see
> which
> > fonts are available, then immediately I got this:
> >
> > TL H:\texlive\2008>fc-list
> > Fontconfig error: Cannot load default config file
> >
> > and the same error with fc-cache.
>
> You can change directories for config file and caches
> by changing two variables in texmf.cnf:
> FONTCONFIG_PATH and FC_CACHEDIR.
> Their default values in TeX Live are
>
> FONTCONFIG_PATH=$TEXMFSYSVAR/fonts/conf
> FC_CACHEDIR=$TEXMFSYSVAR/fonts/cache
>
> Best,
> Akira
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20090608/6aa9baf3/attachment.html>


More information about the tex-live mailing list