• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: コミット

ソースコードの管理場所


コミットメタ情報

リビジョンa629bf420f819164123df1cb0fcb93f58d5f9ba9 (tree)
日時2020-01-13 15:00:27
作者Hironori Kitagawa <h_kitagawa2001@yaho...>
コミッターHironori Kitagawa

ログメッセージ

fixed warning message of Japanese font substitution

変更サマリ

差分

--- a/src/patches/lltjdefs.sty
+++ b/src/patches/lltjdefs.sty
@@ -84,11 +84,11 @@
8484 \fi
8585
8686 \ifdefined\fontseriesforce
87-\def\bfseries@mc{bx}
88-\def\bfseries@gt{bx}
87+\edef\bfseries@mc{\bfdefault}
88+\edef\bfseries@gt{\bfdefault}
8989 \def\bfseries@jtt{\bfseries@gt}
90-\def\mdseries@mc{m}
91-\def\mdseries@gt{m}
90+\edef\mdseries@mc{\mddefault}
91+\edef\mdseries@gt{\mddefault}
9292 \def\mdseries@jtt{\mdseries@gt}
9393 \fi
9494
--- a/src/patches/lltjfont.sty
+++ b/src/patches/lltjfont.sty
@@ -602,10 +602,10 @@
602602 \else
603603 \ifcsname \k@encoding /\k@family /#2/\k@shape \endcsname
604604 \set@target@kanji@series{#2}%
605- \@font@shape@subst@warning
605+ {\let\curr@fontshape\curr@kfontshape\@font@shape@subst@warning}%
606606 \else
607607 \set@target@kanji@series{#3}%
608- \@font@shape@subst@warning
608+ {\let\curr@fontshape\curr@kfontshape\@font@shape@subst@warning}%
609609 \fi
610610 \fi
611611 \fi
@@ -629,10 +629,10 @@
629629 \else
630630 \ifcsname \k@encoding /\k@family /\k@series/#2\endcsname
631631 \edef\k@shape{#2}%
632- \@font@shape@subst@warning
632+ {\let\curr@fontshape\curr@kfontshape\@font@shape@subst@warning}%
633633 \else
634634 \edef\k@shape{#3}%
635- \@font@shape@subst@warning
635+ {\let\curr@fontshape\curr@kfontshape\@font@shape@subst@warning}%
636636 \fi
637637 \fi
638638 \fi
旧リポジトリブラウザで表示