summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/platex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-26 21:43:04 +0000
committerKarl Berry <karl@freefriends.org>2020-04-26 21:43:04 +0000
commitfd0dfa3927eaebb76a8b26edb3b466913de33521 (patch)
treeb8f0ce2028d5ebbf69037e7da5fde427addab1bf /Master/texmf-dist/tex/platex
parent2ab030e67655c294df651d0b1b8d155af6832df2 (diff)
pxchfon (26apr20)
git-svn-id: svn://tug.org/texlive/trunk@54895 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex')
-rw-r--r--Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty24
1 files changed, 17 insertions, 7 deletions
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{<doc-ser>}
+\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@}%