summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/oberdiek/hologo.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/oberdiek/hologo.sty')
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/hologo.sty12
1 files changed, 4 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/generic/oberdiek/hologo.sty b/Master/texmf-dist/tex/generic/oberdiek/hologo.sty
index 29167201e6a..642bce61e03 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/hologo.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/hologo.sty
@@ -1337,16 +1337,12 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}%
\def\HOLOGO@IfCharExists#1{%
\ifnum
\directlua{%
- if luaotfload and luaotfload.aux then %
- if luaotfload.aux.font_has_glyph(font.current(), \number#1) then %
- tex.print("1") %
- end %
- elseif font and font.fonts and font.current then %
- local f = font.fonts[font.current()] %
+ if font and font.fonts and font.current then %
+ local f = font.fonts[font.current()]%
if f.characters and f.characters[\number#1] then %
- tex.print("1") %
+ tex.print("1")%
end %
- end %
+ end%
}0=\ltx@zero
\expandafter\ltx@secondoftwo
\else