diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /obsolete/fonts/hwkatakana |
Initial commit
Diffstat (limited to 'obsolete/fonts/hwkatakana')
19 files changed, 443 insertions, 0 deletions
diff --git a/obsolete/fonts/hwkatakana/README b/obsolete/fonts/hwkatakana/README new file mode 100644 index 0000000000..366e392dd7 --- /dev/null +++ b/obsolete/fonts/hwkatakana/README @@ -0,0 +1,194 @@ +Half-width katakana Type 1 fonts in SJIS encoding are provided to +integrate with the Wadalab fonts for use with, for example, the CJK +package. Auxiliary files to use the font with Unicode UTF8 encoding +are also provided. The origin of the font is the Wadalab gothic font +katakana glyphs, which have been modified to make up the JIS X 0201 +set of half-width katakana characters using Fontforge. The Wadalab +fonts need to be available for this package to work. Installation +instructions and examples of usage are provided. + +Half-width katakana font, Gernot Hassenpflug (aikishugyo@gmail.com). + +1 LICENCE +2 CHANGELOG +3 FILES +4 INSTALLATION +5 CONFIGURATION +6 USAGE +7 DERIVATION + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +1 - LICENCE + +The license of these half-width katakana fonts and accompanying files +in this package (see Section 3 FILES) is GPL (GNU Public License) +Version 2 or higher, see URL: http://www.gnu.org/copyleft/gpl.html. + +The original Wadalab fonts by TANAKA Tetsuro +(ktanaka@tanaka.ecc.u-tokyo.ac.jp) are available from the URL: +ftp.ipl.t.u-tokyo.ac.jp and are licensed under a DFSG-free license +given in ISO-2022-JP encoding at the URL: +ftp://ftp.dante.de/pub/tex/support/ghostscript/3rdparty/fonts/kanji/README.nihongo. + +Modifications to the Wadalab fonts were carried out using the wftodm +patch by Werner Lemberg licensed under GPL, and the resultant Type 1 +font file dgjkata.pfb was used as the basis for these half-width +katakana fonts. + + +2 - CHANGELOG + +This is version 1.0 (2008-01-16). + +NEW in version 1.0: + +* complete JIS X 0201 half-width katakana characters + +* Type 1 font in SJIS encoding + +* TeX virtual fonts for UTF8 encoding + +* TeX .tfm files for SJIS and UTF8 encoding + +* LaTeX .fd files for SJIS encoding + +* dvips .map file + +* installation instructions + + +3 - FILES + +This package contains the following files: + +* README: this file + +* hwkatakana-sampler-UTF8.tex, + hwkatakana-sampler-SJIS.tex: sample files + +* hwkatakana-sampler-UTF8.pdf, + hwkatakana-sampler-SJIS.pdf: compiled sample files + +* dgjhw.map: dvips map file + +* c49min.fd, c49goth.fd, c49maru.fd: latex font definition files + for SJIS encoding + +* dgjhw.pfb: Type 1 font file for SJIS encoding + +* dgjhw.tfm: TeX font metric file for SJIS encoding + +* udgjff.tfm, udmjff.tfm, umrjff.tfm, umcjff.tfm: TeX font metric files + for UTF8 encoding + +* udgjff.vf, udmjff.vf, umrjff.vf, umcjff.vf: Virtual font files + for UTF8 encoding + + +4 - INSTALLATION + +The texmf tree provides a standard TDS. The files in this +distribution mimic the structure of this tree. You have to install +the following files in one of your texmf trees (or create a new one). +It is important to first install the Wadalab fonts, since this package +relies on the Wadalab installation and supplies some alternative +subfonts replacing those of the Wadalab-supplied subfonts. The +installation will then overwrite these subfonts with the alternative +ones from this package, thus you should keep the original ones for +when you uninstall this package. + +* dgjhw.tfm: $TEXMF/fonts/tfm/wadalab/dgjhw/ + +* dgjhw.pfb: $TEXMF/fonts/type1/wadalab/dgjhw/ + +* dgjhw.map: $TEXMF/fonts/map/dvips/dgjhw/ + +% Note: Those files overwrite existing ones! +* udgjff.tfm: $TEXMF/fonts/tfm/wadalab/udgj/ +* udmjff.tfm: $TEXMF/fonts/tfm/wadalab/udmj/ +* umrjff.tfm: $TEXMF/fonts/tfm/wadalab/umrj/ +* umcjff.tfm: $TEXMF/fonts/tfm/wadalab/umcj/ + +% Note: Those files overwrite existing ones! +* udgjff.vf: $TEXMF/fonts/type1/wadalab/udgj/ +* udmjff.vf: $TEXMF/fonts/type1/wadalab/udmj/ +* umrjff.vf: $TEXMF/fonts/type1/wadalab/umrj/ +* umcjff.vf: $TEXMF/fonts/type1/wadalab/umcj/ + +* c49min.fd: $TEXMF/tex/latex/CJK/contrib/wadalab/ +* c49goth.fd: $TEXMF/tex/latex/CJK/contrib/wadalab/ +* c49maru.fd: $TEXMF/tex/latex/CJK/contrib/wadalab/ + +* README $TEXMF/doc/fonts/wadalab/dgjh/ +* hwkatakana-sampler-UTF8.tex $TEXMF/doc/fonts/wadalab/dgjh/ +* hwkatakana-sampler-SJIS.tex $TEXMF/doc/fonts/wadalab/dgjh/ + +* hwkatakana-sampler-UTF8.pdf $TEXMF/doc/fonts/wadalab/dgjh/ +* hwkatakana-sampler-SJIS.pdf $TEXMF/doc/fonts/wadalab/dgjh/ + +5 - CONFIGURATION + +After installing the files and new directories, you should run + +% sudo texhash + +Then run updmap-sys + +% sudo updmap-sys --enable Map dgjhw.map + +If you don't have updmap-sys or don't want to use it: + + . For dvips, add this line in config.ps: + + p +dgjhw.map + + . For pdf(la)tex add this line in pdftex.cfg: + + map +dgjhw.map + + . Following this you need to run again + + % sudo texhash + +If you have problems when installing the half-width katakana fonts, +please contact me. + + +6 - USAGE + +The Wadalab fonts must be available first, so that the "min", "goth" +and "maru" typefaces can be used. To these typefaces are now added +newly the half-width katakana glyphs. + +When writing in SJIS encoded files, the command \CJKhwkatakana must be +used in the document to activate the use of half-width katakana +(\CJKnohwkatakana converts them to full-width katakana). Then, +half-width katakana can be entered at the keyboard and be present in +the output. + +When writing UTF8 encoded files, no special commands are needed; +half-width katakana can simply be entered at the keyboard and are +automatically handled by the CJK package. The \CJKnohwkatakana will +convert all entered half-width katakana to full-width in the output, +and vice versa for \CJKhwkatakana. + +No support is currently provided for the use of half-width katakana in +EUC encoded files. + + +7 - DERIVATION + +The modified (by wftodm patch, see Section 1 LICENSE) Wadalab Gothic +Type 1 full-width katakana font file dgjkata.pfb was used as the basis +for the half-width katakana font of this package. Fontforge was used +to edit the glyphs and create the .pfb and .tfm files. + +To make the virtual font for UTF8 encoding, clonevf.pl from the CJK +package repository was used to make a mapped copy (to itself) of +dgjhw.tfm. The vf file was converted to vpl, and the entries modified +to reflect a mapping from UTF8 to SJIS. Then they were added, along +with a reference to the mapped font, to the .vpl version of the +existing Wadalab udgjff.vf. Then new .vf and .tfm were created from +udgjff.vpl. diff --git a/obsolete/fonts/hwkatakana/c49goth.fd b/obsolete/fonts/hwkatakana/c49goth.fd new file mode 100644 index 0000000000..d97ae8196b --- /dev/null +++ b/obsolete/fonts/hwkatakana/c49goth.fd @@ -0,0 +1,23 @@ +% This is the file c49goth.fd of the CJK package +% for using Asian logographs (Chinese/Japanese/Korean) with LaTeX2e +% +% created by Werner Lemberg <wl@gnu.org> +% +% Version 4.7.0 (17-Oct-2006) + +\def\fileversion{4.7.0} +\def\filedate{2006/10/17} +\ProvidesFile{c49goth.fd}[\filedate\space\fileversion] + + +% Japanese characters +% +% character set: one-byte half-width katakana (JIS X 0201-1997) +% font encoding: eight-bit (as used in SJIS) + +\DeclareFontFamily{C49}{goth}{\hyphenchar \font\m@ne} + +\DeclareFontShape{C49}{goth}{m}{n}{<-> dgjhw}{} +\DeclareFontShape{C49}{goth}{bx}{n}{<-> s * dgjhw}{\CJKbold} + +\endinput diff --git a/obsolete/fonts/hwkatakana/c49maru.fd b/obsolete/fonts/hwkatakana/c49maru.fd new file mode 100644 index 0000000000..7ed51da227 --- /dev/null +++ b/obsolete/fonts/hwkatakana/c49maru.fd @@ -0,0 +1,23 @@ +% This is the file c49maru.fd of the CJK package +% for using Asian logographs (Chinese/Japanese/Korean) with LaTeX2e +% +% created by Werner Lemberg <wl@gnu.org> +% +% Version 4.7.0 (17-Oct-2006) + +\def\fileversion{4.7.0} +\def\filedate{2006/10/17} +\ProvidesFile{c49maru.fd}[\filedate\space\fileversion] + + +% Japanese characters +% +% character set: one-byte half-width katakana (JIS X 0201-1997) +% font encoding: eight-bit (as used in SJIS) + +\DeclareFontFamily{C49}{maru}{\hyphenchar \font\m@ne} + +\DeclareFontShape{C49}{maru}{m}{n}{<-> sub * goth/m/n}{} +\DeclareFontShape{C49}{maru}{bx}{n}{<-> sub * goth/bx/n}{} + +\endinput diff --git a/obsolete/fonts/hwkatakana/c49min.fd b/obsolete/fonts/hwkatakana/c49min.fd new file mode 100644 index 0000000000..d9dc844df1 --- /dev/null +++ b/obsolete/fonts/hwkatakana/c49min.fd @@ -0,0 +1,23 @@ +% This is the file c49min.fd of the CJK package +% for using Asian logographs (Chinese/Japanese/Korean) with LaTeX2e +% +% created by Werner Lemberg <wl@gnu.org> +% +% Version 4.7.0 (17-Oct-2006) + +\def\fileversion{4.7.0} +\def\filedate{2006/10/17} +\ProvidesFile{c49min.fd}[\filedate\space\fileversion] + + +% Japanese characters +% +% character set: one-byte half-width katakana (JIS X 0201-1997) +% font encoding: eight-bit (as used in SJIS) + +\DeclareFontFamily{C49}{min}{\hyphenchar \font\m@ne} + +\DeclareFontShape{C49}{min}{m}{n}{<-> sub * goth/m/n}{} +\DeclareFontShape{C49}{min}{bx}{n}{<-> sub * goth/bx/n}{} + +\endinput diff --git a/obsolete/fonts/hwkatakana/dgjhw.map b/obsolete/fonts/hwkatakana/dgjhw.map new file mode 100644 index 0000000000..97a84814a1 --- /dev/null +++ b/obsolete/fonts/hwkatakana/dgjhw.map @@ -0,0 +1,2 @@ +% Half-width katakana +dgjhw dgjhw <dgjhw.pfb diff --git a/obsolete/fonts/hwkatakana/dgjhw.pfb b/obsolete/fonts/hwkatakana/dgjhw.pfb Binary files differnew file mode 100644 index 0000000000..3d9c1456ba --- /dev/null +++ b/obsolete/fonts/hwkatakana/dgjhw.pfb diff --git a/obsolete/fonts/hwkatakana/dgjhw.tfm b/obsolete/fonts/hwkatakana/dgjhw.tfm Binary files differnew file mode 100644 index 0000000000..33f06fc42d --- /dev/null +++ b/obsolete/fonts/hwkatakana/dgjhw.tfm diff --git a/obsolete/fonts/hwkatakana/hwkatakana-sampler-SJIS.pdf b/obsolete/fonts/hwkatakana/hwkatakana-sampler-SJIS.pdf Binary files differnew file mode 100644 index 0000000000..91cb9fc563 --- /dev/null +++ b/obsolete/fonts/hwkatakana/hwkatakana-sampler-SJIS.pdf diff --git a/obsolete/fonts/hwkatakana/hwkatakana-sampler-SJIS.tex b/obsolete/fonts/hwkatakana/hwkatakana-sampler-SJIS.tex new file mode 100644 index 0000000000..3b9f87793f --- /dev/null +++ b/obsolete/fonts/hwkatakana/hwkatakana-sampler-SJIS.tex @@ -0,0 +1,90 @@ +% This is the file `hwkatakana-sampler.tex' which shows the shapes +% of the half-width katakana fonts for Japanese. +% +% written by Gernot Hassenpflug <aikishugyo@gmail.com> 16-Jan-2008 +% +% The licence of these half-width katakana fonts and accompanying +% files in this package (see file README) is GPL (GNU Public +% License) Version 2 or higher, see URL: +% http://www.gnu.org/copyleft/gpl.html +% +% The original Wadalab fonts by TANAKA Tetsuro +% (ktanaka@tanaka.ecc.u-tokyo.ac.jp, URL: +% http://www.tanaka.ecc.u-tokyo.ac.jp/~ktanaka/index-j.html) are +% available from the URL: ftp.ipl.t.u-tokyo.ac.jp and are licensed +% under a DFSG-free license given in ISO-2022-JP encoding at the URL: +% ftp://ftp.dante.de/pub/tex/support/ghostscript/3rdparty/fonts/kanji/README.nihongo. +% +% Modifications to the Wadalab fonts were carried out using the wftodm +% patch by Werner Lemberg licensed under GPL, and the resultant Type 1 +% font file dgjkata.pfb was used as the basis for these half-width +% katakana fonts. + +\documentclass[12pt]{article} +\usepackage{CJK} +\begin{document} +\begin{center} +\Large Half-width katakana font sampler (SJIS) \\ +\small Version 1.0 \\ +\small 16 January 2008 \\ +\small Gernot Hassenpflug (aikishugyo@gmail.com) +\end{center} +\begin{CJK*}[dnp]{SJIS}{min} +\CJKtilde + +\CJKhwkatakana + +\noindent Wadalab-based Gothic half-width katakana characters and +combinations:\vspace{1em} + +\noindent ァィゥェォッャュョアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメ +モヤユヨワン、・゙゚ガギグゲゴザジズゼゾダヂヅデドバビブベボパピプペポヴァヴィヴヴェヴォ「」ー。 \vspace{1em} + +\noindent Key combinations for entry of non-keyboard symbols using, +for example, the anthy keyboard input system in +japanese-hankaku-kana mode: + +\vspace{1em}\noindent\begin{tabular}{cc} +Key combination & half-width katakana \\ +z; & ゙ \\ +z: & ゚ \\ +z/ & ・ \\ +\end{tabular}\vspace{1em} + +\noindent Wadalab-based Gothic half-width katakana in context of +Wadalab Minch\={o}:\vspace{1em} + +\noindent \CJKfamily{min}研究課題は「レーダー・リモートセンシンク +゙」です。 + +\noindent\textbf{\CJKfamily{min}研究課題は「レーダー・リモートセンシンク +゙」です。}\vspace{1em} + +\noindent Wadalab-based Gothic half-width katakana in context of +Wadalab Gothic:\vspace{1em} + +\noindent \CJKfamily{goth}研究課題は「レーダー・リモートセンシンク +゙」です。 + +\noindent\textbf{\CJKfamily{goth}研究課題は「レーダー・リモートセンシンク +゙」です。}\vspace{1em} + +\noindent Wadalab-based Gothic half-width katakana in context of +Wadalab Maru:\vspace{1em} + +\noindent \CJKfamily{maru}研究課題は「レーダー・リモートセンシンク +゙」です。 + +\noindent\textbf{\CJKfamily{maru}研究課題は「レーダー・リモートセンシンク +゙」です。} + +\end{CJK*} + +\end{document} + + +%%% Local Variables: +%%% coding: sjis +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/obsolete/fonts/hwkatakana/hwkatakana-sampler-UTF8.pdf b/obsolete/fonts/hwkatakana/hwkatakana-sampler-UTF8.pdf Binary files differnew file mode 100644 index 0000000000..747465ee6c --- /dev/null +++ b/obsolete/fonts/hwkatakana/hwkatakana-sampler-UTF8.pdf diff --git a/obsolete/fonts/hwkatakana/hwkatakana-sampler-UTF8.tex b/obsolete/fonts/hwkatakana/hwkatakana-sampler-UTF8.tex new file mode 100644 index 0000000000..4cb5c87840 --- /dev/null +++ b/obsolete/fonts/hwkatakana/hwkatakana-sampler-UTF8.tex @@ -0,0 +1,88 @@ +% This is the file `hwkatakana-sampler.tex' which shows the shapes +% of the half-width katakana fonts for Japanese. +% +% written by Gernot Hassenpflug <aikishugyo@gmail.com> 16-Jan-2008 +% +% The licence of these half-width katakana fonts and accompanying +% files in this package (see file README) is GPL (GNU Public +% License) Version 2 or higher, see URL: +% http://www.gnu.org/copyleft/gpl.html +% +% The original Wadalab fonts by TANAKA Tetsuro +% (ktanaka@tanaka.ecc.u-tokyo.ac.jp, URL: +% http://www.tanaka.ecc.u-tokyo.ac.jp/~ktanaka/index-j.html) are +% available from the URL: ftp.ipl.t.u-tokyo.ac.jp and are licensed +% under a DFSG-free license given in ISO-2022-JP encoding at the URL: +% ftp://ftp.dante.de/pub/tex/support/ghostscript/3rdparty/fonts/kanji/README.nihongo. +% +% Modifications to the Wadalab fonts were carried out using the wftodm +% patch by Werner Lemberg licensed under GPL, and the resultant Type 1 +% font file dgjkata.pfb was used as the basis for these half-width +% katakana fonts. + +\documentclass[12pt]{article} +\usepackage{CJK} +\begin{document} +\begin{center} +\Large Half-width katakana font sampler (UTF8) \\ +\small Version 1.0 \\ +\small 16 January 2008 \\ +\small Gernot Hassenpflug (aikishugyo@gmail.com) +\end{center} +\begin{CJK*}{UTF8}{min} +\CJKtilde + +\noindent Wadalab-based Gothic half-width katakana characters and +combinations:\vspace{1em} + +\noindent スァスィスゥスェスォスッスャスュスョスアスイスウスエスオスカスキスクスケスコスサスシスススセスソセセセゑセセセセセセ茨セ会セ奇セ具セ鯉セ搾セ趣セ擾セ撰セ托セ +セ難セ費セ包セ厄セ懶セ晢ス、ス・セ橸セ滂スカセ橸スキセ橸スクセ橸スケセ橸スコセ橸スサセ橸スシセ橸ススセ橸スセセ橸スソセ橸セセ橸セセ橸セゑセ橸セセ橸セセ橸セ奇セ橸セ具セ橸セ鯉セ橸セ搾セ橸セ趣セ橸セ奇セ滂セ具セ滂セ鯉セ滂セ搾セ滂セ趣セ滂スウセ橸スァスウセ橸スィスウセ橸スウセ橸スェスウセ橸スォス「ス」スース。 \vspace{1em} + +\noindent Key combinations for entry of non-keyboard symbols using, +for example, the anthy keyboard input system in +japanese-hankaku-kana mode: + +\vspace{1em}\noindent\begin{tabular}{cc} +Key combination & half-width katakana \\ +z; & セ \\ +z: & セ \\ +z/ & ス・ \\ +\end{tabular}\vspace{1em} + +\noindent Wadalab-based Gothic half-width katakana in context of +Wadalab Minch\={o}:\vspace{1em} + +\noindent \CJKfamily{min}遐皮ゥカ隱イ鬘後ッス「セ夲スーセセ橸スース・セ假セ難スーセスセセ晢スシセ晢スク +セ橸ス」縺ァ縺吶 + +\noindent\textbf{\CJKfamily{min}遐皮ゥカ隱イ鬘後ッス「セ夲スーセセ橸スース・セ假セ難スーセスセセ晢スシセ晢スク +セ橸ス」縺ァ縺吶}\vspace{1em} + +\noindent Wadalab-based Gothic half-width katakana in context of +Wadalab Gothic:\vspace{1em} + +\noindent \CJKfamily{goth}遐皮ゥカ隱イ鬘後ッス「セ夲スーセセ橸スース・セ假セ難スーセスセセ晢スシセ晢スク +セ橸ス」縺ァ縺吶 + +\noindent\textbf{\CJKfamily{goth}遐皮ゥカ隱イ鬘後ッス「セ夲スーセセ橸スース・セ假セ難スーセスセセ晢スシセ晢スク +セ橸ス」縺ァ縺吶}\vspace{1em} + +\noindent Wadalab-based Gothic half-width katakana in context of +Wadalab Maru:\vspace{1em} + +\noindent \CJKfamily{maru}遐皮ゥカ隱イ鬘後ッス「セ夲スーセセ橸スース・セ假セ難スーセスセセ晢スシセ晢スク +セ橸ス」縺ァ縺吶 + +\noindent\textbf{\CJKfamily{maru}遐皮ゥカ隱イ鬘後ッス「セ夲スーセセ橸スース・セ假セ難スーセスセセ晢スシセ晢スク +セ橸ス」縺ァ縺吶} + +\end{CJK*} + +\end{document} + + +%%% Local Variables: +%%% coding: utf-8 +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/obsolete/fonts/hwkatakana/udgjff.tfm b/obsolete/fonts/hwkatakana/udgjff.tfm Binary files differnew file mode 100644 index 0000000000..9d8d80d353 --- /dev/null +++ b/obsolete/fonts/hwkatakana/udgjff.tfm diff --git a/obsolete/fonts/hwkatakana/udgjff.vf b/obsolete/fonts/hwkatakana/udgjff.vf Binary files differnew file mode 100644 index 0000000000..2d84d7d5d2 --- /dev/null +++ b/obsolete/fonts/hwkatakana/udgjff.vf diff --git a/obsolete/fonts/hwkatakana/udmjff.tfm b/obsolete/fonts/hwkatakana/udmjff.tfm Binary files differnew file mode 100644 index 0000000000..f950edafe4 --- /dev/null +++ b/obsolete/fonts/hwkatakana/udmjff.tfm diff --git a/obsolete/fonts/hwkatakana/udmjff.vf b/obsolete/fonts/hwkatakana/udmjff.vf Binary files differnew file mode 100644 index 0000000000..f7ffe660ce --- /dev/null +++ b/obsolete/fonts/hwkatakana/udmjff.vf diff --git a/obsolete/fonts/hwkatakana/umcjff.tfm b/obsolete/fonts/hwkatakana/umcjff.tfm Binary files differnew file mode 100644 index 0000000000..e851870b6f --- /dev/null +++ b/obsolete/fonts/hwkatakana/umcjff.tfm diff --git a/obsolete/fonts/hwkatakana/umcjff.vf b/obsolete/fonts/hwkatakana/umcjff.vf Binary files differnew file mode 100644 index 0000000000..3a32effe45 --- /dev/null +++ b/obsolete/fonts/hwkatakana/umcjff.vf diff --git a/obsolete/fonts/hwkatakana/umrjff.tfm b/obsolete/fonts/hwkatakana/umrjff.tfm Binary files differnew file mode 100644 index 0000000000..c4d017eb3d --- /dev/null +++ b/obsolete/fonts/hwkatakana/umrjff.tfm diff --git a/obsolete/fonts/hwkatakana/umrjff.vf b/obsolete/fonts/hwkatakana/umrjff.vf Binary files differnew file mode 100644 index 0000000000..26b9ea8946 --- /dev/null +++ b/obsolete/fonts/hwkatakana/umrjff.vf |