# [Dev-luatex] Not searching the font cache

Jouke Witteveen j.witteveen at gmail.com
Sat Nov 17 09:10:48 CET 2018

Hi,

I ran into an inconvenience with lualatex and would like some help debugging it.

Consider the following .tex file:
----
documentclass{article}

\usepackage{bbm}

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

When compiling with pdflatex, the font file for the bbm font is
created in the local cache (~/.texlive/texmf-var/fonts) only if it
does not exist. When the font exists in the cache, it is used without
warning.

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

How do I go about debugging this? The fact that pdflatex has no
problems suggests that this is not an issue with my texmf.cnf, right?

Regards,
- Jouke