From: Hironori Kitagawa Date: Mon, 3 Feb 2020 19:31:35 +0000 (+0900) Subject: lltjfont.sty: fix X-Git-Tag: 20200209.0~3 X-Git-Url: http://git.osdn.net/view?p=luatex-ja%2Fluatexja.git;a=commitdiff_plain;h=16d08fad502d01b3f1c2bbef50071547c3b4c3d0 lltjfont.sty: fix --- diff --git a/src/patches/lltjfont.sty b/src/patches/lltjfont.sty index 15aa40d..137706b 100644 --- a/src/patches/lltjfont.sty +++ b/src/patches/lltjfont.sty @@ -3,7 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjfont}[2020/01/31 Patch to NFSS2 for LuaTeX-ja] +\ProvidesPackage{lltjfont}[2020/02/04 Patch to NFSS2 for LuaTeX-ja] %% patching \DeclareTextComposite \def\ltj@chardef@text@cmd#1{% @@ -621,7 +621,8 @@ \ifx\@reserveda\@empty \edef\k@shape{#2}% \else - \maybe@load@fontshape + \begingroup\let\f@encoding\k@encoding\let\f@family\k@family + \maybe@load@fontshape\endgroup \edef\@reserveda{\k@encoding /\k@family /\k@series/#1}% \ifcsname \@reserveda\endcsname \edef\k@shape{#1}%