summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-22 23:29:08 +0000
committerKarl Berry <karl@freefriends.org>2023-02-22 23:29:08 +0000
commit9df4a9b84b307f051875a931b80bf85b0d898e76 (patch)
tree03b22b3255766601ee55fcefee0a6055563f1a0c
parentffe608f9ab664f2920a6bbeaa46763b8fd7faff8 (diff)
pxchfon (23feb23)
git-svn-id: svn://tug.org/texlive/trunk@66064 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/platex/pxchfon/LICENSE2
-rw-r--r--Master/texmf-dist/doc/platex/pxchfon/README-ja.md4
-rw-r--r--Master/texmf-dist/doc/platex/pxchfon/README.md2
-rw-r--r--Master/texmf-dist/doc/platex/pxchfon/pxchfon.pdfbin259368 -> 260539 bytes
-rw-r--r--Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex4
-rw-r--r--Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty18
-rw-r--r--Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty2
7 files changed, 21 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/platex/pxchfon/LICENSE b/Master/texmf-dist/doc/platex/pxchfon/LICENSE
index b8fb4381056..72d5a31c9e3 100644
--- a/Master/texmf-dist/doc/platex/pxchfon/LICENSE
+++ b/Master/texmf-dist/doc/platex/pxchfon/LICENSE
@@ -1,6 +1,6 @@
The MIT License
-Copyright (c) 2009-2021 Takayuki YATO (aka. "ZR")
+Copyright (c) 2009-2023 Takayuki YATO (aka. "ZR")
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/Master/texmf-dist/doc/platex/pxchfon/README-ja.md b/Master/texmf-dist/doc/platex/pxchfon/README-ja.md
index ca6cfefbdcb..024382d0319 100644
--- a/Master/texmf-dist/doc/platex/pxchfon/README-ja.md
+++ b/Master/texmf-dist/doc/platex/pxchfon/README-ja.md
@@ -54,6 +54,8 @@ MITライセンスの下で配布される。
更新履歴
--------
+ * Version 1.9a ‹2023/02/22›
+ - バグ修正。
* Version 1.9 ‹2021/05/30›
- 中国語・韓国語の多ウェイト設定に対応。
- マップファイル読込用の `use` オプションを新設。
@@ -203,7 +205,7 @@ MITライセンスの下で配布される。
* Version 0.2a ‹2009/05/31›
- `noalphabet` 指定時には PXcjk0.sfd を読む必要はなかったので、説明を訂正
した。
- * Version 0.2 ‹2009/03/29]
+ * Version 0.2 ‹2009/03/29›
- 最初の公開版。
--------------------
diff --git a/Master/texmf-dist/doc/platex/pxchfon/README.md b/Master/texmf-dist/doc/platex/pxchfon/README.md
index 6e9c5b4d802..fd2ca76ec68 100644
--- a/Master/texmf-dist/doc/platex/pxchfon/README.md
+++ b/Master/texmf-dist/doc/platex/pxchfon/README.md
@@ -39,6 +39,8 @@ This package is distributed under the MIT License.
Revision History
----------------
+ * Version 1.9a ‹2023/02/22›
+ - Bug fix.
* Version 1.9 ‹2021/05/30›
- Support multi-weight settings for Chinese/Korean fonts.
- Add `use` option.
diff --git a/Master/texmf-dist/doc/platex/pxchfon/pxchfon.pdf b/Master/texmf-dist/doc/platex/pxchfon/pxchfon.pdf
index 8950e219deb..1fb821c5e67 100644
--- a/Master/texmf-dist/doc/platex/pxchfon/pxchfon.pdf
+++ b/Master/texmf-dist/doc/platex/pxchfon/pxchfon.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex b/Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex
index eef9576bb6b..e49ca26e8f5 100644
--- a/Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex
+++ b/Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex
@@ -16,8 +16,8 @@
\bxtexlogoimport{*}
\usepackage{shortvrb}
\MakeShortVerb{\|}
-\newcommand{\PkgVersion}{1.9}
-\newcommand{\PkgDate}{2021/05/30}
+\newcommand{\PkgVersion}{1.9a}
+\newcommand{\PkgDate}{2023/02/22}
\newcommand{\Pkg}[1]{\textsf{#1}}
\newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$}
\newcommand{\Note}{\par\noindent ※}
diff --git a/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty b/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty
index 7bf8a52c775..8c94cb3ab65 100644
--- a/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty
+++ b/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty
@@ -1,7 +1,7 @@
%%
%% This is file 'pxchfon.sty'.
%%
-%% Copyright (c) 2009-2021 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2009-2023 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxchfon}[2021/05/30 v1.9]
+\ProvidesPackage{pxchfon}[2023/02/22 v1.9a]
\def\pxcz@pkgname{pxchfon}
%--------------------------------------- general
@@ -83,8 +83,14 @@
%% \ifpxcz@uptex
\newif\ifpxcz@uptex \pxcz@uptexfalse
-\edef\pxcz@tmpa{\string\ucs}\edef\pxcz@tmpb{\meaning\ucs}
-\ifx\pxcz@tmpa\pxcz@tmpb \pxcz@uptextrue \fi
+\def\pxcz@do#1#2{%
+ \edef\pxcz@tmpa{\string#1}\edef\pxcz@tmpb{\meaning#1}%
+ \ifx\pxcz@tmpa\pxcz@tmpb #2\fi}
+\pxcz@do\ucs{%
+ \pxcz@do\ptexversion{\pxcz@uptextrue}
+ \pxcz@do\kchardef{\pxcz@uptextrue}
+ % only upTeX in Unicode is seen as upTeX
+ \ifnum\ucs"3000="3000 \else \pxcz@uptexfalse \fi}
%% \pxcz@JYn
\edef\pxcz@JYn{%
@@ -544,7 +550,7 @@
\fi
\fi
-%% 'replace-lecacycode' requires the 'pxufont' package
+%% 'replace-legacycode' requires the 'pxufont' package
\ifnum\pxcz@legacycode=\pxcz@legacycode@replace
\ifnum\pxcz@pxufont@avail<1
\PackageError\pxcz@pkgname
@@ -1419,7 +1425,7 @@
}{%else
\ifnum\pxcz@directunicode<\pxcz@directunicode@all\else
\pxcz@diruni@oktrue % directunicode* does not need otf
- \AtBeginDocument{% to laod otf later causes inconsistency
+ \AtBeginDocument{% loading otf later causes inconsistency
\@ifpackageloaded{otf}{\pxcz@diruni@okfalse}{}}%
\fi
}
diff --git a/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty b/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty
index 1b243e9893d..542eba412a3 100644
--- a/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty
+++ b/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty
@@ -1,7 +1,7 @@
%%
%% This is file 'pxjafont.sty'.
%%
-%% Copyright (c) 2009-2020 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2009-2023 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%