[tex-live] [win32] opentype fonts from $TEXMFLOCAL

Akira Kakuto kakuto at fuk.kindai.ac.jp
Fri Mar 26 03:01:52 CET 2010


Hi Diederick,

> Solution:
> Based on comments in the texmf.cnf file, I edited the texmf.cnf in
> texlive/2009, where you should add your local changes only.
> first I tried adding my opentype fonts folder to a promising looking
> key, but that didn't work:
> OPENTYPEFONTS =
> .;$TEXMF/fonts/opentype//;$OSFONTDIR//;$TEXMFLOCAL/fonts/opentype
> Then, I followed the suggestions in the thread and got things to work:
> (1) add to texlive/2009/texmf.cnf:
>    FONTCONFIG_PATH=$TEXMFLOCAL/fonts/conf
>    FC_CACHEDIR=$TEXMFLOCAL/fonts/cache
> (2) create the directories:
>    $TEXMFLOCAL/fonts/conf
>    $TEXMFLOCAL/fonts/cache
> (3) copy everything in $TEXMFSYSVAR/fonts/conf/
>    to $TEXMFLOCAL/fonts/conf/ and then edit the
>    file $TEXMFLOCAL/fonts/conf/fonts.conf to include
>    the line <dir>C:/texlive/texmf-local/fonts/opentype</dir>

Don't do the above.
Confirm that there is a directory
C:/texlive/2009/texmf-var/fonts/conf/conf.d.
And add a file
C:/texlive/2009/texmf-var/fonts/conf/local.conf
with the following contents:


<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- 
local.conf
Additional dirs for fontconfig. Subdirs are searched automatically.
-->

<dir>c:/texlive/texmf-local/fonts/opentype</dir>

</fontconfig>



More information about the tex-live mailing list