OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2908d3e
)
lltjfont.sty: fix
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Mon, 3 Feb 2020 19:31:35 +0000
(
04:31
+0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Mon, 3 Feb 2020 19:31:35 +0000
(
04:31
+0900)
src/patches/lltjfont.sty
patch
|
blob
|
history
diff --git
a/src/patches/lltjfont.sty
b/src/patches/lltjfont.sty
index
15aa40d
..
137706b
100644
(file)
--- a/
src/patches/lltjfont.sty
+++ b/
src/patches/lltjfont.sty
@@
-3,7
+3,7
@@
%
\NeedsTeXFormat{LaTeX2e}
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{lltjfont}[2020/0
1/31
Patch to NFSS2 for LuaTeX-ja]
+\ProvidesPackage{lltjfont}[2020/0
2/04
Patch to NFSS2 for LuaTeX-ja]
%% patching \DeclareTextComposite
\def\ltj@chardef@text@cmd#1{%
%% patching \DeclareTextComposite
\def\ltj@chardef@text@cmd#1{%
@@
-621,7
+621,8
@@
\ifx\@reserveda\@empty
\edef\k@shape{#2}%
\else
\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}%
\edef\@reserveda{\k@encoding /\k@family /\k@series/#1}%
\ifcsname \@reserveda\endcsname
\edef\k@shape{#1}%