I can not get fontconfig
, which XeLaTeX relies on, to recognize fonts that are in the Fonts folder as shortcuts (to fonts in other folders). fc-cache
and fc-list
ignore the shortcuts, which do not appear using the dir
command.
Am I doing something wrong?
Best Answer
You can modify the configuration file
fonts.conf
offontconfig
library.TeX Live
For TeX Live 2011, if you install it in e.g.
C:\texlive
, openC:\texlive\2011\texmf-var\fonts\conf\fonts.conf
, there should be these lines:You can add some lines as you wish.
MiKTeX
If you are using MiKTeX (installed in
C:\miktex
for example), you can seeC:\miktex\fontconfig\config\fonts.conf
and follow guide lines in the comments of the file. In fact, you should then openlocalfonts.conf
to see the predefined directories, and then create alocalfonts2.conf
to add your own paths.In
fonts.conf
:And this is
localfonts.conf
: