• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: コミット

ソースコードの管理場所


コミットメタ情報

リビジョンed64d27736be9a78c693f1cdd5086ff558330c68 (tree)
日時2019-08-21 12:47:25
作者Hironori Kitagawa <h_kitagawa2001@yaho...>
コミッターHironori Kitagawa

ログメッセージ

\DeclareErrorKanjiFont (as in platex/a9fa3a9, and ltfssbas.dtx 2019/07/09

変更サマリ

差分

--- a/src/patches/lltjdefs.sty
+++ b/src/patches/lltjdefs.sty
@@ -3,7 +3,7 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\ProvidesPackage{lltjdefs}[2019/05/01 Default font settings of LuaTeX-ja]
6+\ProvidesPackage{lltjdefs}[2019/08/21 Default font settings of LuaTeX-ja]
77
88 \ifdefined\ltj@stdmcfont\else\def\ltj@stdmcfont{IPAExMincho}\fi
99 \ifdefined\ltj@stdgtfont\else\def\ltj@stdgtfont{IPAExGothic}\fi
@@ -17,6 +17,10 @@
1717
1818 \DeclareKanjiEncodingDefaults{}{}
1919 \DeclareErrorKanjiFont{JY3}{mc}{m}{n}{10}
20+\kanjifamily{mc}
21+\kanjiseries{m}
22+\kanjishape{n}
23+\fontsize{10}{10}
2024 \DeclareYokoKanjiEncoding{JY3}{}{}
2125 \DeclareKanjiSubstitution{JY3}{mc}{m}{n}
2226 \DeclareTateKanjiEncoding{JT3}{}{}
--- a/src/patches/lltjfont.sty
+++ b/src/patches/lltjfont.sty
@@ -3,7 +3,7 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\ProvidesPackage{lltjfont}[2019/01/29 Patch to NFSS2 for LuaTeX-ja]
6+\ProvidesPackage{lltjfont}[2019/08/21 Patch to NFSS2 for LuaTeX-ja]
77
88 \def\ltj@chardef@text@cmd#1{%
99 \let\@ifdefinable\@@ifdefinable%
@@ -228,6 +228,7 @@
228228 \def\default@series{#3}%
229229 \def\default@shape{#4}}%
230230 \fi}
231+\@onlypreamble\DeclareKanjiSubstitution
231232 \def\DeclareErrorKanjiFont#1#2#3#4#5{%
232233 \xdef\error@kfontshape{%
233234 \noexpand\expandafter\noexpand\split@name\noexpand\string
@@ -236,12 +237,7 @@
236237 \gdef\default@k@family{#2}%
237238 \gdef\default@k@series{#3}%
238239 \gdef\default@k@shape{#4}%
239- \global\let\k@family\default@k@family
240- \global\let\k@series\default@k@series
241- \global\let\k@shape\default@k@shape
242- \gdef\f@size{#5}%
243- \gdef\f@baselineskip{#5pt}}
244-\@onlypreamble\DeclareKanjiSubstitution
240+ }
245241 \@onlypreamble\DeclareErrorKanjiFont
246242
247243 \newif\ifltjselectfont@force@define
旧リポジトリブラウザで表示