From 22d3a7ddeb2b2637308cf883f9bd3590e649aa20 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sat, 18 Jan 2020 03:01:23 +0000
Subject: CTAN sync 202001180301

---
 fonts/fontawesome5/tex/fontawesome5-utex-helper.sty | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'fonts/fontawesome5/tex/fontawesome5-utex-helper.sty')

diff --git a/fonts/fontawesome5/tex/fontawesome5-utex-helper.sty b/fonts/fontawesome5/tex/fontawesome5-utex-helper.sty
index 8ab66fa882..f2d9f8f0b7 100644
--- a/fonts/fontawesome5/tex/fontawesome5-utex-helper.sty
+++ b/fonts/fontawesome5/tex/fontawesome5-utex-helper.sty
@@ -24,7 +24,7 @@
   \endinput
 }
 
-\ProvidesExplPackage{fontawesome5-utex-helper}{2020/01/15}{5.12.0}{uTeX helper for fontawesome5}
+\ProvidesExplPackage{fontawesome5-utex-helper}{2020/01/17}{5.12.0.1}{uTeX helper for fontawesome5}
 
 \sys_if_engine_luatex:TF{
   \RequirePackage{luatexbase}
@@ -47,8 +47,8 @@
   \cs_new:Nn\__fontawesome_analyze_font:nn{
     \group_begin:
       \usefont{TU}{fontawesome#1}{#2}{n}
-      \int_step_inline:nnnn{67}1{\XeTeXcountglyphs\font-1}{
-        \tl_set:No\l_tmpa_tl{\XeTeXglyphname\font##1}
+      \int_step_inline:nnnn{67}1{\tex_XeTeXcountglyphs:D \tex_font:D - 1} {
+        \tl_set:No\l_tmpa_tl{\tex_XeTeXglyphname:D \tex_font:D ##1}
         \regex_match:NVF\c__fontawesome_alt_regex\l_tmpa_tl{
           \tl_set:NV\l_tmpb_tl\l_tmpa_tl
           \tl_put_left:No\l_tmpb_tl{\char_generate:nn{92}{12}fa-}
@@ -62,9 +62,9 @@
     \group_end:
   }
   \cs_set:Nn\__fontawesome_glyphindex:n{
-    \the\tex_glyphindex:D"#1"\scan_stop:
+    \the\tex_XeTeXglyphindex:D"#1"\scan_stop:
   }
-  \cs_set_eq:NN\__fontawesome_glyph:w\tex_glyph:D
+  \cs_set_eq:NN\__fontawesome_glyph:w\tex_XeTeXglyph:D
 }
 \__fontawesome_analyze_font:nn{\c__fontawesome_kind_tl}{solid}
 \__fontawesome_analyze_font:nn{brands}{regular}
-- 
cgit v1.2.3

