[Tex/LaTex] Arch Linux: fontspec does not find system fonts

fontsfontspecluatex

I am running an Arch Linux / Windows 7 dual boot laptop.

The windows partition is mounted under arch and i made the windows fonts usable with ln -s /windows/Windows/fonts/ /usr/share/fonts/WindowsFonts

This works, every program besides luaLaTeX with fontspec has acces to the fonts, e.g. libreoffice.

But i am not able to use the fonts with:

\usepackage{fontspec}
\setmaintfont{Comic Sans MS}

The result is the font-not-found message from fontspec.
Under the Windows 7 partition it works just fine.

Any idea?

Best Answer

I found the solution: Lua uses a font name data base, which I had to update using the command:

luaotfload-tool --update
Related Question