3

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?

1 Answer 1

3

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

luaotfload-tool --update
6
  • 1
    What version of Luaotfload do you run? You can find out running luaotfload-tool --version. The current version (2.5) should update the font index automatically if a font couldn’t be found, unless you explicitly disabled the updates in the configuration file. In any case it should work on Arch because that’s the platform it is being developed on. If not then you most likely found a bug. Commented Jul 26, 2014 at 16:28
  • I keep my packages up to date, so it's the version currently delivered by the texlive packages. Version is 2.4.-3
    – MaxNoe
    Commented Jul 26, 2014 at 16:39
  • 3
    That’s an old one and it had the bug you describe. Unfortunately, the TeX packages in most distros are crap and Arch is no exception. You could install a current TeX live yourself, otherwise you will have to wait for the Arch maintainers to catch up. Commented Jul 26, 2014 at 16:53
  • Probably the Best solution
    – MaxNoe
    Commented Jul 26, 2014 at 17:58
  • 1
    i installed texlive 2014 from tug and the AUR texlive-dummy package now and everything seems to work fine
    – MaxNoe
    Commented Jul 27, 2014 at 18:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .