Closed alexpovel closed 2 years ago
It is possible that the font cache is corrupted after moving fonts around.
For example, if previously all fonts were in a flat ./fonts/
subdirectory of your document root, and then you decide to sort them into ./fonts/sans/
etc., the luatex cache will still point to the old ones.
See here and also, similarly, here for a solution: delete the .lua
and .luc
files of the fonts in question from luatex-cache/generic/fonts/
.
For MiKTeX 2.9 on Windows 10, this was found in %USERPROFILE%\AppData\Local\MiKTeX\2.9\luatex-cache
.
This issue will not occur if using Docker with the proper image, since things are sorted out there.
Original issue (2021-10-18): https://collaborating.tuhh.de/alex/latex-cookbook/-/issues/10
When using package
fontspec
(or its derivativeunicode-math
), compilation fails withWhat happened here and how can it be fixed?