Arch Linux

https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#60808 - [texlive-core] lualatex does not search the font cache

Attached to Project: Arch Linux
Opened by Jouke Witteveen (jouke) - Wednesday, 14 November 2018, 20:04 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 20 July 2019, 17:13 GMT
Task Type Bug Report Packages: Extra Closed Rémy Oudompheng (remyoudompheng) All Low Normal Undecided Undecided 0 No

Details

Consider the following TeX document:
----
\documentclass{article}

\usepackage{bbm}

\begin{document}
$\mathbbm{1}$
\end{document}
----

When compiling with pdflatex, the font files for the bbm font are created in the local cache (~/.texlive/texmf-var/fonts) only if they do not exist. When the fonts do exist in the cache, they are used without warning.

When compiling with lualatex, the font files are created every time. When the fonts exist, this results in a simple warning ("mktexpk: [...] already exists."). Trying to create the fonts slows down compilation noticeably.

I am not sure whether this is a misconfiguration of texmf.cnf (or maybe texmfcnf.lua), or a bug in lualatex/kpathsea.