6

I just updated my MiKTeX packages (and also did FNDB refreshes, updmap and everything and also already tried a complete fresh install), but now I suddenly get loads of errors telling me that my fonts are not found, for example:

fontspec error: "font-not-found" The font "Philosopher-Regular" cannot be found.

At first I thought that some packages are missing because of the November Package Refactoring (https://miktex.org/alert/package-refactoring-2016-11). But for some of my fonts this can't be the reason, because I load some font files like this, which also triggers this error:

\newfontfamily\PhilosopherRegular[Path=../]{Philosopher-Regular.ttf}

And these files are in my git repository (and it compiled just fine before the update on the exact same code).

What ways do I have to attack this error?

15
  • You can reinstall the font as a system font and compile with xelatex.
    – Bernard
    Nov 4, 2016 at 21:11
  • Are you using luatex? If so, did you rebuild the luatex font cache? The MikTeX update FNDB and and styles does not do that for you. Easiest wasy to rebuild the cache is to find it and trash it.
    – user103221
    Nov 4, 2016 at 21:12
  • @Bernard What If I have Lua code? Is XeLaTeX able to parse it just like LuaLaTeX?
    – Foo Bar
    Nov 4, 2016 at 21:13
  • which luatex version do you have now? Nov 4, 2016 at 21:14
  • @Foo Bar: No, I don't think so.
    – Bernard
    Nov 4, 2016 at 21:15

1 Answer 1

12

The current luaotfload on CTAN doesn't work with luatex 1.0 now used by miktex. As a work-around:

Get the prerelease of luaotfload https://github.com/lualatex/luaotfload/releases. Use the tds.zip, unpack it somewhere outside miktex and add the root folder as a new root with miktex settings. When luaotfload is updated in miktex one can easily remove this root from miktex settings.

2
  • @Crowley the official luaotfload works fine currently in miktex. I have no idea what problem you can have, the problem from this question is long gone. Nov 7, 2018 at 16:43
  • I've found out that I dont have the font at the first place. My problem was a fasle alarm, sorry for bothering you.
    – Crowley
    Nov 7, 2018 at 17:26

You must log in to answer this question.

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