fixes #152 – fixes conditional font loading for LuaTeX

This commit is contained in:
Benjamin Weiss 2015-11-23 22:10:11 +01:00
parent 330386f9b1
commit 1d842a2f63
3 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@
\newcommand{\checkfont}[1]{%
\suppressfontnotfounderror=1%
\font\x = "#1" at 10pt
\selectfont
\ifx\x\nullfont%
\stepcounter{fontsnotfound}%
\fi%

Binary file not shown.

View File

@ -54,6 +54,7 @@
\newcommand{\checkfont}[1]{%
\suppressfontnotfounderror=1%
\font\x = "#1" at 10pt
\selectfont
\ifx\x\nullfont%
\stepcounter{fontsnotfound}%
\fi%