[XeTeX] Strange behaviour xelatex/fontspec/Windows

Ulrike Fischer news3 at nililand.de
Sun Sep 25 18:46:27 CEST 2011

Am Sat, 24 Sep 2011 21:20:22 +0200 schrieb
rhino64 at postmail.ch:

> Hi All,
> When using xelatex and fontspec (from updated TeXLive 2011)
> and specifying font by file name under Windows,
> The font cannot be loaded and a strange error message
> saying the name contains a blank is displayed.

> If the font is installed in the Windows font directory,
> the document can be typesetted.

You will have to track down the fontconfig configuration files. As
windows doesn't have a system wide fontconfig, TeXlive must (like
miktex) bring a fontconfig with it along with configuration files.
Miktex uses fonts.conf, localfonts.conf and localfonts2.conf - the
last can be used for user additions. 

Perhaps the documentation for unix can help you to find out how to
configure fontconfig for texlive on windows:


> This problem does not arise with LuaLatex 

Luatex (luaotfload) use another method to find fonts.
Ulrike Fischer 

More information about the XeTeX mailing list