summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-04 23:50:15 +0000
committerKarl Berry <karl@freefriends.org>2017-06-04 23:50:15 +0000
commit750e0d15a865e73e76bb8f44cd4fbf4d753af28d (patch)
tree3d8bb08288e3591b2b235bd371bb328ba61e2f67 /Master
parent06bdf39cb22e68650de215aef8bf137ca7ce5366 (diff)
pxchfon (1jun17)
git-svn-id: svn://tug.org/texlive/trunk@44459 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/platex/pxchfon/README-ja.md8
-rw-r--r--Master/texmf-dist/doc/platex/pxchfon/README.md6
-rw-r--r--Master/texmf-dist/doc/platex/pxchfon/pxchfon.pdfbin249490 -> 252930 bytes
-rw-r--r--Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex121
-rw-r--r--Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty651
-rw-r--r--Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty14
6 files changed, 483 insertions, 317 deletions
diff --git a/Master/texmf-dist/doc/platex/pxchfon/README-ja.md b/Master/texmf-dist/doc/platex/pxchfon/README-ja.md
index c2ec42a21b5..606b3e5e1f4 100644
--- a/Master/texmf-dist/doc/platex/pxchfon/README-ja.md
+++ b/Master/texmf-dist/doc/platex/pxchfon/README-ja.md
@@ -62,6 +62,14 @@ MITライセンスの下で配布される。
更新履歴
--------
+ * Version 1.0 ‹2017/05/31›
+ - オプション `directunicode*` を追加。
+ - 非推奨のプリセットに対してエラーを出す。
+ - pxjafont パッケージを非推奨とする。
+ - `directunicode*` については OTF パッケージの読込を不要とした。
+ - (試験的) オプション `unicode*` を追加。
+ ※新しい dvipdfmx の「OpenType 属性指定」機能を利用したもの。
+ - (試験的) プリセット `sourcehan(-otc)`、`noto(-otc)` を追加。
* Version 0.9 ‹2017/04/08›
- オプション `directunicode*` を追加。
- 非推奨のプリセットに対して警告を出す。
diff --git a/Master/texmf-dist/doc/platex/pxchfon/README.md b/Master/texmf-dist/doc/platex/pxchfon/README.md
index ab5e2d5cdfc..6a8fc89548e 100644
--- a/Master/texmf-dist/doc/platex/pxchfon/README.md
+++ b/Master/texmf-dist/doc/platex/pxchfon/README.md
@@ -38,6 +38,12 @@ This package is distributed under the MIT License.
Revision History
----------------
+ * Version 1.0 ‹2017/05/31›
+ - The long-deprecated presets are now abolished.
+ - The package pxjafont is deprecated.
+ - Now `directunicode*` does not need japanese-otf.
+ - (experimental) Option `unicode*`.
+ - (experimental) Presets `sourcehan(-otc)` and `noto(-otc)`.
* Version 0.9 ‹2017/04/08›
- Option `directunicode*`.
* Version 0.8 ‹2017/01/13›
diff --git a/Master/texmf-dist/doc/platex/pxchfon/pxchfon.pdf b/Master/texmf-dist/doc/platex/pxchfon/pxchfon.pdf
index 073d24fc402..f386efb77f9 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 c0ab1689ac6..8cbacb8224a 100644
--- a/Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex
+++ b/Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex
@@ -10,8 +10,8 @@
\usepackage{metalogo}
\usepackage{shortvrb}
\MakeShortVerb{\|}
-\newcommand{\PkgVersion}{0.9}
-\newcommand{\PkgDate}{2017/04/08}
+\newcommand{\PkgVersion}{1.0}
+\newcommand{\PkgDate}{2017/05/31}
\newcommand{\Pkg}[1]{\textsf{#1}}
\newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$}
\newcommand{\Note}{\par\noindent ※}
@@ -44,8 +44,6 @@ dvipdfmx 専用である。
0.5 版での拡張で、{\pTeX}において広く行われているフォント設定
(IPA フォントの使用等)をパッケージオプション一つで
行う機能を追加した。
-(この機能は元々、別の \Pkg{PXjafont} パッケージとして
-提供されていたものである。)
%===========================================================
\section{前提環境}
@@ -334,8 +332,9 @@ dvipdfmx 専用である。
場合にも有用である。
そこで、{\pTeX}において広く行われている設定をパッケージ内に
組み込んで、パッケージオプションでそれを呼び出すという機能を追加した。
-元々は\Pkg{PXjafont}という別のパッケージで提供されていた機能であるが、
-0.5版からこのパッケージに組み入れることにした。
+\footnote{元々は\Pkg{PXjafont}という別のパッケージで
+提供されていた機能であるが、
+0.5版からこのパッケージに組み入れることにした。}
パッケージオプションにプリセット名を指定すると予め決められたフォント
ファイル名が |\setminchofont| 等の命令で設定される。
@@ -640,6 +639,36 @@ dvipdfmx 専用である。
\end{verbatim}\end{quote}
\end{itemize}
+以下は試験的なプリセット設定である。
+\Note 具体的な設定内容は未確定のため割愛する。
+\Note 種々の事情のため、現状の実装では日本語用の設定のために
+繁体中国語等の日本語以外のフォントも利用している。
+従って、言語別OTF版のフォントファイルを利用する場合は、
+原則的に全てのCJK言語の版を用意する必要がある。
+
+\begin{itemize}
+\item |sourcehan-otc|\Means
+ Source Han Serif(源ノ明朝)+ Source Han Sans(源ノ角ゴシック)、
+ OTC版。
+ \Note |SourceHanSerif-Regular.ttc|、|SourceHanSans-Regular.ttc|等。
+
+\item |sourcehan|\Means
+ Source Han Serif(源ノ明朝)+ Source Han Sans(源ノ角ゴシック)、
+ 言語別OTF版。
+ \Note |SourceHanSerif-Regular.otf|、|SourceHanSans-Regular.otf|等。
+
+\item |noto-otc|\Means
+ Noto Serif CJK + Noto Sans CJK、
+ OTC版。
+ \Note |NotoSerifCJK-Regular.ttc|、|NotoSansCJK-Regular.ttc|等。
+
+\item |noto|\Means
+ Noto Serif CJK + Noto Sans CJK、
+ 言語別OTF版。
+ \Note |NotoSerifCJKjp-Regular.otf|、|NotoSansCJKjp-Regular.otf|等。
+
+\end{itemize}
+
なお、以上の設定で登場したフォントのうち、
「HG丸ゴシックM-PRO」
は欧文が等幅でないので |alphabet| オプション指定と
@@ -665,53 +694,31 @@ dvipdfmx 専用である。
は\Pkg{ptex-fontmaps}のものと同義になる予定である。}
%-------------------
-\subsection{旧版のオプション}
+\subsection{廃止されたオプション}
-0.5版以前で用意されていたプリセット設定。
-現在は非推奨となっている。
-\Note これらの非推奨のオプションは1.0版で廃止予定であり、
-0.9版以降で使用すると警告が出る。
+以下に挙げるのは、0.5版以降で非推奨となっていたプリセット設定である。
+これらは1.0版において\textgt{廃止}されたため、
+現在は使用するとエラーが発生する。
\begin{itemize}
\item |ipa-otf|\Means
- 「拡張子が |.otf| の」IPAフォントを使用する。
-\begin{quote}\small\begin{verbatim}
-\setminchofont{ipam.otf} % IPA明朝
-\setgothicfont{ipag.otf} % IPAゴシック
-\end{verbatim}\end{quote}
-
+ 「拡張子が |.otf| の」IPAフォント。
+ \Note 代替のプリセットはない。
\item |ipa-dx|\Means
「拡張子が |.otf| の」IPAフォント + HGフォント。
- \Note |ipa-hg| とIPAフォントの拡張子を除いて同じ。
-
+ \Note 代替のプリセットはない。
\item |kozuka4|\Means
小塚フォント(Pro版)の単ウェイト使用。
-\begin{quote}\small\begin{verbatim}
-\setminchofont{KozMinPro-Regular-Acro.otf} % 小塚明朝 Pro R
-\setgothicfont{KozGoPro-Medium-Acro.otf} % 小塚ゴシック Pro M
-\end{verbatim}\end{quote}
-
+ \Note |kozuka-pro|+|oneweight| オプションで代替可能。
\item |kozuka6|\Means
小塚フォント(Pr6版)の単ウェイト使用。
-\begin{quote}\small\begin{verbatim}
-\setminchofont{KozMinProVI-Regular.otf} % 小塚明朝 Pro-VI R
-\setgothicfont{KozGoProVI-Medium.otf} % 小塚ゴシック Pro-VI M
-\end{verbatim}\end{quote}
-
+ \Note |kozuka-pr6|+|oneweight| オプションで代替可能。
\item |kozuka6n|\Means
小塚フォント(Pr6n版)の単ウェイト使用。
-\begin{quote}\small\begin{verbatim}
-\setminchofont{KozMinPr6N-Regular.otf} % 小塚明朝 Pr6N R
-\setgothicfont{KozGoPr6N-Medium.otf} % 小塚ゴシック Pr6N M
-\end{verbatim}\end{quote}
-
+ \Note |kozuka-prn|+|oneweight| オプションで代替可能。
\item |hiragino|\Means
ヒラギノフォントの単ウェイト使用。
-\begin{quote}\small\begin{verbatim}
-\setminchofont{HiraMinPro-W3.otf} % ヒラギノ明朝 Pro W3
-\setgothicfont{HiraKakuPro-W6.otf} % ヒラギノ角ゴ Pro W6
-\end{verbatim}\end{quote}
-
+ \Note |hiragino-pro|+|oneweight| オプションで代替可能。
\item |ms-dx|\Means |ms-hg| の別名。
\item |ipa-ttf|\Means |ipa| の別名。
\item |ipa-ttf-dx|\Means |ipa-hg| の別名。
@@ -905,24 +912,19 @@ r-cfjas-x-@PXcjk0@ msgothic.ttc FontIndex=0
\end{verbatim}\end{quote}
%===========================================================
-\section{pxjafontパッケージの更新}
+\section{pxjafontパッケージ}
-{\sffamily
-\Pkg{PXjafont}バンドル0.2版をインストールしている場合の注意。}
+現在の版の\Pkg{pxchfon}パッケージは旧来の\Pkg{pxjafont}の機能を
+取り込んでいるため、\Pkg{pxjafont}は不要である。
+古い環境との互換性のため\Pkg{pxjafont}を残していたが、
+1.0版において\Pkg{pxjafont}の使用を非推奨の扱いとした。
+(近い将来に廃止予定。)
-現在の版の\Pkg{pxchfon}パッケージは\Pkg{pxjafont}の機能を
-取り込んでいるため、\Pkg{pxjafont}は不要となり、
-そのため現在の版は\Pkg{pxjafont}と一緒に使えない。
-何らかの理由で引き続き\Pkg{pxjafont}パッケージを使いたい場合は、
-既にインストールされている |pxjafont.sty| を
-本バンドルの\Pkg{PXjafont}ディレクトリにある %
-|pxjafont.sty|(\Pkg{pxjafont}パッケージ 0.5 版)
-で置き換えればよい。
+\Pkg{pxjafont}を利用しているユーザは、
+\ref{sec:Preset}節を参照して現在の\Pkg{pxchfon}用の
+適切な設定に書き直す必要がある。
-この新しい\Pkg{pxjafont}パッケージは処理を全て\Pkg{pxchfon}に
-渡すという動作をする。
-|ipa| オプションの意味が異なる(\ref{sec:Preset}節参照)
-のを除けば\Pkg{pxjafont} 0.2版と同じ動作である。
+\Note 古いプリセット名の中に廃止されたものがあるので注意。
%===========================================================
\section{中国語・韓国語フォントへの対応}
@@ -954,10 +956,13 @@ r-cfjas-x-@PXcjk0@ msgothic.ttc FontIndex=0
\item プリセット指定は中国語・韓国語のフォントについては何も指定しない。
従って、上記の命令を用いない場合は、これらのフォントのマップ再設定が
行われることはない。
-\item |directunicode| 指定は中国語・韓国語のフォントに対しても有効である。
-ただし日本語の場合と同じく、効果の範囲は
-「\Pkg{OTF}パッケージのUnicode入力命令」(|\UTFK|、|\UTFM|、等)
-に限られる。
+\item |directunicode(*)| 指定は中国語・韓国語のフォントに対しても
+有効である。
+効果の範囲は日本語の場合と同様で、
+|directunicode| では「\Pkg{OTF}パッケージのUnicode入力命令」
+(|\UTFK|、|\UTFM|、等)が対象となり、
+|directunicode*| ではこれに加えて{\upTeX}標準のフォントも
+対象になる。
\end{itemize}
%===========================================================
diff --git a/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty b/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty
index 3bbf3de30e3..b3041e77703 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}[2017/04/08 v0.9]
+\ProvidesPackage{pxchfon}[2017/05/31 v1.0]
\def\pxcz@pkgname{pxchfon}
%%%% definitions
@@ -59,6 +59,7 @@
\newif\ifpxcz@oneweight
\DeclareOption{oneweight}{\pxcz@oneweighttrue}
\DeclareOption{nooneweight}{\pxcz@oneweightfalse}
+\newif\ifpxcz@uniquify
\chardef\pxcz@directunicode=0
\DeclareOption{directunicode*}{\chardef\pxcz@directunicode=2 }
\DeclareOption{directunicode}{\chardef\pxcz@directunicode=1 }
@@ -73,6 +74,7 @@
kozuka-pro,kozuka-pr6,kozuka-pr6n,hiragino-pro,hiragino-pron,%
hiragino-elcapitan-pro,hiragino-elcapitan-pron,%
morisawa-pro,morisawa-pr6n,yu-win,yu-win10,yu-osx,%
+ sourcehan-otc,sourcehan,noto-otc,noto%
%(obsolete)
ipa-otf,ipa-otf-dx,kozuka4,kozuka6,kozuka6n,hiragino,%
%(alias)
@@ -83,24 +85,35 @@
\def\pxcz@do#1{\DeclareOption{#1}{\def\pxcz@main@preset{#1}}}
\@for\pxcz@x:=\pxcz@all@main@preset\do{%
\expandafter\pxcz@do\expandafter{\pxcz@x}}
-% file-preset handler
+% others
+\def\pxcz@opt@@unicode{unicode}
+\def\pxcz@opt@@unicodeS{unicode*}
\DeclareOption*{%
- \let\pxcz@x\relax
- \expandafter\pxcz@popt\CurrentOption\@nnil
- \ifx\pxcz@x\relax \@unknownoptionerror
- \else \let\pxcz@file@preset\pxcz@x \fi}
+ \ifx\CurrentOption\pxcz@opt@@unicode
+ \chardef\pxcz@directunicode=3
+ \else\ifx\CurrentOption\pxcz@opt@@unicodeS
+ \pxcz@uniquifytrue
+ \chardef\pxcz@directunicode=3
+ \else
+ \pxcz@parse@opt\CurrentOption
+ \ifpxcz@ok\else \@unknownoptionerror \fi
+ \fi\fi}
\let\pxcz@file@preset\relax
\newif\ifpxcz@file@preset@tl
-\def\pxcz@popt{%
- \futurelet\pxcz@tok\pxcz@popt@a}
-\def\pxcz@popt@a{%
+\def\pxcz@parse@opt#1{%
+ \expandafter\pxcz@parse@opt@a#1\@nnil}
+\def\pxcz@parse@opt@a{%
+ \futurelet\pxcz@tok\pxcz@parse@opt@b}
+\def\pxcz@parse@opt@b{%
+ \pxcz@okfalse
\let\pxcz@tmpa\remove@to@nnil
\ifx+\pxcz@tok
- \pxcz@file@preset@tltrue \let\pxcz@tmpa\pxcz@popt@b
+ \pxcz@file@preset@tltrue \let\pxcz@tmpa\pxcz@parse@opt@c
\else\ifx*\pxcz@tok
- \pxcz@file@preset@tlfalse \let\pxcz@tmpa\pxcz@popt@b
+ \pxcz@file@preset@tlfalse \let\pxcz@tmpa\pxcz@parse@opt@c
\fi\fi \pxcz@tmpa}
-\def\pxcz@popt@b#1#2\@nnil{\edef\pxcz@x{#2}}
+\def\pxcz@parse@opt@c#1#2\@nnil{%
+ \edef\pxcz@file@preset{#2}}
% dispatch
\ProcessOptions*
% 'everypage' needs 'atbegshi' package
@@ -157,6 +170,24 @@
\newif\ifpxcz@otf@multi \pxcz@otf@multifalse
\@ifpackagewith{otf}{multi}{\pxcz@otf@multitrue}{}
+%%------------------ preset-triggered setup
+
+%% \pxcz@if@main@preset{<name>}{<code>}
+\def\pxcz@if@main@preset#1{%
+ \edef\pxcz@tmpa{#1}%
+ \ifx\pxcz@main@preset\pxcz@tmpa \expandafter\@firstofone
+ \else \expandafter\@gobble
+ \fi}
+%% setup
+\pxcz@if@main@preset{sourcehan}{%
+ \chardef\pxcz@directunicode=3 \pxcz@uniquifyfalse}
+\pxcz@if@main@preset{sourcehan-otc}{%
+ \chardef\pxcz@directunicode=3 \pxcz@uniquifyfalse}
+\pxcz@if@main@preset{noto}{%
+ \chardef\pxcz@directunicode=3 \pxcz@uniquifyfalse}
+\pxcz@if@main@preset{noto-otc}{%
+ \chardef\pxcz@directunicode=3 \pxcz@uniquifyfalse}
+
%%------------------ user interface
%%%%<*> \setminchofont/\setgothicfont/etc.
@@ -188,7 +219,7 @@
}\do{\@namedef{pxcz@FS/\pxcz@x}{}}
%%------------------ '\asUTF'
-% NB. This feature is superseded by the pxasutf package.
+% NB. This feature is superseded by the \diruni command.
\ifpxcz@uptex
%%<*> \asUTF{<jachar>}
@@ -307,11 +338,34 @@
% NB: not \edef
\def\pxcz@MI#1#2:{\ifpxcz@mmivjis:#1:\else:#2:\fi}
-%% \pxcz@unidirect
+%% \pxcz@SH
+% NB: not \edef
+\def\pxcz@SH#1{%
+ \ifx#1/\expandafter\pxcz@SH@otf@dif
+ \else \expandafter\pxcz@SH@otc@dif
+ \fi}
+\def\pxcz@SH@otc@dif#1:{%
+ :\the\pxcz@entry@type:}
+\def\pxcz@SH@otf@dif#1-{%
+ #1\ifcase\pxcz@entry@type\or K\or SC\fi-}
+
+%% \pxcz@NC
+% NB: not \edef
+\def\pxcz@NC#1{%
+ \ifx#1/\expandafter\pxcz@NC@otf@dif
+ \else \expandafter\pxcz@NC@otc@dif
+ \fi}
+\def\pxcz@NC@otc@dif#1:{%
+ :\the\pxcz@entry@type:}
+\def\pxcz@NC@otf@dif#1jp{%
+ #1\ifcase\pxcz@entry@type\or kr\or sc\fi}
+
+%% primary macros
\let\pxcz@unidirect\@empty
\let\pxcz@unidirectX\@empty
\let\pxcz@unidirect@wopt\@empty
\let\pxcz@unidirectX@wopt\@empty
+\let\pxcz@unidirectX@lopt\@gobble
\ifnum\pxcz@directunicode>\z@
\def\pxcz@unidirect#1-#2-#3{\pxcz@cmap@directuni}
\def\pxcz@unidirect@wopt{ -w 1}
@@ -320,12 +374,31 @@
\let\pxcz@unidirectX\pxcz@unidirect
\let\pxcz@unidirectX@wopt\pxcz@unidirect@wopt
\fi
+\ifnum\pxcz@directunicode>\tw@
+\def\pxcz@unidirectX@lopt#1{ -l #1}
+\fi
+%% secondary macros
+\def\pxcz@entry@UniJIS{\@+\pxcz@pfx@unijis}%
+\def\pxcz@entry@@hwid{\@l{hwid}}%
+\def\pxcz@entry@@fwid{\@l{fwid}}%
+\def\pxcz@entry@@jp#1#2{\@l{jp#1#2}}%
+\ifpxcz@mmivjis
+\def\pxcz@entry@@jpXX{\@l{jp04}}
+\else
+\def\pxcz@entry@@jpXX{\@l{jp90}}
+\fi
+\ifpxcz@uniquify
+\let\pxcz@entry@@hwid\pxcz@entry@@jpXX
+\let\pxcz@entry@@fwid\pxcz@entry@@jpXX
+\fi
%% \pxcz@addtospec{<id>}
\def\pxcz@addtospec#1{%
\bgroup \let\Entry\pxcz@Entry
- \let\ \space \let\*\pxcz@pfx@jis
- \def\UniJIS{\pxcz@unidirectX\pxcz@pfx@unijis}%
+ \let\ \space \let\*\pxcz@pfx@jis
+ \let\UniJIS\pxcz@entry@UniJIS
+ \let\@hwid\pxcz@entry@@hwid \let\@fwid\pxcz@entry@@fwid
+ \let\@jp\pxcz@entry@@jp \let\@jpXX\pxcz@entry@@jpXX
\@nameuse{pxcz@ME/#1}\egroup}
\def\pxcz@Entry#1{%
\expandafter\let\expandafter\FONT\csname pxcz@FS/#1\endcsname
@@ -333,19 +406,22 @@
\ifx\FONT\pxcz@noembed
\let\UniCMap\pxcz@cmap@hwuni
\let\+\@empty \let\w\@empty \def\@+{}\let\@w\@empty
+ \let\@l\@gobble
\edef\FONT{!\@nameuse{pxcz@NEF/#1}}%
\let\FONTo\FONT \let\FONTs\FONT
\else\ifx\FONT\@empty\else
\let\UniCMap\pxcz@cmap@uni
\let\+\pxcz@unidirect \let\w\pxcz@unidirect@wopt
\def\@+{\pxcz@unidirectX}\let\@w\pxcz@unidirectX@wopt
+ \let\@l\pxcz@unidirectX@lopt
\pxcz@switch@realfont
\fi\fi
- \ifx\FONT\@empty \expandafter\@gobble
+ \ifx\FONT\@empty \expandafter\@gobbletwo
\else \expandafter\pxcz@entry@a \fi}
-\def\pxcz@entry@a#1{%
+\def\pxcz@entry@a#1#2{%
+ \chardef\pxcz@entry@type=#1\relax
\xdef\pxcz@spec{%
- \pxcz@spec\noexpand\special{\pxcz@mapline{#1}}}}
+ \pxcz@spec\noexpand\special{\pxcz@mapline{#2}}}}
\let\pxcz@spec\@empty
%% \pxcz@do@file@preset
@@ -377,213 +453,199 @@
\def\pxcz@mapentry@a#1{\@onlypreamble#1\def#1}
%%%% map entries
+% \FONT: file name for the 2004JIS font
+% \FONTo: file name for the 90JIS font
+% \FONTs: \FONT if prefer2004jis, \FONTo otherwise
+% \*H: 2004-H if prefer2004jis, H otherwise
+% \UniJIS: UniJIS2004 if prefer2004jis, UniJIS otherwise
+% \+Uni...-H: replaced by 'unicode' if directunicode
+% \@+Uni...-H: replaced by 'unicode' if directunicode*
+% \w: '-w 1' if directunicode
+% \@w: '-w 1' if directunicode*
\pxcz@mapentry{STD}{%
-\Entry{mnr}{rml \*H \FONTs}%
-\Entry{mnr}{rmlv \*V \FONTs}%
-\Entry{gtu}{gbm \*H \FONTs}%
-\Entry{gtu}{gbmv \*V \FONTs}%
+\Entry{mnr}0{rml \*H \FONTs}%
+\Entry{mnr}0{rmlv \*V \FONTs}%
+\Entry{gtu}0{gbm \*H \FONTs}%
+\Entry{gtu}0{gbmv \*V \FONTs}%
}
\pxcz@mapentry{ALPHA}{%
-\Entry{mnl}{r-cfjar-l-@PXcjk0@ \UniCMap\ \FONT}%
-\Entry{mnr}{r-cfjar-r-@PXcjk0@ \UniCMap\ \FONT}%
-\Entry{mnb}{r-cfjar-b-@PXcjk0@ \UniCMap\ \FONT}%
-\Entry{gtr}{r-cfjas-r-@PXcjk0@ \UniCMap\ \FONT}%
-\Entry{gtb}{r-cfjas-b-@PXcjk0@ \UniCMap\ \FONT}%
-\Entry{gtx}{r-cfjas-x-@PXcjk0@ \UniCMap\ \FONT}%
-\Entry{mgr}{r-cfjas-r-@PXcjk0@ \UniCMap\ \FONT}%
+\Entry{mnl}1{r-cfjar-l-@PXcjk0@ \UniCMap\ \FONT\@hwid}%
+\Entry{mnr}1{r-cfjar-r-@PXcjk0@ \UniCMap\ \FONT\@hwid}%
+\Entry{mnb}1{r-cfjar-b-@PXcjk0@ \UniCMap\ \FONT\@hwid}%
+\Entry{gtr}1{r-cfjas-r-@PXcjk0@ \UniCMap\ \FONT\@hwid}%
+\Entry{gtb}1{r-cfjas-b-@PXcjk0@ \UniCMap\ \FONT\@hwid}%
+\Entry{gtx}1{r-cfjas-x-@PXcjk0@ \UniCMap\ \FONT\@hwid}%
+\Entry{mgr}1{r-cfjas-r-@PXcjk0@ \UniCMap\ \FONT\@hwid}%
}
\pxcz@mapentry{UTF}{%
-\Entry{mnr}{unijmin-h \UniJIS-UTF16-H \FONTs}%
-\Entry{mnr}{unijmin-v \UniJIS-UTF16-V \FONTs\@w}%
-\Entry{mnr}{cidmin-h Identity-H \FONT/AJ16}%
-\Entry{mnr}{cidmin-v Identity-V \FONT/AJ16}%
-\Entry{mnr}{hmr \*H \FONTs}%
-\Entry{mnr}{hmrv \*V \FONTs}%
-\Entry{gtu}{unijgoth-h \UniJIS-UTF16-H \FONTs}%
-\Entry{gtu}{unijgoth-v \UniJIS-UTF16-V \FONTs\@w}%
-\Entry{gtu}{cidgoth-h Identity-H \FONT/AJ16}%
-\Entry{gtu}{cidgoth-v Identity-V \FONT/AJ16}%
-\Entry{gtu}{hkb \*H \FONTs}%
-\Entry{gtu}{hkbv \*V \FONTs}%
+\Entry{mnr}0{unijmin-h \UniJIS-UTF16-H \FONTs}%
+\Entry{mnr}0{unijmin-v \UniJIS-UTF16-V \FONTs\@w}%
+\Entry{mnr}0{cidmin-h Identity-H \FONT/AJ16}%
+\Entry{mnr}0{cidmin-v Identity-V \FONT/AJ16}%
+\Entry{mnr}0{hmr \*H \FONTs}%
+\Entry{mnr}0{hmrv \*V \FONTs}%
+\Entry{gtu}0{unijgoth-h \UniJIS-UTF16-H \FONTs}%
+\Entry{gtu}0{unijgoth-v \UniJIS-UTF16-V \FONTs\@w}%
+\Entry{gtu}0{cidgoth-h Identity-H \FONT/AJ16}%
+\Entry{gtu}0{cidgoth-v Identity-V \FONT/AJ16}%
+\Entry{gtu}0{hkb \*H \FONTs}%
+\Entry{gtu}0{hkbv \*V \FONTs}%
}
\pxcz@mapentry{OTF}{%
-\Entry{mnl}{otf-ujml-h \+UniJIS-UTF16-H \FONTo}%
-\Entry{mnl}{otf-ujml-v \+UniJIS-UTF16-V \FONTo\w}%
-\Entry{mnl}{otf-cjml-h Identity-H \FONT/AJ16}%
-\Entry{mnl}{otf-cjml-v Identity-V \FONT/AJ16}%
-\Entry{mnl}{hminl-h H \FONTo}%
-\Entry{mnl}{hminl-v V \FONTo}%
-\Entry{mnl}{otf-ujmln-h \+UniJIS2004-UTF16-H \FONT}%
-\Entry{mnl}{otf-ujmln-v \+UniJIS2004-UTF16-V \FONT\w}%
-\Entry{mnl}{hminln-h H \FONT}%
-\Entry{mnl}{hminln-v V \FONT}%
-\Entry{mnr}{otf-ujmr-h \+UniJIS-UTF16-H \FONTo}%
-\Entry{mnr}{otf-ujmr-v \+UniJIS-UTF16-V \FONTo\w}%
-\Entry{mnr}{otf-cjmr-h Identity-H \FONT/AJ16}%
-\Entry{mnr}{otf-cjmr-v Identity-V \FONT/AJ16}%
-\Entry{mnr}{hminr-h H \FONTo}%
-\Entry{mnr}{hminr-v V \FONTo}%
-\Entry{mnr}{otf-ujmrn-h \+UniJIS2004-UTF16-H \FONT}%
-\Entry{mnr}{otf-ujmrn-v \+UniJIS2004-UTF16-V \FONT\w}%
-\Entry{mnr}{hminrn-h H \FONT}%
-\Entry{mnr}{hminrn-v V \FONT}%
-\Entry{mnb}{otf-ujmb-h \+UniJIS-UTF16-H \FONTo}%
-\Entry{mnb}{otf-ujmb-v \+UniJIS-UTF16-V \FONTo\w}%
-\Entry{mnb}{otf-cjmb-h Identity-H \FONT/AJ16}%
-\Entry{mnb}{otf-cjmb-v Identity-V \FONT/AJ16}%
-\Entry{mnb}{hminb-h H \FONTo}%
-\Entry{mnb}{hminb-v V \FONTo}%
-\Entry{mnb}{otf-ujmbn-h \+UniJIS2004-UTF16-H \FONT}%
-\Entry{mnb}{otf-ujmbn-v \+UniJIS2004-UTF16-V \FONT\w}%
-\Entry{mnb}{hminbn-h H \FONT}%
-\Entry{mnb}{hminbn-v V \FONT}%
-\Entry{gtr}{otf-ujgr-h \+UniJIS-UTF16-H \FONTo}%
-\Entry{gtr}{otf-ujgr-v \+UniJIS-UTF16-V \FONTo\w}%
-\Entry{gtr}{otf-cjgr-h Identity-H \FONT/AJ16}%
-\Entry{gtr}{otf-cjgr-v Identity-V \FONT/AJ16}%
-\Entry{gtr}{hgothr-h H \FONTo}%
-\Entry{gtr}{hgothr-v V \FONTo}%
-\Entry{gtr}{otf-ujgrn-h \+UniJIS2004-UTF16-H \FONT}%
-\Entry{gtr}{otf-ujgrn-v \+UniJIS2004-UTF16-V \FONT\w}%
-\Entry{gtr}{hgothrn-h H \FONT}%
-\Entry{gtr}{hgothrn-v V \FONT}%
-\Entry{gtb}{otf-ujgb-h \+UniJIS-UTF16-H \FONTo}%
-\Entry{gtb}{otf-ujgb-v \+UniJIS-UTF16-V \FONTo\w}%
-\Entry{gtb}{otf-cjgb-h Identity-H \FONT/AJ16}%
-\Entry{gtb}{otf-cjgb-v Identity-V \FONT/AJ16}%
-\Entry{gtb}{hgothb-h H \FONTo}%
-\Entry{gtb}{hgothb-v V \FONTo}%
-\Entry{gtb}{otf-ujgbn-h \+UniJIS2004-UTF16-H \FONT}%
-\Entry{gtb}{otf-ujgbn-v \+UniJIS2004-UTF16-V \FONT\w}%
-\Entry{gtb}{hgothbn-h H \FONT}%
-\Entry{gtb}{hgothbn-v V \FONT}%
-\Entry{gtx}{otf-ujge-h \+UniJIS-UTF16-H \FONTo}%
-\Entry{gtx}{otf-ujge-v \+UniJIS-UTF16-V \FONTo\w}%
-\Entry{gtx}{otf-cjge-h Identity-H \FONT/AJ16}%
-\Entry{gtx}{otf-cjge-v Identity-V \FONT/AJ16}%
-\Entry{gtx}{hgotheb-h H \FONTo}%
-\Entry{gtx}{hgotheb-v V \FONTo}%
-\Entry{gtx}{otf-ujgen-h \+UniJIS2004-UTF16-H \FONT}%
-\Entry{gtx}{otf-ujgen-v \+UniJIS2004-UTF16-V \FONT\w}%
-\Entry{gtx}{hgothebn-h H \FONT}%
-\Entry{gtx}{hgothebn-v V \FONT}%
-\Entry{mgr}{otf-ujmgr-h \+UniJIS-UTF16-H \FONTo}%
-\Entry{mgr}{otf-ujmgr-v \+UniJIS-UTF16-V \FONTo\w}%
-\Entry{mgr}{otf-cjmgr-h Identity-H \FONT/AJ16}%
-\Entry{mgr}{otf-cjmgr-v Identity-V \FONT/AJ16}%
-\Entry{mgr}{hmgothr-h H \FONTo}%
-\Entry{mgr}{hmgothr-v V \FONTo}%
-\Entry{mgr}{otf-ujmgrn-h \+UniJIS2004-UTF16-H \FONT}%
-\Entry{mgr}{otf-ujmgrn-v \+UniJIS2004-UTF16-V \FONT\w}%
-\Entry{mgr}{hmgothrn-h H \FONT}%
-\Entry{mgr}{hmgothrn-v V \FONT}%
+\Entry{mnl}0{otf-ujml-h \+UniJIS-UTF16-H \FONTo\@jp90}%
+\Entry{mnl}0{otf-ujml-v \+UniJIS-UTF16-V \FONTo\w\@jp90}%
+\Entry{mnl}0{otf-cjml-h Identity-H \FONT/AJ16}%
+\Entry{mnl}0{otf-cjml-v Identity-V \FONT/AJ16}%
+\Entry{mnl}0{hminl-h H \FONTo}%
+\Entry{mnl}0{hminl-v V \FONTo}%
+\Entry{mnl}0{otf-ujmln-h \+UniJIS2004-UTF16-H \FONT\@jp04}%
+\Entry{mnl}0{otf-ujmln-v \+UniJIS2004-UTF16-V \FONT\w\@jp04}%
+\Entry{mnl}0{hminln-h H \FONT}%
+\Entry{mnl}0{hminln-v V \FONT}%
+\Entry{mnr}0{otf-ujmr-h \+UniJIS-UTF16-H \FONTo\@jp90}%
+\Entry{mnr}0{otf-ujmr-v \+UniJIS-UTF16-V \FONTo\w\@jp90}%
+\Entry{mnr}0{otf-cjmr-h Identity-H \FONT/AJ16}%
+\Entry{mnr}0{otf-cjmr-v Identity-V \FONT/AJ16}%
+\Entry{mnr}0{hminr-h H \FONTo}%
+\Entry{mnr}0{hminr-v V \FONTo}%
+\Entry{mnr}0{otf-ujmrn-h \+UniJIS2004-UTF16-H \FONT\@jp04}%
+\Entry{mnr}0{otf-ujmrn-v \+UniJIS2004-UTF16-V \FONT\w\@jp04}%
+\Entry{mnr}0{hminrn-h H \FONT}%
+\Entry{mnr}0{hminrn-v V \FONT}%
+\Entry{mnb}0{otf-ujmb-h \+UniJIS-UTF16-H \FONTo\@jp90}%
+\Entry{mnb}0{otf-ujmb-v \+UniJIS-UTF16-V \FONTo\w\@jp90}%
+\Entry{mnb}0{otf-cjmb-h Identity-H \FONT/AJ16}%
+\Entry{mnb}0{otf-cjmb-v Identity-V \FONT/AJ16}%
+\Entry{mnb}0{hminb-h H \FONTo}%
+\Entry{mnb}0{hminb-v V \FONTo}%
+\Entry{mnb}0{otf-ujmbn-h \+UniJIS2004-UTF16-H \FONT\@jp04}%
+\Entry{mnb}0{otf-ujmbn-v \+UniJIS2004-UTF16-V \FONT\w\@jp04}%
+\Entry{mnb}0{hminbn-h H \FONT}%
+\Entry{mnb}0{hminbn-v V \FONT}%
+\Entry{gtr}0{otf-ujgr-h \+UniJIS-UTF16-H \FONTo\@jp90}%
+\Entry{gtr}0{otf-ujgr-v \+UniJIS-UTF16-V \FONTo\w\@jp90}%
+\Entry{gtr}0{otf-cjgr-h Identity-H \FONT/AJ16}%
+\Entry{gtr}0{otf-cjgr-v Identity-V \FONT/AJ16}%
+\Entry{gtr}0{hgothr-h H \FONTo}%
+\Entry{gtr}0{hgothr-v V \FONTo}%
+\Entry{gtr}0{otf-ujgrn-h \+UniJIS2004-UTF16-H \FONT\@jp04}%
+\Entry{gtr}0{otf-ujgrn-v \+UniJIS2004-UTF16-V \FONT\w\@jp04}%
+\Entry{gtr}0{hgothrn-h H \FONT}%
+\Entry{gtr}0{hgothrn-v V \FONT}%
+\Entry{gtb}0{otf-ujgb-h \+UniJIS-UTF16-H \FONTo\@jp90}%
+\Entry{gtb}0{otf-ujgb-v \+UniJIS-UTF16-V \FONTo\w\@jp90}%
+\Entry{gtb}0{otf-cjgb-h Identity-H \FONT/AJ16}%
+\Entry{gtb}0{otf-cjgb-v Identity-V \FONT/AJ16}%
+\Entry{gtb}0{hgothb-h H \FONTo}%
+\Entry{gtb}0{hgothb-v V \FONTo}%
+\Entry{gtb}0{otf-ujgbn-h \+UniJIS2004-UTF16-H \FONT\@jp04}%
+\Entry{gtb}0{otf-ujgbn-v \+UniJIS2004-UTF16-V \FONT\w\@jp04}%
+\Entry{gtb}0{hgothbn-h H \FONT}%
+\Entry{gtb}0{hgothbn-v V \FONT}%
+\Entry{gtx}0{otf-ujge-h \+UniJIS-UTF16-H \FONTo\@jp90}%
+\Entry{gtx}0{otf-ujge-v \+UniJIS-UTF16-V \FONTo\w\@jp90}%
+\Entry{gtx}0{otf-cjge-h Identity-H \FONT/AJ16}%
+\Entry{gtx}0{otf-cjge-v Identity-V \FONT/AJ16}%
+\Entry{gtx}0{hgotheb-h H \FONTo}%
+\Entry{gtx}0{hgotheb-v V \FONTo}%
+\Entry{gtx}0{otf-ujgen-h \+UniJIS2004-UTF16-H \FONT\@jp04}%
+\Entry{gtx}0{otf-ujgen-v \+UniJIS2004-UTF16-V \FONT\w\@jp04}%
+\Entry{gtx}0{hgothebn-h H \FONT}%
+\Entry{gtx}0{hgothebn-v V \FONT}%
+\Entry{mgr}0{otf-ujmgr-h \+UniJIS-UTF16-H \FONTo\@jp90}%
+\Entry{mgr}0{otf-ujmgr-v \+UniJIS-UTF16-V \FONTo\w\@jp90}%
+\Entry{mgr}0{otf-cjmgr-h Identity-H \FONT/AJ16}%
+\Entry{mgr}0{otf-cjmgr-v Identity-V \FONT/AJ16}%
+\Entry{mgr}0{hmgothr-h H \FONTo}%
+\Entry{mgr}0{hmgothr-v V \FONTo}%
+\Entry{mgr}0{otf-ujmgrn-h \+UniJIS2004-UTF16-H \FONT\@jp04}%
+\Entry{mgr}0{otf-ujmgrn-v \+UniJIS2004-UTF16-V \FONT\w\@jp04}%
+\Entry{mgr}0{hmgothrn-h H \FONT}%
+\Entry{mgr}0{hmgothrn-v V \FONT}%
%
\ifpxcz@otf@multi
-\Entry{kom}{otf-ukmr-h \+UniKS-UTF16-H \FONT}%
-\Entry{kom}{otf-ukmr-v \+UniKS-UTF16-V \FONT\w}%
-\Entry{kom}{otf-ckmr-h Identity-H \FONT/AK12}%
-\Entry{kom}{otf-ckmr-v Identity-V \FONT/AK12}%
-\Entry{kog}{otf-ukgr-h \+UniKS-UTF16-H \FONT}%
-\Entry{kog}{otf-ukgr-v \+UniKS-UTF16-V \FONT\w}%
-\Entry{kog}{otf-ckgr-h Identity-H \FONT/AK12}%
-\Entry{kog}{otf-ckgr-v Identity-V \FONT/AK12}%
-\Entry{scm}{otf-ucmr-h \+UniGB-UTF16-H \FONT}%
-\Entry{scm}{otf-ucmr-v \+UniGB-UTF16-V \FONT\w}%
-\Entry{scm}{otf-ccmr-h Identity-H \FONT/AG14}%
-\Entry{scm}{otf-ccmr-v Identity-V \FONT/AG14}%
-\Entry{scg}{otf-ucgr-h \+UniGB-UTF16-H \FONT}%
-\Entry{scg}{otf-ucgr-v \+UniGB-UTF16-V \FONT\w}%
-\Entry{scg}{otf-ccgr-h Identity-H \FONT/AG14}%
-\Entry{scg}{otf-ccgr-v Identity-V \FONT/AG14}%
-\Entry{tcm}{otf-utmr-h \+UniCNS-UTF16-H \FONT}%
-\Entry{tcm}{otf-utmr-v \+UniCNS-UTF16-V \FONT\w}%
-\Entry{tcm}{otf-ctmr-h Identity-H \FONT/AC14}%
-\Entry{tcm}{otf-ctmr-v Identity-V \FONT/AC14}%
-\Entry{tcg}{otf-utgr-h \+UniCNS-UTF16-H \FONT}%
-\Entry{tcg}{otf-utgr-v \+UniCNS-UTF16-V \FONT\w}%
-\Entry{tcg}{otf-ctgr-h Identity-H \FONT/AC14}%
-\Entry{tcg}{otf-ctgr-v Identity-V \FONT/AC14}%
+\Entry{kom}0{otf-ukmr-h \+UniKS-UTF16-H \FONT}%
+\Entry{kom}0{otf-ukmr-v \+UniKS-UTF16-V \FONT\w}%
+\Entry{kom}0{otf-ckmr-h Identity-H \FONT/AK12}%
+\Entry{kom}0{otf-ckmr-v Identity-V \FONT/AK12}%
+\Entry{kog}0{otf-ukgr-h \+UniKS-UTF16-H \FONT}%
+\Entry{kog}0{otf-ukgr-v \+UniKS-UTF16-V \FONT\w}%
+\Entry{kog}0{otf-ckgr-h Identity-H \FONT/AK12}%
+\Entry{kog}0{otf-ckgr-v Identity-V \FONT/AK12}%
+\Entry{scm}0{otf-ucmr-h \+UniGB-UTF16-H \FONT}%
+\Entry{scm}0{otf-ucmr-v \+UniGB-UTF16-V \FONT\w}%
+\Entry{scm}0{otf-ccmr-h Identity-H \FONT/AG14}%
+\Entry{scm}0{otf-ccmr-v Identity-V \FONT/AG14}%
+\Entry{scg}0{otf-ucgr-h \+UniGB-UTF16-H \FONT}%
+\Entry{scg}0{otf-ucgr-v \+UniGB-UTF16-V \FONT\w}%
+\Entry{scg}0{otf-ccgr-h Identity-H \FONT/AG14}%
+\Entry{scg}0{otf-ccgr-v Identity-V \FONT/AG14}%
+\Entry{tcm}0{otf-utmr-h \+UniCNS-UTF16-H \FONT}%
+\Entry{tcm}0{otf-utmr-v \+UniCNS-UTF16-V \FONT\w}%
+\Entry{tcm}0{otf-ctmr-h Identity-H \FONT/AC14}%
+\Entry{tcm}0{otf-ctmr-v Identity-V \FONT/AC14}%
+\Entry{tcg}0{otf-utgr-h \+UniCNS-UTF16-H \FONT}%
+\Entry{tcg}0{otf-utgr-v \+UniCNS-UTF16-V \FONT\w}%
+\Entry{tcg}0{otf-ctgr-h Identity-H \FONT/AC14}%
+\Entry{tcg}0{otf-ctgr-v Identity-V \FONT/AC14}%
\fi
}
\pxcz@mapentry{UPSTD}{%
-\Entry{mnr}{uprml-h \UniJIS-UTF16-H \FONTs}%
-\Entry{mnr}{uprml-v \UniJIS-UTF16-V \FONTs\@w}%
-\Entry{mnr}{uprml-hq \@+UniJIS-UCS2-H \FONT}%
-\Entry{gtu}{upgbm-h \UniJIS-UTF16-H \FONTs}%
-\Entry{gtu}{upgbm-v \UniJIS-UTF16-V \FONTs\@w}%
-\Entry{gtu}{upgbm-hq \@+UniJIS-UCS2-H \FONT}%
-\Entry{mnr}{urml \UniJIS-UTF16-H \FONTs}%
-\Entry{mnr}{urmlv \UniJIS-UTF16-V \FONTs\@w}%
-\Entry{gtu}{ugbm \UniJIS-UTF16-H \FONTs}%
-\Entry{gtu}{ugbmv \UniJIS-UTF16-V \FONTs\@w}%
+\Entry{mnr}0{uprml-h \UniJIS-UTF16-H \FONTs\@jpXX}%
+\Entry{mnr}0{uprml-v \UniJIS-UTF16-V \FONTs\@w\@jpXX}%
+\Entry{mnr}2{uprml-hq \@+UniJIS-UCS2-H \FONT\@fwid}%
+\Entry{gtu}0{upgbm-h \UniJIS-UTF16-H \FONTs\@jpXX}%
+\Entry{gtu}0{upgbm-v \UniJIS-UTF16-V \FONTs\@w\@jpXX}%
+\Entry{gtu}2{upgbm-hq \@+UniJIS-UCS2-H \FONT\@fwid}%
+\Entry{mnr}0{urml \UniJIS-UTF16-H \FONTs\@jpXX}%
+\Entry{mnr}0{urmlv \UniJIS-UTF16-V \FONTs\@w\@jpXX}%
+\Entry{gtu}0{ugbm \UniJIS-UTF16-H \FONTs\@jpXX}%
+\Entry{gtu}0{ugbmv \UniJIS-UTF16-V \FONTs\@w\@jpXX}%
%
-\Entry{kom}{uphysmjm-h \@+UniKS-UTF16-H \FONT}%
-\Entry{kom}{uphysmjm-v \@+UniKS-UTF16-V \FONT\@w}%
-\Entry{kog}{uphygt-h \@+UniKS-UTF16-H \FONT}%
-\Entry{kog}{uphygt-v \@+UniKS-UTF16-V \FONT\@w}%
-\Entry{scm}{upstsl-h \@+UniGB-UTF16-H \FONT}%
-\Entry{scm}{upstsl-v \@+UniGB-UTF16-V \FONT\@w}%
-\Entry{scg}{upstht-h \@+UniGB-UTF16-H \FONT}%
-\Entry{scg}{upstht-v \@+UniGB-UTF16-V \FONT\@w}%
-\Entry{tcm}{upmsl-h \@+UniCNS-UTF16-H \FONT}%
-\Entry{tcm}{upmsl-v \@+UniCNS-UTF16-V \FONT\@w}%
-\Entry{tcg}{upmhm-h \@+UniCNS-UTF16-H \FONT}%
-\Entry{tcg}{upmhm-v \@+UniCNS-UTF16-V \FONT\@w}%
+\Entry{kom}0{uphysmjm-h \@+UniKS-UTF16-H \FONT}%
+\Entry{kom}0{uphysmjm-v \@+UniKS-UTF16-V \FONT\@w}%
+\Entry{kog}0{uphygt-h \@+UniKS-UTF16-H \FONT}%
+\Entry{kog}0{uphygt-v \@+UniKS-UTF16-V \FONT\@w}%
+\Entry{scm}0{upstsl-h \@+UniGB-UTF16-H \FONT}%
+\Entry{scm}0{upstsl-v \@+UniGB-UTF16-V \FONT\@w}%
+\Entry{scg}0{upstht-h \@+UniGB-UTF16-H \FONT}%
+\Entry{scg}0{upstht-v \@+UniGB-UTF16-V \FONT\@w}%
+\Entry{tcm}0{upmsl-h \@+UniCNS-UTF16-H \FONT}%
+\Entry{tcm}0{upmsl-v \@+UniCNS-UTF16-V \FONT\@w}%
+\Entry{tcg}0{upmhm-h \@+UniCNS-UTF16-H \FONT}%
+\Entry{tcg}0{upmhm-v \@+UniCNS-UTF16-V \FONT\@w}%
}
\pxcz@mapentry{UPOTF}{%
-\Entry{mnl}{uphminl-h \@+UniJIS-UTF16-H \FONTs}%
-\Entry{mnl}{uphminl-v \@+UniJIS-UTF16-V \FONTs\@w}%
-\Entry{mnl}{uphminln-h \@+UniJIS2004-UTF16-H \FONTs}%
-\Entry{mnl}{uphminln-v \@+UniJIS2004-UTF16-V \FONTs\@w}%
-\Entry{mnr}{uphminr-h \@+UniJIS-UTF16-H \FONTs}%
-\Entry{mnr}{uphminr-v \@+UniJIS-UTF16-V \FONTs\@w}%
-\Entry{mnr}{uphminrn-h \@+UniJIS2004-UTF16-H \FONTs}%
-\Entry{mnr}{uphminrn-v \@+UniJIS2004-UTF16-V \FONTs\@w}%
-\Entry{mnb}{uphminb-h \@+UniJIS-UTF16-H \FONTs}%
-\Entry{mnb}{uphminb-v \@+UniJIS-UTF16-V \FONTs\@w}%
-\Entry{mnb}{uphminbn-h \@+UniJIS2004-UTF16-H \FONTs}%
-\Entry{mnb}{uphminbn-v \@+UniJIS2004-UTF16-V \FONTs\@w}%
-\Entry{gtr}{uphgothr-h \@+UniJIS-UTF16-H \FONTs}%
-\Entry{gtr}{uphgothr-v \@+UniJIS-UTF16-V \FONTs\@w}%
-\Entry{gtr}{uphgothrn-h \@+UniJIS2004-UTF16-H \FONTs}%
-\Entry{gtr}{uphgothrn-v \@+UniJIS2004-UTF16-V \FONTs\@w}%
-\Entry{gtb}{uphgothb-h \@+UniJIS-UTF16-H \FONTs}%
-\Entry{gtb}{uphgothb-v \@+UniJIS-UTF16-V \FONTs\@w}%
-\Entry{gtb}{uphgothbn-h \@+UniJIS2004-UTF16-H \FONTs}%
-\Entry{gtb}{uphgothbn-v \@+UniJIS2004-UTF16-V \FONTs\@w}%
-\Entry{gtx}{uphgotheb-h \@+UniJIS-UTF16-H \FONTs}%
-\Entry{gtx}{uphgotheb-v \@+UniJIS-UTF16-V \FONTs\@w}%
-\Entry{gtx}{uphgothebn-h \@+UniJIS2004-UTF16-H \FONTs}%
-\Entry{gtx}{uphgothebn-v \@+UniJIS2004-UTF16-V \FONTs\@w}%
-\Entry{mgr}{uphmgothr-h \@+UniJIS-UTF16-H \FONTs}%
-\Entry{mgr}{uphmgothr-v \@+UniJIS-UTF16-V \FONTs\@w}%
-\Entry{mgr}{uphmgothrn-h \@+UniJIS2004-UTF16-H \FONTs}%
-\Entry{mgr}{uphmgothrn-v \@+UniJIS2004-UTF16-V \FONTs\@w}%
-}
-% for 'PXOTF'
-\@onlypreamble\pxcz@entry@pxotf
-\def\pxcz@entry@pxotf#1#2{%
-\Entry{#1}{r-#2-jy1 H \FONT}%
-\Entry{#1}{r-#2-j00 78-H \FONT}%
-\Entry{#1}{r-#2-jt1 V \FONT}%
-\Entry{#1}{r-#2-j10 78-V \FONT}%
-\Entry{#1}{r-#2-jy2 \UniJIS-UTF16-H \FONT}%
-\Entry{#1}{r-#2-j20 UniJIS-UTF16-H \FONT}%
-\Entry{#1}{r-#2-j24 UniJIS2004-UTF16-H \FONT}%
-\Entry{#1}{r-#2-jt2 \UniJIS-UTF16-V \FONT}%
-\Entry{#1}{r-#2-j30 UniJIS-UTF16-V \FONT}%
-\Entry{#1}{r-#2-j34 UniJIS2004-UTF16-V \FONT}%
-\Entry{#1}{r-#2-j40 Identity-H \FONT/AJ16}%
-\Entry{#1}{r-#2-j50 Identity-V \FONT/AJ16}%
+\Entry{mnl}0{uphminl-h \@+UniJIS-UTF16-H \FONTs\@jp90}%
+\Entry{mnl}0{uphminl-v \@+UniJIS-UTF16-V \FONTs\@w\@jp90}%
+\Entry{mnl}0{uphminln-h \@+UniJIS2004-UTF16-H \FONTs\@jp04}%
+\Entry{mnl}0{uphminln-v \@+UniJIS2004-UTF16-V \FONTs\@w\@jp04}%
+\Entry{mnr}0{uphminr-h \@+UniJIS-UTF16-H \FONTs\@jp90}%
+\Entry{mnr}0{uphminr-v \@+UniJIS-UTF16-V \FONTs\@w\@jp90}%
+\Entry{mnr}0{uphminrn-h \@+UniJIS2004-UTF16-H \FONTs\@jp04}%
+\Entry{mnr}0{uphminrn-v \@+UniJIS2004-UTF16-V \FONTs\@w\@jp04}%
+\Entry{mnb}0{uphminb-h \@+UniJIS-UTF16-H \FONTs\@jp90}%
+\Entry{mnb}0{uphminb-v \@+UniJIS-UTF16-V \FONTs\@w\@jp90}%
+\Entry{mnb}0{uphminbn-h \@+UniJIS2004-UTF16-H \FONTs\@jp04}%
+\Entry{mnb}0{uphminbn-v \@+UniJIS2004-UTF16-V \FONTs\@w\@jp04}%
+\Entry{gtr}0{uphgothr-h \@+UniJIS-UTF16-H \FONTs\@jp90}%
+\Entry{gtr}0{uphgothr-v \@+UniJIS-UTF16-V \FONTs\@w\@jp90}%
+\Entry{gtr}0{uphgothrn-h \@+UniJIS2004-UTF16-H \FONTs\@jp04}%
+\Entry{gtr}0{uphgothrn-v \@+UniJIS2004-UTF16-V \FONTs\@w\@jp04}%
+\Entry{gtb}0{uphgothb-h \@+UniJIS-UTF16-H \FONTs\@jp90}%
+\Entry{gtb}0{uphgothb-v \@+UniJIS-UTF16-V \FONTs\@w\@jp90}%
+\Entry{gtb}0{uphgothbn-h \@+UniJIS2004-UTF16-H \FONTs\@jp04}%
+\Entry{gtb}0{uphgothbn-v \@+UniJIS2004-UTF16-V \FONTs\@w\@jp04}%
+\Entry{gtx}0{uphgotheb-h \@+UniJIS-UTF16-H \FONTs\@jp90}%
+\Entry{gtx}0{uphgotheb-v \@+UniJIS-UTF16-V \FONTs\@w\@jp90}%
+\Entry{gtx}0{uphgothebn-h \@+UniJIS2004-UTF16-H \FONTs\@jp04}%
+\Entry{gtx}0{uphgothebn-v \@+UniJIS2004-UTF16-V \FONTs\@w\@jp04}%
+\Entry{mgr}0{uphmgothr-h \@+UniJIS-UTF16-H \FONTs\@jp90}%
+\Entry{mgr}0{uphmgothr-v \@+UniJIS-UTF16-V \FONTs\@w\@jp90}%
+\Entry{mgr}0{uphmgothrn-h \@+UniJIS2004-UTF16-H \FONTs\@jp04}%
+\Entry{mgr}0{uphmgothrn-v \@+UniJIS2004-UTF16-V \FONTs\@w\@jp04}%
}
\pxcz@mapentry{PXOTF}{%
-\pxcz@entry@pxotf{mnl}{njar-l}%
-\pxcz@entry@pxotf{mnr}{njar-r}%
-\pxcz@entry@pxotf{mnb}{njar-b}%
-\pxcz@entry@pxotf{gtr}{njas-r}%
-\pxcz@entry@pxotf{gtb}{njas-b}%
-\pxcz@entry@pxotf{gtx}{njas-x}%
-\pxcz@entry@pxotf{mgr}{mgjas-r}%
}
% user-defined map
@@ -599,11 +661,23 @@
%% check if \diruni is available
\ifpxcz@uptex
- \@ifpackageloaded{otf}{%
+ \@ifpackageloaded{otf}{% directunicode needs otf
\ifnum\pxcz@directunicode>\z@ \pxcz@diruni@oktrue \fi
- }{}
+ }{%else
+ \ifnum\pxcz@directunicode>\@ne
+ \pxcz@diruni@oktrue % directunicode* does not need otf
+ \AtBeginDocument{% to laod otf later causes inconsistency
+ \@ifpackageloaded{otf}{\pxcz@diruni@okfalse}{}}%
+ \fi
+ }
\fi
+%%<*> \diruni
+\DeclareRobustCommand*{\diruni}{%
+ \not@math@alphabet\diruni\relax
+ \fontshape{diruni}\selectfont
+}
+
%%<*> \textdiruni{<text>}
\newcommand*{\textdiruni}[1]{%
\relax\ifmmode\hbox\fi{\diruni#1}%
@@ -611,7 +685,7 @@
\ifpxcz@diruni@ok %---- <*diruni-ok>
-%% otf weight mode
+%% \pxcz@otf@weight: otf weight mode
% watch out for priority...
\@ifpackagewith{otf}{deluxe}{%
\let\pxcz@otf@weight=d
@@ -619,47 +693,69 @@
\let\pxcz@otf@weight=b
}{\@ifpackagewith{otf}{noreplace}{%
\let\pxcz@otf@weight=n
-}{%else
+}{\@ifpackageloaded{otf}{%
\let\pxcz@otf@weight=r
-}}}
-
-%%<*> \diruni
-\DeclareRobustCommand*{\diruni}{%
- \not@math@alphabet\diruni\relax
- \fontshape{diruni}\selectfont
+}{%else
+ \let\pxcz@otf@weight=n
+}}}}
+%% \pxcz@otf@mmivjis: otf jis2004
+\@ifpackagewith{otf}{jis2004}{%
+ \let\pxcz@otf@mmivjis=t%
+}{%else
+ \let\pxcz@otf@mmivjis=f%
}
+%% \pxcz@du@scale
+\let\pxcz@du@scale\utf@sc@le
+\ifx\pxcz@du@scale\@undefined
+ \let\pxcz@du@scale\Cjascale
+\fi
+\ifx\pxcz@du@scale\@undefined
+ \edef\pxcz@du@scale{\ifx\jsc@JYn\@undefined 0.962216\else 0.924715\fi}%
+\fi
%% \pxcz@du@decl@shape{<fam>}{<ser>}{<font>}
\@onlypreamble\pxcz@du@decl@shape
-\def\pxcz@du@decl@shape#1#2#3#4{%
+\def\pxcz@du@decl@shape#1#2#3#4#5{%
\DeclareFontShape{JY2}{#1}{#2}{diruni}{<->%
- \if#3ts*[\utf@sc@le]#4-h\else#4\fi}{}%
+ \pxcz@du@shape@spec{#3}{#4}{#5}{h}}{}%
\DeclareFontShape{JT2}{#1}{#2}{diruni}{<->%
- \if#3ts*[\utf@sc@le]#4-v\else#4\fi}{}}
+ \pxcz@du@shape@spec{#3}{#4}{#5}{v}}{}}
+\@onlypreamble\pxcz@du@shape@spec
+\def\pxcz@du@shape@spec#1#2#3#4{%
+ \if#1t%
+ s*[\pxcz@du@scale]#2\if t\pxcz@otf@mmivjis#3\fi-#4%
+ \else#2\fi}
\if d\pxcz@otf@weight % deluxe
-\pxcz@du@decl@shape{hmc}{l}t{otf-ujml}%
-\pxcz@du@decl@shape{hmc}{m}t{otf-ujmr}%
-\pxcz@du@decl@shape{hmc}{bx}t{otf-ujmb}%
-\pxcz@du@decl@shape{hgt}{m}t{otf-ujgr}%
-\pxcz@du@decl@shape{hgt}{bx}t{otf-ujgb}%
-\pxcz@du@decl@shape{hgt}{eb}t{otf-ujge}%
-\pxcz@du@decl@shape{mg}{m}t{otf-ujmgr}%
+\pxcz@du@decl@shape{hmc}{l}t{otf-ujml}{n}%
+\pxcz@du@decl@shape{hmc}{m}t{otf-ujmr}{n}%
+\pxcz@du@decl@shape{hmc}{bx}t{otf-ujmb}{n}%
+\pxcz@du@decl@shape{hgt}{m}t{otf-ujgr}{n}%
+\pxcz@du@decl@shape{hgt}{bx}t{otf-ujgb}{n}%
+\pxcz@du@decl@shape{hgt}{eb}t{otf-ujge}{n}%
+\pxcz@du@decl@shape{mg}{m}t{otf-ujmgr}{n}%
\else\if b\pxcz@otf@weight % bold
-\pxcz@du@decl@shape{hmc}{m}t{otf-ujmr}%
-\pxcz@du@decl@shape{hmc}{bx}f{ssub*hgt/m/diruni}%
-\pxcz@du@decl@shape{hgt}{m}t{otf-ujgb}%
-\pxcz@du@decl@shape{hgt}{bx}f{ssub*hgt/m/diruni}%
+\pxcz@du@decl@shape{hmc}{m}t{otf-ujmr}{n}%
+\pxcz@du@decl@shape{hmc}{bx}f{ssub*hgt/m/diruni}{}%
+\pxcz@du@decl@shape{hgt}{m}t{otf-ujgb}{n}%
+\pxcz@du@decl@shape{hgt}{bx}f{ssub*hgt/m/diruni}{}%
\else\if r\pxcz@otf@weight % default
-\pxcz@du@decl@shape{hmc}{m}t{otf-ujmr}%
-\pxcz@du@decl@shape{hmc}{bx}f{ssub*hgt/m/diruni}%
-\pxcz@du@decl@shape{hgt}{m}t{otf-ujgr}%
-\pxcz@du@decl@shape{hgt}{bx}f{ssub*hgt/m/diruni}%
+\pxcz@du@decl@shape{hmc}{m}t{otf-ujmr}{n}%
+\pxcz@du@decl@shape{hmc}{bx}f{ssub*hgt/m/diruni}{}%
+\pxcz@du@decl@shape{hgt}{m}t{otf-ujgr}{n}%
+\pxcz@du@decl@shape{hgt}{bx}f{ssub*hgt/m/diruni}{}%
\else % noreplace
-\pxcz@du@decl@shape{mc}{m}t{otf-ujmr}%
-\pxcz@du@decl@shape{mc}{bx}f{ssub*gt/m/diruni}%
-\pxcz@du@decl@shape{gt}{m}t{otf-ujgr}%
-\pxcz@du@decl@shape{gt}{bx}f{ssub*gt/m/diruni}%
+\ifnum\pxcz@directunicode>\@ne % (directunicode*)
+\pxcz@du@decl@shape{mc}{m}t{uprml}{}%
+\pxcz@du@decl@shape{mc}{bx}f{ssub*gt/m/diruni}{}%
+\pxcz@du@decl@shape{gt}{m}t{upgbm}{}%
+\pxcz@du@decl@shape{gt}{bx}f{ssub*gt/m/diruni}{}%
+\else % (directunicode)
+\pxcz@du@decl@shape{mc}{m}t{otf-ujmr}{n}%
+\pxcz@du@decl@shape{mc}{bx}f{ssub*gt/m/diruni}{}%
+\pxcz@du@decl@shape{gt}{m}t{otf-ujgr}{n}%
+\pxcz@du@decl@shape{gt}{bx}f{ssub*gt/m/diruni}{}%
+\fi
\fi\fi\fi
\AtBeginDocument{%
@@ -681,20 +777,27 @@
\endgroup
}
-\else %---- <*!diruni-ok>
+\fi %---- </diruni-ok>
-%%<*> \diruni
-\DeclareRobustCommand*{\diruni}{%
- \pxcz@err@diruni
-}
+%% \pxcz@err@diruni
+\ifcase\pxcz@directunicode
+ \def\pxcz@errhelp@diruni{%
+ You must use upLaTeX and load pxchfon with 'directunicode(*)' option.}
+\else
+ \def\pxcz@errhelp@diruni{%
+ You must use upLaTeX and load pxchfon after 'otf' package.}
+\fi
\def\pxcz@err@diruni{%
\pxcz@error{Command '\string\diruni' not available}%
- {You must load this package with 'directunicode' option on upLaTeX,%
- \MessageBreak after loading 'otf' package.\MessageBreak\@ehc}%
- \global\let\pxcz@err@diruni\relax
-}
-
-\fi %---- </diruni-ok>
+ {\pxcz@errhelp@diruni\MessageBreak\@ehc}%
+ \global\let\pxcz@err@diruni\relax}
+\AtBeginDocument{%
+ \ifpxcz@diruni@ok
+ \let\pxcz@err@diruni\relax
+ \let\pxcz@errhelp@diruni\relax
+ \else
+ \let\diruni\pxcz@err@diruni
+ \fi}
%%------------------ 'alphabet' option
@@ -872,8 +975,8 @@
%% \pxcz@use@preset{<name>}
\def\pxcz@use@preset#1{%
\expandafter\ifx\csname pxcz@depre@preset@#1\endcsname t%
- \pxcz@warn{Preset '#1' is obsolete and\MessageBreak
- its use is *deprecated*,}%
+ \pxcz@error{The old preset '#1' is *abolished*}
+ {\@ehc}%
\fi
\csname pxcz@the@preset@#1\endcsname}
@@ -973,6 +1076,46 @@
\pxcz@multiweight{YuMin-Medium.otf}{YuMin-Medium.otf}%
{YuMin-Demibold.otf}{YuGo-Medium.otf}{YuGo-Bold.otf}%
{YuGo-Bold.otf}{YuGo-Medium.otf}{YuGo-Medium.otf}}
+% Source Han Sans/Serif, "OTC"
+\pxcz@declare@preset{sourcehan-otc}{%
+ \pxcz@multiweight{\pxcz@SH:0:SourceHanSerif-Light.ttc}%
+ {\pxcz@SH:0:SourceHanSerif-Regular.ttc}%
+ {\pxcz@SH:0:SourceHanSerif-Bold.ttc}%
+ {\pxcz@SH:0:SourceHanSans-Regular.ttc}%
+ {\pxcz@SH:0:SourceHanSans-Bold.ttc}%
+ {\pxcz@SH:0:SourceHanSans-Heavy.ttc}%
+ {\pxcz@SH:0:SourceHanSans-Medium.ttc}%
+ {\pxcz@SH:0:SourceHanSans-Heavy.ttc}}
+% Source Han Sans/Serif, "Language-specific OTF"
+\pxcz@declare@preset{sourcehan}{%
+ \pxcz@multiweight{\pxcz@SH/SourceHanSerif-Light.otf}%
+ {\pxcz@SH/SourceHanSerif-Regular.otf}%
+ {\pxcz@SH/SourceHanSerif-Bold.otf}%
+ {\pxcz@SH/SourceHanSans-Regular.otf}%
+ {\pxcz@SH/SourceHanSans-Bold.otf}%
+ {\pxcz@SH/SourceHanSans-Heavy.otf}%
+ {\pxcz@SH/SourceHanSans-Medium.otf}%
+ {\pxcz@SH/SourceHanSans-Heavy.otf}}
+% Noto Sans/Serif CJK, "OpenType/CFF Collection (OTC)"
+\pxcz@declare@preset{noto-otc}{%
+ \pxcz@multiweight{\pxcz@NC:0:NotoSerifCJK-Light.ttc}%
+ {\pxcz@NC:0:NotoSerifCJK-Regular.ttc}%
+ {\pxcz@NC:0:NotoSerifCJK-Bold.ttc}%
+ {\pxcz@NC:0:NotoSansCJK-Regular.ttc}%
+ {\pxcz@NC:0:NotoSansCJK-Bold.ttc}%
+ {\pxcz@NC:0:NotoSansCJK-Black.ttc}%
+ {\pxcz@NC:0:NotoSansCJK-Medium.ttc}%
+ {\pxcz@NC:0:NotoSansCJK-Black.ttc}}
+% Noto Sans/Serif CJK, "Language-specific OpenType/CFF (OTF)"
+\pxcz@declare@preset{noto}{%
+ \pxcz@multiweight{\pxcz@NC/NotoSerifCJKjp-Light.otf}%
+ {\pxcz@NC/NotoSerifCJKjp-Regular.otf}%
+ {\pxcz@NC/NotoSerifCJKjp-Bold.otf}%
+ {\pxcz@NC/NotoSansCJKjp-Regular.otf}%
+ {\pxcz@NC/NotoSansCJKjp-Bold.otf}%
+ {\pxcz@NC/NotoSansCJKjp-Black.otf}%
+ {\pxcz@NC/NotoSansCJKjp-Medium.otf}%
+ {\pxcz@NC/NotoSansCJKjp-Black.otf}}
%(obsolete)
\pxcz@declare@depre@preset{ipa-otf}{%
\pxcz@uniweight{ipam.otf}{ipag.otf}}
diff --git a/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty b/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty
index 7be855cb78b..3520368fbaf 100644
--- a/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty
+++ b/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty
@@ -8,12 +8,16 @@
%% This package is distributed under the MIT License.
%%
-% TODO: Should 'pxjafont' package be abolished?
-
-%%%% package declaration
+%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxjafont}[2016/04/08 v0.9]
+\ProvidesPackage{pxjafont}[2017/05/31 v1.0]
+%% show warning
+\PackageWarning{pxchfon}
+ {The package 'pxjafont' is obsolete and its use is\MessageBreak
+ deprecated. please refer to the manual of pxchfon.\MessageBreak
+ The warning is issued}
+%% delegate
\let\pxAliasedPxjafont=t
-\RequirePackageWithOptions{pxchfon}[2010/05/12]
+\RequirePackageWithOptions{pxchfon}[2017/05/31]
\endinput
%% EOF