diff options
author | Karl Berry <karl@freefriends.org> | 2016-10-16 21:35:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-10-16 21:35:20 +0000 |
commit | 2a0a59e646bf01b56821d95dfcdfec87bc3aa416 (patch) | |
tree | 9007802b2b9c4e11ee4d6eb6b23997c848d9bc9a /Master/texmf-dist/tex | |
parent | a90bad7d00a7c4ab9215b50aa4e7a16dd1c3a151 (diff) |
ipaex-type1 (16oct16)
git-svn-id: svn://tug.org/texlive/trunk@42284 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
15 files changed, 188 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxg.fd b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxg.fd index 08779250b5e..b60ed609dfd 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxg.fd +++ b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxg.fd @@ -1,4 +1,4 @@ -\ProvidesFile{c70ipxg.fd}[2013/10/11 v0.3b] +\ProvidesFile{c70ipxg.fd}[2016/10/01 v0.4] \DeclareFontFamily{C70}{ipxg}{\hyphenchar\font\m@ne} \DeclareFontShape{C70}{ipxg}{m}{n}{<->CJK*ipxg-r-u}{} \DeclareFontShape{C70}{ipxg}{m}{sl}{<->CJKssub*ipxg/m/n}{} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxg.fdx b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxg.fdx index 3eec998c8eb..e0365a6b9ad 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxg.fdx +++ b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxg.fdx @@ -1,5 +1,4 @@ -\ProvidesFile{c70ipxg.fdx}[2013/10/11 v0.3b] -\CJKvdef{offset}{0.54em} +\ProvidesFile{c70ipxg.fdx}[2016/10/01 v0.4] \CJKvdef{m/n/20/21}{\def\CJK@plane{f0}\selectfont\CJKsymbol{0}} \CJKvlet{bx/n/20/21}{m/n/20/21} \CJKvdef{m/n/20/22}{\def\CJK@plane{f0}\selectfont\CJKsymbol{1}} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxga.fd b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxga.fd index c29e984ab76..2fcf66a135b 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxga.fd +++ b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxga.fd @@ -1,4 +1,4 @@ -\ProvidesFile{c70ipxga.fd}[2013/10/11 v0.3b] +\ProvidesFile{c70ipxga.fd}[2016/10/01 v0.4] \DeclareFontFamily{C70}{ipxga}{\hyphenchar\font\m@ne} \DeclareFontShape{C70}{ipxga}{m}{n}{<->CJK*ipxg-r-u}{} \DeclareFontShape{C70}{ipxga}{m}{sl}{<->CJK*ipxg-ro-u}{} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxga.fdx b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxga.fdx index 21d7152ed88..5a96e47b759 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxga.fdx +++ b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxga.fdx @@ -1,5 +1,4 @@ -\ProvidesFile{c70ipxga.fdx}[2013/10/11 v0.3b] -\CJKvdef{offset}{0.54em} +\ProvidesFile{c70ipxga.fdx}[2016/10/01 v0.4] \CJKvdef{m/n/20/21}{\def\CJK@plane{f0}\selectfont\CJKsymbol{0}} \CJKvlet{bx/n/20/21}{m/n/20/21} \CJKvdef{m/n/20/22}{\def\CJK@plane{f0}\selectfont\CJKsymbol{1}} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fd b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fd index 799f1ce9f03..235d8f6a1e5 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fd +++ b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fd @@ -1,4 +1,4 @@ -\ProvidesFile{c70ipxm.fd}[2013/10/11 v0.3b] +\ProvidesFile{c70ipxm.fd}[2016/10/01 v0.4] \DeclareFontFamily{C70}{ipxm}{\hyphenchar\font\m@ne} \DeclareFontShape{C70}{ipxm}{m}{n}{<->CJK*ipxm-r-u}{} \DeclareFontShape{C70}{ipxm}{m}{sl}{<->CJKssub*ipxm/m/n}{} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fdx b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fdx index e0c3b9089fa..17d9ae8ddc8 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fdx +++ b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fdx @@ -1,5 +1,4 @@ -\ProvidesFile{c70ipxm.fdx}[2013/10/11 v0.3b] -\CJKvdef{offset}{0.54em} +\ProvidesFile{c70ipxm.fdx}[2016/10/01 v0.4] \CJKvdef{m/n/20/21}{\def\CJK@plane{f0}\selectfont\CJKsymbol{0}} \CJKvlet{bx/n/20/21}{m/n/20/21} \CJKvdef{m/n/20/22}{\def\CJK@plane{f0}\selectfont\CJKsymbol{1}} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxma.fd b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxma.fd index a0ce4c2b2dd..6490fb05bcf 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxma.fd +++ b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxma.fd @@ -1,4 +1,4 @@ -\ProvidesFile{c70ipxma.fd}[2013/10/11 v0.3b] +\ProvidesFile{c70ipxma.fd}[2016/10/01 v0.4] \DeclareFontFamily{C70}{ipxma}{\hyphenchar\font\m@ne} \DeclareFontShape{C70}{ipxma}{m}{n}{<->CJK*ipxm-r-u}{} \DeclareFontShape{C70}{ipxma}{m}{sl}{<->CJK*ipxm-ro-u}{} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxma.fdx b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxma.fdx index b588888c5b9..16b083c7522 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxma.fdx +++ b/Master/texmf-dist/tex/latex/ipaex-type1/c70ipxma.fdx @@ -1,5 +1,4 @@ -\ProvidesFile{c70ipxma.fdx}[2013/10/11 v0.3b] -\CJKvdef{offset}{0.54em} +\ProvidesFile{c70ipxma.fdx}[2016/10/01 v0.4] \CJKvdef{m/n/20/21}{\def\CJK@plane{f0}\selectfont\CJKsymbol{0}} \CJKvlet{bx/n/20/21}{m/n/20/21} \CJKvdef{m/n/20/22}{\def\CJK@plane{f0}\selectfont\CJKsymbol{1}} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/ipaex-type1.sty b/Master/texmf-dist/tex/latex/ipaex-type1/ipaex-type1.sty new file mode 100644 index 00000000000..d031c05876d --- /dev/null +++ b/Master/texmf-dist/tex/latex/ipaex-type1/ipaex-type1.sty @@ -0,0 +1,174 @@ +%% +%% This is file 'ipaex-type1.sty'. +%% +%% Author: Takayuki YATO (aka. "ZR") +%% GitHub: https://github.com/zr-tex8r +%% Twitter: @zr_tex8r +%% +%% Note that this file is an original work by the author and NOT a +%% Derived Work of the IPAex Fonts. +%% This file is in the public domain, while many other files in the +%% ipaex-type1 bundle are subject to the "IPA FontLicense Agreement +%% v1.0". +%% + +%% package declarations +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{ipaex-type1}[2016/10/01 v0.4] +\def\bxix@pkgname{ipaex-type1} + +%--------------------------------------- helpers + +%% \bxix@CJKfamily{<CJK-fam>} +\def\bxix@CJKfamily#1{% + \ifx\CJKfamily\@undefined\else + \CJKfamily{#1}% + \fi} + +%% emerge \CJKhook +\providecommand*{\CJKhook}{} + +%--------------------------------------- public stuffs + +%% \bxix@CJK@ipxm/\bxix@CJK@ipxg +\let\bxix@CJK@ipxm\relax +\let\bxix@CJK@ipxg\relax + +%%<*> \extendipaextypeI/\noextendipaextypeI +\DeclareRobustCommand*{\extendipaextypeI}{% + \def\bxix@CJK@ipxm{ipxma}% + \def\bxix@CJK@ipxg{ipxga}} +\DeclareRobustCommand*{\noextendipaextypeI}{% + \def\bxix@CJK@ipxm{ipxm}% + \def\bxix@CJK@ipxg{ipxg}} +\noextendipaextypeI + +%%<*> \ipxmfamily/\ipxgfamily +\DeclareRobustCommand*{\ipxmfamily}{% + \bxix@CJKfamily{\bxix@CJK@ipxm}% + \fontfamily{ipxm}\selectfont} +\DeclareRobustCommand*{\ipxgfamily}{% + \bxix@CJKfamily{\bxix@CJK@ipxg}% + \fontfamily{ipxg}\selectfont} + +%%<*> \textipxm/\textipxg +\DeclareTextFontCommand{\textipxm}{\ipxmfamily} +\DeclareTextFontCommand{\textipxg}{\ipxgfamily} + +%%<*> \CJKipxmfamily/\CJKipxgfamily +\DeclareRobustCommand*{\CJKipxmfamily}{% + \bxix@CJKfamily{\bxix@CJK@ipxm}} +\DeclareRobustCommand*{\CJKipxgfamily}{% + \bxix@CJKfamily{\bxix@CJK@ipxg}} + +%%<*> \textCJKipxm/\textCJKipxg +\DeclareRobustCommand*{\textCJKipxm}{% + \bxix@textCJK{\bxix@CJK@ipxm}} +\DeclareRobustCommand*{\textCJKipxg}{% + \bxix@textCJK{\bxix@CJK@ipxg}} +\long\def\bxix@textCJK@outside#1#2{% + \begin{CJK*}{UTF8}{#1}\relax #2\end{CJK*}} +\long\def\bxix@textCJK@inside#1#2{% + \begingroup\CJKfamily{#1}#2\endgroup} +\let\bxix@textCJK\bxix@textCJK@outside +\g@addto@macro\CJKhook{% + \let\bxix@textCJK\bxix@textCJK@inside} +\AtBeginDocument{% + \@ifpackageloaded{CJK}{}{%else + \let\bxix@textCJK\@gobble}} + +%--------------------------------------- CJKUsymbol + +%% variables +\let\bxix@g@sfid\relax +\let\bxix@g@high\relax +\let\bxix@g@low\relax + +%%<*> \ipxmsymbol{<Unicode-point>} +\DeclareRobustCommand*{\ipxmsymbol}{% + \CJKUsymbol{\bxix@CJK@ipxm}} +\DeclareRobustCommand*{\ipxgsymbol}{% + \CJKUsymbol{\bxix@CJK@ipxg}} + +%%<*> \CJKUsymbol{<CJK-fam>}{<Unicode-point>} +\@ifundefined{CJKUsymbol}{% + \DeclareRobustCommand*{\CJKUsymbol}{\bxix@CJKUSymbol}% +}{} +\def\bxix@CJKUSymbol@outside#1#2{% + \bxix@decomp@uc{#2}% + \bxix@decl@family{#1}{\bxix@g@sfid}% + \begingroup + \fontencoding{U}\fontfamily{#1=\bxix@g@sfid}% + \selectfont\symbol{\bxix@g@low}% + \endgroup} +\def\bxix@CJKUSymbol@inside#1#2{% + \bxix@decomp@uc{#2}% + \begingroup + \CJKfamily{#1}\Unicode{\bxix@g@high}{\bxix@g@low}% + \endgroup} +\let\bxix@CJKUSymbol\bxix@CJKUSymbol@outside +\g@addto@macro\CJKhook{% + \let\bxix@CJKUSymbol\bxix@CJKUSymbol@inside} + +%% \bxix@decomp@uc{<Unicode-point>} +\def\bxix@decomp@uc#1{% + \begingroup + \@tempcnta=#1\relax + \ifnum\@tempcnta<\z@ \@tempcnta\z@ \fi + \@tempcntb\@tempcnta \divide\@tempcntb\@cclvi + \ifnum\@tempcntb>\bxix@ovhigh \@tempcntb\bxix@ovhigh \fi + \xdef\bxix@g@high{\the\@tempcntb}% + \mathchardef\bxix@tmpa\@tempcntb + \expandafter\bxix@decomp@uc@a\meaning\bxix@tmpa\relax + \multiply\@tempcntb-\@cclvi \advance\@tempcntb\@tempcnta + \xdef\bxix@g@low{\the\@tempcntb}% + \endgroup} +\mathchardef\bxix@ovhigh="1100 +\def\bxix@decomp@uc@a#1"#2\relax{% + \lowercase{\bxix@decomp@uc@b#24321\relax}}% +\def\bxix@decomp@uc@b#1#2#3#4#5#6\relax{% + \xdef\bxix@g@sfid{% + \ifcase#5 \or0#1\or#1#2\or0#1#2#3\or#1#2#3#4\fi}} + +%% \bxix@decl@family{<CJK-fam>}{<sfid>} +\def\bxix@decl@family#1#2{% + \def\bxix@fam{#1=#2}% + \expandafter\ifx\csname U/\bxix@fam/m/n\endcsname\relax + \DeclareFontFamily{U}{\bxix@fam}{}% + \expandafter\ifx\csname bxix@decl@family/#1\endcsname\relax + \bxix@decl@family@other{#1}{#2}% + \else \@nameuse{bxix@decl@family/#1}{#2}% + \fi + \fi} +%% the declarations +\def\bxix@decl@shp#1#2#3{% + \DeclareFontShape{U}{\bxix@fam}{#1}{#2}{<->#3}{}} +\@namedef{bxix@decl@family/ipxm}#1{% + \bxix@decl@family@other{ipxm-r-u}{#1}} +\@namedef{bxix@decl@family/ipxma}#1{% + \bxix@decl@shp{m}{n}{ipxm-r-u#1}% + \bxix@decl@shp{m}{sl}{ipxm-ro-u#1}% + \bxix@decl@family@cmn} +\@namedef{bxix@decl@family/ipxg}#1{% + \bxix@decl@family@other{ipxg-r-u}{#1}} +\@namedef{bxix@decl@family/ipxga}#1{% + \bxix@decl@shp{m}{n}{ipxg-r-u#1}% + \bxix@decl@shp{m}{sl}{ipxg-ro-u#1}% + \bxix@decl@family@cmn} +\def\bxix@decl@family@other#1#2{% + \bxix@decl@shp{m}{n}{#1#2}% + \bxix@decl@shp{m}{sl}{ssub*\bxix@fam/m/n}% + \bxix@decl@family@cmn} +\def\bxix@decl@family@cmn{% + \bxix@decl@shp{m}{it}{ssub*\bxix@fam/m/sl}% + \bxix@decl@shp{m}{sc}{ssub*\bxix@fam/m/n}% + \bxix@decl@shp{bx}{it}{ssub*\bxix@fam/bx/sl}% + \bxix@decl@shp{bx}{sc}{ssub*\bxix@fam/bx/n}% + \bxix@decl@shp{b}{n}{ssub*\bxix@fam/bx/n}% + \bxix@decl@shp{b}{sl}{ssub*\bxix@fam/bx/sl}% + \bxix@decl@shp{b}{it}{ssub*\bxix@fam/bx/it}% + \bxix@decl@shp{b}{sc}{ssub*\bxix@fam/bx/sc}} + +%--------------------------------------- done +\endinput +%% EOF diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/ot1ipxg.fd b/Master/texmf-dist/tex/latex/ipaex-type1/ot1ipxg.fd index c6b9440b67b..e12f26c32de 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/ot1ipxg.fd +++ b/Master/texmf-dist/tex/latex/ipaex-type1/ot1ipxg.fd @@ -1,4 +1,4 @@ -\ProvidesFile{ot1ipxg.fd}[2013/10/11 v0.3b] +\ProvidesFile{ot1ipxg.fd}[2016/10/01 v0.4] \DeclareFontFamily{OT1}{ipxg}{} \DeclareFontShape{OT1}{ipxg}{m}{n}{<->ipxg-r-ot1}{} \DeclareFontShape{OT1}{ipxg}{m}{sl}{<->ipxg-ro-ot1}{} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/ot1ipxm.fd b/Master/texmf-dist/tex/latex/ipaex-type1/ot1ipxm.fd index 229d0243198..4d06dc5816e 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/ot1ipxm.fd +++ b/Master/texmf-dist/tex/latex/ipaex-type1/ot1ipxm.fd @@ -1,4 +1,4 @@ -\ProvidesFile{ot1ipxm.fd}[2013/10/11 v0.3b] +\ProvidesFile{ot1ipxm.fd}[2016/10/01 v0.4] \DeclareFontFamily{OT1}{ipxm}{} \DeclareFontShape{OT1}{ipxm}{m}{n}{<->ipxm-r-ot1}{} \DeclareFontShape{OT1}{ipxm}{m}{sl}{<->ipxm-ro-ot1}{} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/t1ipxg.fd b/Master/texmf-dist/tex/latex/ipaex-type1/t1ipxg.fd index b78f5dc5aa0..c51f05b67dd 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/t1ipxg.fd +++ b/Master/texmf-dist/tex/latex/ipaex-type1/t1ipxg.fd @@ -1,4 +1,4 @@ -\ProvidesFile{t1ipxg.fd}[2013/10/11 v0.3b] +\ProvidesFile{t1ipxg.fd}[2016/10/01 v0.4] \DeclareFontFamily{T1}{ipxg}{} \DeclareFontShape{T1}{ipxg}{m}{n}{<->ipxg-r-t1}{} \DeclareFontShape{T1}{ipxg}{m}{sl}{<->ipxg-ro-t1}{} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/t1ipxm.fd b/Master/texmf-dist/tex/latex/ipaex-type1/t1ipxm.fd index 5b05e34b94b..221d25166e0 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/t1ipxm.fd +++ b/Master/texmf-dist/tex/latex/ipaex-type1/t1ipxm.fd @@ -1,4 +1,4 @@ -\ProvidesFile{t1ipxm.fd}[2013/10/11 v0.3b] +\ProvidesFile{t1ipxm.fd}[2016/10/01 v0.4] \DeclareFontFamily{T1}{ipxm}{} \DeclareFontShape{T1}{ipxm}{m}{n}{<->ipxm-r-t1}{} \DeclareFontShape{T1}{ipxm}{m}{sl}{<->ipxm-ro-t1}{} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/ts1ipxg.fd b/Master/texmf-dist/tex/latex/ipaex-type1/ts1ipxg.fd index 9bf335e2e4a..2a0183b0a94 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/ts1ipxg.fd +++ b/Master/texmf-dist/tex/latex/ipaex-type1/ts1ipxg.fd @@ -1,4 +1,4 @@ -\ProvidesFile{ts1ipxg.fd}[2013/10/11 v0.3b] +\ProvidesFile{ts1ipxg.fd}[2016/10/01 v0.4] \DeclareFontFamily{TS1}{ipxg}{} \DeclareFontShape{TS1}{ipxg}{m}{n}{<->ipxg-r-ts1}{} \DeclareFontShape{TS1}{ipxg}{m}{sl}{<->ipxg-ro-ts1}{} diff --git a/Master/texmf-dist/tex/latex/ipaex-type1/ts1ipxm.fd b/Master/texmf-dist/tex/latex/ipaex-type1/ts1ipxm.fd index c35e99355f5..c747f9ebe82 100644 --- a/Master/texmf-dist/tex/latex/ipaex-type1/ts1ipxm.fd +++ b/Master/texmf-dist/tex/latex/ipaex-type1/ts1ipxm.fd @@ -1,4 +1,4 @@ -\ProvidesFile{ts1ipxm.fd}[2013/10/11 v0.3b] +\ProvidesFile{ts1ipxm.fd}[2016/10/01 v0.4] \DeclareFontFamily{TS1}{ipxm}{} \DeclareFontShape{TS1}{ipxm}{m}{n}{<->ipxm-r-ts1}{} \DeclareFontShape{TS1}{ipxm}{m}{sl}{<->ipxm-ro-ts1}{} |