mirror of https://github.com/matze/mtheme.git
fixes #152 – fixes conditional font loading for LuaTeX
This commit is contained in:
parent
330386f9b1
commit
1d842a2f63
|
@ -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.
|
@ -54,6 +54,7 @@
|
|||
\newcommand{\checkfont}[1]{%
|
||||
\suppressfontnotfounderror=1%
|
||||
\font\x = "#1" at 10pt
|
||||
\selectfont
|
||||
\ifx\x\nullfont%
|
||||
\stepcounter{fontsnotfound}%
|
||||
\fi%
|
||||
|
|
Loading…
Reference in New Issue