Merge pull request #156 from benjamin-weiss/font-loading-fix

fixes #152 – fixes conditional font loading for LuaTeX
This commit is contained in:
Matthias Vogelgesang 2015-11-24 09:00:39 +01:00
commit ae6aede844
3 changed files with 2 additions and 0 deletions

View File

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

Binary file not shown.

View File

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