summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-utex-helper.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-utex-helper.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-utex-helper.sty6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-utex-helper.sty b/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-utex-helper.sty
index b92e0f6f3cc..70ed932fe96 100644
--- a/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-utex-helper.sty
+++ b/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-utex-helper.sty
@@ -14,7 +14,7 @@
%
\@ifpackageloaded{fontawesome5}{}{\PackageError{fontawesome5-utex-helper}{This package should not be loaded individually. Load fontawesome5 instead.}{}}
-\ProvidesExplPackage{fontawesome5-utex-helper}{2019/01/28}{5.7.0}{uTeX helper for fontawesome5}
+\ProvidesExplPackage{fontawesome5-utex-helper}{2019/03/20}{5.8.0}{uTeX helper for fontawesome5}
\sys_if_engine_luatex:TF{
\RequirePackage{luatexbase}
@@ -27,7 +27,7 @@
\group_end:
}
\cs_set:Nn\__fontawesome_glyphindex:n{
- \lua_now_x:n{tex.sprint(font.getfont(font.current()).resources.unicodes[token.scan_string()]~or~0)}{\str_if_eq:eeTF{stop}{#1}{square}{#1}}
+ \lua_now_x:n{tex.sprint(font.getfont(font.current()).resources.unicodes["\lua_escape_x:n{#1}"]~or~0)}
}
\cs_set_eq:NN\__fontawesome_glyph:w\tex_char:D
}{
@@ -52,7 +52,7 @@
\group_end:
}
\cs_set:Nn\__fontawesome_glyphindex:n{
- \the\xetex_glyphindex:D"\str_if_eq:eeTF{stop}{#1}{square}{#1}"\scan_stop:
+ \the\xetex_glyphindex:D"#1"\scan_stop:
}
\cs_set_eq:NN\__fontawesome_glyph:w\xetex_glyph:D
}