From fd0dfa3927eaebb76a8b26edb3b466913de33521 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 26 Apr 2020 21:43:04 +0000 Subject: pxchfon (26apr20) git-svn-id: svn://tug.org/texlive/trunk@54895 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex/platex') diff --git a/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty b/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty index 23b76158e65..27214b23297 100644 --- a/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty +++ b/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty @@ -10,7 +10,7 @@ %% package declaration \NeedsTeXFormat{pLaTeX2e} -\ProvidesPackage{pxchfon}[2020/02/01 v1.7b] +\ProvidesPackage{pxchfon}[2020/04/25 v1.7c] \def\pxcz@pkgname{pxchfon} %--------------------------------------- general @@ -1586,6 +1586,13 @@ % if not okay, use OT1 instead \ifpxcz@ok\else \def\pxcz@afont@enc{OT1}\fi} +%% \pxcz@set@bfdefault@to@bx{} +\pxcz@onlypreamble@let\pxcz@set@bfdefault@to@bx\@gobble +\ifx\DeclareFontSeriesDefault\@undefined\else + \def\pxcz@set@bfdefault@to@bx#1{% + \DeclareFontSeriesDefault[#1]{bf}{bx}} +\fi + %% the begin-document hook \pxcz@onlypreamble@def\pxcz@doc@hook{% \pxcz@user@hook @@ -1596,13 +1603,16 @@ \pxcz@inspect@flavor@all \fi \ifpxcz@alpha % 'alphabet' - \pxcz@check@alldefined{mnl,mnr,mnb}% - \ifpxcz@ok \renewcommand\rmdefault{cfjar}\fi - \pxcz@check@alldefined{gtr,gtb,gtx}% - \ifpxcz@ok \renewcommand\sfdefault{cfjas}\fi + \pxcz@check@alldefined{mnl,mnr,mnb}\ifpxcz@ok + \renewcommand\rmdefault{cfjar}% + \pxcz@set@bfdefault@to@bx{rm}% + \fi + \pxcz@check@alldefined{gtr,gtb,gtx}\ifpxcz@ok + \renewcommand\sfdefault{cfjas}% + \pxcz@set@bfdefault@to@bx{sf}% + \fi % attach hook to \mgfamily if mgr font is defined - \pxcz@check@alldefined{mgr} - \ifpxcz@ok\ifpxcz@otf@deluxe + \pxcz@check@alldefined{mgr}\ifpxcz@ok\ifpxcz@otf@deluxe \begingroup \def\pxcz@x##1{\toks@\expandafter{##1}% \xdef##1{\noexpand\pxcz@mgfamily@hook\the\toks@}% -- cgit v1.2.3