diff options
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty index 3e94cfba81f..efd3360b9eb 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty +++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty @@ -12,22 +12,19 @@ (lltjp-microtype.sty, 2019-11-08) may not work} \patchcmd\MT@register@font {\xdef\MT@font@list{\MT@font@list\MT@font,}}% - {\directlua{luatexja.jfont.is_kenc('\luatexluaescapestring{\f@encoding}')}% - \unless\ifin@ + {\ltj@@is@kenc{\f@encoding}\unless\ifin@ \xdef\MT@font@list{\MT@font@list\MT@font,}% \fi }{}{} \patchcmd\MT@register@subst@font {\xdef\MT@font@list{\MT@font@list\font@name,}}% - {\directlua{luatexja.jfont.is_kenc('\luatexluaescapestring{\f@encoding}')}% - \unless\ifin@ + {\ltj@@is@kenc{\f@encoding}\unless\ifin@ \xdef\MT@font@list{\MT@font@list\font@name,}% \fi}{}{} \let\ltj@MT@tracking@\MT@tracking@ \patchcmd\MT@tracking@ {\xdef\MT@tr@font@list{\MT@tr@font@list\MT@font,}}% - {\directlua{luatexja.jfont.is_kenc('\luatexluaescapestring{\f@encoding}')}% - \unless\ifin@ + {\ltj@@is@kenc{\f@encoding}\unless\ifin@ \xdef\MT@tr@font@list{\MT@tr@font@list\MT@font,}% \fi}{}{} \ifx\MT@tracking\ltj@MT@tracking@\let\MT@tracking\MT@tracking@\fi |