From a629bf420f819164123df1cb0fcb93f58d5f9ba9 Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Mon, 13 Jan 2020 15:00:27 +0900 Subject: [PATCH] fixed warning message of Japanese font substitution --- src/patches/lltjdefs.sty | 8 ++++---- src/patches/lltjfont.sty | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/patches/lltjdefs.sty b/src/patches/lltjdefs.sty index f6d4e3e..1006cce 100644 --- a/src/patches/lltjdefs.sty +++ b/src/patches/lltjdefs.sty @@ -84,11 +84,11 @@ \fi \ifdefined\fontseriesforce -\def\bfseries@mc{bx} -\def\bfseries@gt{bx} +\edef\bfseries@mc{\bfdefault} +\edef\bfseries@gt{\bfdefault} \def\bfseries@jtt{\bfseries@gt} -\def\mdseries@mc{m} -\def\mdseries@gt{m} +\edef\mdseries@mc{\mddefault} +\edef\mdseries@gt{\mddefault} \def\mdseries@jtt{\mdseries@gt} \fi diff --git a/src/patches/lltjfont.sty b/src/patches/lltjfont.sty index 7600a70..3e159bf 100644 --- a/src/patches/lltjfont.sty +++ b/src/patches/lltjfont.sty @@ -602,10 +602,10 @@ \else \ifcsname \k@encoding /\k@family /#2/\k@shape \endcsname \set@target@kanji@series{#2}% - \@font@shape@subst@warning + {\let\curr@fontshape\curr@kfontshape\@font@shape@subst@warning}% \else \set@target@kanji@series{#3}% - \@font@shape@subst@warning + {\let\curr@fontshape\curr@kfontshape\@font@shape@subst@warning}% \fi \fi \fi @@ -629,10 +629,10 @@ \else \ifcsname \k@encoding /\k@family /\k@series/#2\endcsname \edef\k@shape{#2}% - \@font@shape@subst@warning + {\let\curr@fontshape\curr@kfontshape\@font@shape@subst@warning}% \else \edef\k@shape{#3}% - \@font@shape@subst@warning + {\let\curr@fontshape\curr@kfontshape\@font@shape@subst@warning}% \fi \fi \fi -- 2.11.0