summaryrefslogtreecommitdiff
path: root/fonts/morisawa
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/morisawa
Initial commit
Diffstat (limited to 'fonts/morisawa')
-rw-r--r--fonts/morisawa/LICENSE25
-rw-r--r--fonts/morisawa/Makefile97
-rw-r--r--fonts/morisawa/README.md33
-rw-r--r--fonts/morisawa/map/morisawa5.map13
-rw-r--r--fonts/morisawa/morisawa.dtx312
-rw-r--r--fonts/morisawa/morisawa.ins4
-rw-r--r--fonts/morisawa/morisawa.pdfbin0 -> 93126 bytes
-rw-r--r--fonts/morisawa/tfm/FutoGoB101-Bold-H.tfmbin0 -> 1196 bytes
-rw-r--r--fonts/morisawa/tfm/FutoGoB101-Bold-J.tfmbin0 -> 468 bytes
-rw-r--r--fonts/morisawa/tfm/FutoGoB101-Bold-V.tfmbin0 -> 856 bytes
-rw-r--r--fonts/morisawa/tfm/FutoMinA101-Bold-H.tfmbin0 -> 1196 bytes
-rw-r--r--fonts/morisawa/tfm/FutoMinA101-Bold-J.tfmbin0 -> 468 bytes
-rw-r--r--fonts/morisawa/tfm/FutoMinA101-Bold-V.tfmbin0 -> 856 bytes
-rw-r--r--fonts/morisawa/tfm/GothicBBB-Medium-H.tfmbin0 -> 1196 bytes
-rw-r--r--fonts/morisawa/tfm/GothicBBB-Medium-J.tfmbin0 -> 468 bytes
-rw-r--r--fonts/morisawa/tfm/GothicBBB-Medium-V.tfmbin0 -> 856 bytes
-rw-r--r--fonts/morisawa/tfm/Jun101-Light-H.tfmbin0 -> 1196 bytes
-rw-r--r--fonts/morisawa/tfm/Jun101-Light-J.tfmbin0 -> 468 bytes
-rw-r--r--fonts/morisawa/tfm/Jun101-Light-V.tfmbin0 -> 856 bytes
-rw-r--r--fonts/morisawa/tfm/Ryumin-Light-H.tfmbin0 -> 1196 bytes
-rw-r--r--fonts/morisawa/tfm/Ryumin-Light-J.tfmbin0 -> 468 bytes
-rw-r--r--fonts/morisawa/tfm/Ryumin-Light-V.tfmbin0 -> 856 bytes
-rw-r--r--fonts/morisawa/tfm/futogo-b-v.tfmbin0 -> 108 bytes
-rw-r--r--fonts/morisawa/tfm/futogo-b.tfmbin0 -> 108 bytes
-rw-r--r--fonts/morisawa/tfm/futomin-b-v.tfmbin0 -> 108 bytes
-rw-r--r--fonts/morisawa/tfm/futomin-b.tfmbin0 -> 108 bytes
-rw-r--r--fonts/morisawa/tfm/gtbbb-m-v.tfmbin0 -> 108 bytes
-rw-r--r--fonts/morisawa/tfm/gtbbb-m.tfmbin0 -> 108 bytes
-rw-r--r--fonts/morisawa/tfm/jun101-l-v.tfmbin0 -> 108 bytes
-rw-r--r--fonts/morisawa/tfm/jun101-l.tfmbin0 -> 108 bytes
-rw-r--r--fonts/morisawa/tfm/ryumin-l-v.tfmbin0 -> 108 bytes
-rw-r--r--fonts/morisawa/tfm/ryumin-l.tfmbin0 -> 108 bytes
-rw-r--r--fonts/morisawa/vf/FutoGoB101-Bold-H.vfbin0 -> 141640 bytes
-rw-r--r--fonts/morisawa/vf/FutoGoB101-Bold-J.vfbin0 -> 141468 bytes
-rw-r--r--fonts/morisawa/vf/FutoGoB101-Bold-V.vfbin0 -> 141588 bytes
-rw-r--r--fonts/morisawa/vf/FutoMinA101-Bold-H.vfbin0 -> 141644 bytes
-rw-r--r--fonts/morisawa/vf/FutoMinA101-Bold-J.vfbin0 -> 141472 bytes
-rw-r--r--fonts/morisawa/vf/FutoMinA101-Bold-V.vfbin0 -> 141588 bytes
-rw-r--r--fonts/morisawa/vf/GothicBBB-Medium-H.vfbin0 -> 141640 bytes
-rw-r--r--fonts/morisawa/vf/GothicBBB-Medium-J.vfbin0 -> 141468 bytes
-rw-r--r--fonts/morisawa/vf/GothicBBB-Medium-V.vfbin0 -> 141588 bytes
-rw-r--r--fonts/morisawa/vf/Jun101-Light-H.vfbin0 -> 141640 bytes
-rw-r--r--fonts/morisawa/vf/Jun101-Light-J.vfbin0 -> 141468 bytes
-rw-r--r--fonts/morisawa/vf/Jun101-Light-V.vfbin0 -> 141588 bytes
-rw-r--r--fonts/morisawa/vf/Ryumin-Light-H.vfbin0 -> 141640 bytes
-rw-r--r--fonts/morisawa/vf/Ryumin-Light-J.vfbin0 -> 141468 bytes
-rw-r--r--fonts/morisawa/vf/Ryumin-Light-V.vfbin0 -> 141588 bytes
47 files changed, 484 insertions, 0 deletions
diff --git a/fonts/morisawa/LICENSE b/fonts/morisawa/LICENSE
new file mode 100644
index 0000000000..a43f33b573
--- /dev/null
+++ b/fonts/morisawa/LICENSE
@@ -0,0 +1,25 @@
+Copyright 1995-1999 ASCII MEDIA WORKS
+Copyright 1999-2016 Haruhiko Okumura
+Copyright 2016-2018 Japanese TeX Development Community
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/fonts/morisawa/Makefile b/fonts/morisawa/Makefile
new file mode 100644
index 0000000000..a87758da60
--- /dev/null
+++ b/fonts/morisawa/Makefile
@@ -0,0 +1,97 @@
+STRIPTARGET = morisawa.sty
+DOCTARGET = morisawa
+PDFTARGET = $(addsuffix .pdf,$(DOCTARGET))
+DVITARGET = $(addsuffix .dvi,$(DOCTARGET))
+KANJI = -kanji=utf8
+FONTMAP = -f ipaex.map -f ptex-ipaex.map
+TEXMF = $(shell kpsewhich -var-value=TEXMFHOME)
+
+default: $(STRIPTARGET) $(DVITARGET)
+strip: $(STRIPTARGET)
+all: $(STRIPTARGET) $(PDFTARGET)
+
+# `make fonts' will fail due to lack of kpathsea of sources,
+# but shown here for information purpose.
+# if you want to make these, put sources in the current dir.
+fonts:
+ for fnt in Ryumin-Light FutoMinA101-Bold ; do \
+ cp min10.tfm $$fnt-H.tfm ; \
+ cp tmin10.tfm $$fnt-V.tfm ; \
+ cp jis.tfm $$fnt-J.tfm ; \
+ done
+ for fnt in GothicBBB-Medium FutoGoB101-Bold Jun101-Light ; do \
+ cp goth10.tfm $$fnt-H.tfm ; \
+ cp tgoth10.tfm $$fnt-V.tfm ; \
+ cp jisg.tfm $$fnt-J.tfm ; \
+ done
+ for VAR in J H ; do \
+ makejvf Ryumin-Light-$$VAR ryumin-l ; \
+ makejvf FutoMinA101-Bold-$$VAR futomin-b ; \
+ makejvf GothicBBB-Medium-$$VAR gtbbb-m ; \
+ makejvf FutoGoB101-Bold-$$VAR futogo-b ; \
+ makejvf Jun101-Light-$$VAR jun101-l ; \
+ done
+ for VAR in V ; do \
+ makejvf Ryumin-Light-$$VAR ryumin-l-v ; \
+ makejvf FutoMinA101-Bold-$$VAR futomin-b-v ; \
+ makejvf GothicBBB-Medium-$$VAR gtbbb-m-v ; \
+ makejvf FutoGoB101-Bold-$$VAR futogo-b-v ; \
+ makejvf Jun101-Light-$$VAR jun101-l-v ; \
+ done
+ rm -f min10.tfm tmin10.tfm jis.tfm
+ rm -f goth10.tfm tgoth10.tfm jisg.tfm
+ mv *.tfm tfm/
+ mv *.vf vf/
+
+# for generating files, we use pdflatex incidentally.
+# current packages contain ASCII characters only, safe enough
+morisawa.sty: morisawa.dtx
+ rm -f morisawa
+ pdflatex morisawa.ins
+ rm morisawa.log
+
+.SUFFIXES: .dtx .dvi .pdf
+.dtx.dvi:
+ platex $(KANJI) $<
+ platex $(KANJI) $<
+ rm -f *.aux *.log *.toc
+.dvi.pdf:
+ dvipdfmx $(FONTMAP) $<
+
+.PHONY: install clean cleanstrip cleanall cleandoc
+install:
+ mkdir -p ${TEXMF}/doc/platex/morisawa
+ cp ./LICENSE ${TEXMF}/doc/platex/morisawa/
+ cp ./README.md ${TEXMF}/doc/platex/morisawa/
+ cp ./*.pdf ${TEXMF}/doc/platex/morisawa/
+ mkdir -p ${TEXMF}/fonts/map/dvipdfmx/morisawa/
+ cp ./map/* ${TEXMF}/fonts/map/dvipdfmx/morisawa/
+ mkdir -p ${TEXMF}/fonts/tfm/public/morisawa
+ cp ./tfm/futo* ${TEXMF}/fonts/tfm/public/morisawa/
+ cp ./tfm/gtb* ${TEXMF}/fonts/tfm/public/morisawa/
+ cp ./tfm/jun* ${TEXMF}/fonts/tfm/public/morisawa/
+ cp ./tfm/ryumin* ${TEXMF}/fonts/tfm/public/morisawa/
+ mkdir -p ${TEXMF}/fonts/tfm/public/morisawa
+ cp ./tfm/Futo* ${TEXMF}/fonts/tfm/public/morisawa/
+ cp ./tfm/Gothic* ${TEXMF}/fonts/tfm/public/morisawa/
+ cp ./tfm/Jun* ${TEXMF}/fonts/tfm/public/morisawa/
+ cp ./tfm/Ryumin* ${TEXMF}/fonts/tfm/public/morisawa/
+ mkdir -p ${TEXMF}/fonts/vf/public/morisawa
+ cp ./vf/Futo* ${TEXMF}/fonts/vf/public/morisawa/
+ cp ./vf/Gothic* ${TEXMF}/fonts/vf/public/morisawa/
+ cp ./vf/Jun* ${TEXMF}/fonts/vf/public/morisawa/
+ cp ./vf/Ryumin* ${TEXMF}/fonts/vf/public/morisawa/
+ mkdir -p ${TEXMF}/source/platex/morisawa
+ cp ./Makefile ${TEXMF}/source/platex/morisawa/
+ cp ./*.dtx ${TEXMF}/source/platex/morisawa/
+ cp ./*.ins ${TEXMF}/source/platex/morisawa/
+ mkdir -p ${TEXMF}/tex/platex/morisawa
+ cp ./*.sty ${TEXMF}/tex/platex/morisawa/
+clean:
+ rm -f $(STRIPTARGET) $(DVITARGET)
+cleanstrip:
+ rm -f $(STRIPTARGET)
+cleanall:
+ rm -f $(STRIPTARGET) $(DVITARGET) $(PDFTARGET)
+cleandoc:
+ rm -f $(DVITARGET) $(PDFTARGET)
diff --git a/fonts/morisawa/README.md b/fonts/morisawa/README.md
new file mode 100644
index 0000000000..923d311e5e
--- /dev/null
+++ b/fonts/morisawa/README.md
@@ -0,0 +1,33 @@
+# morisawa
+
+This package enables selection of 5 standard Japanese fonts
+for pLaTeX + dvips.
+The package was originally written by Haruhiko Okumura as part of
+[jsclasses](https://github.com/texjporg/jsclasses) bundle,
+and the TFM/VF files were previously distributed as part of
+[ptex-fonts](https://github.com/texjporg/ptex-fonts) package.
+Now all these files are distributed as a separate package,
+maintained by Japanese TeX Development Community.
+
+"Morisawa" is the name of Japanese font vendor,
+but here we use only generic font names;
+it means that there is no need for actual Morisawa fonts.
+
+## Installation
+
+- map/* -> `$TEXMF/fonts/map/dvipdfmx/morisawa/`
+- tfm/* -> `$TEXMF/fonts/tfm/public/morisawa/`
+- vf/* -> `$TEXMF/fonts/vf/public/morisawa/`
+- *.sty -> `$TEXMF/tex/platex/morisawa/`
+
+## Repository
+
+The bundle is maintained on GitHub:
+https://github.com/texjporg/morisawa
+
+## Release Date
+
+2018-03-11
+
+Haruhiko Okumura,
+Japanese TeX Development Community
diff --git a/fonts/morisawa/map/morisawa5.map b/fonts/morisawa/map/morisawa5.map
new file mode 100644
index 0000000000..707c71fabf
--- /dev/null
+++ b/fonts/morisawa/map/morisawa5.map
@@ -0,0 +1,13 @@
+%%
+%% Morisawa
+%%
+ryumin-l H Ryumin-Light
+ryumin-l-v V Ryumin-Light
+gtbbb-m H GothicBBB-Medium
+gtbbb-m-v V GothicBBB-Medium
+futomin-b H FutoMinA101-Bold
+futomin-b-v V FutoMinA101-Bold
+futogo-b H FutoGoB101-Bold
+futogo-b-v V FutoGoB101-Bold
+jun101-l H Jun101-Light
+jun101-l-v V Jun101-Light
diff --git a/fonts/morisawa/morisawa.dtx b/fonts/morisawa/morisawa.dtx
new file mode 100644
index 0000000000..458d0736ce
--- /dev/null
+++ b/fonts/morisawa/morisawa.dtx
@@ -0,0 +1,312 @@
+% ^^A -*- japanese-latex -*-
+%
+% \ifx\epTeXinputencoding\undefined\else
+% \epTeXinputencoding utf8 % ^^A added (2017-10-04)
+% \fi
+%
+% \iffalse
+%
+%<*driver>
+\ifx\epTeXinputencoding\undefined\else
+ \epTeXinputencoding utf8
+\fi
+%</driver>
+%
+% モリサワ基本5書体を使うためのパッケージ
+% 奥村晴彦 <okumura@okumuralab.org>
+%
+%<morisawa>\NeedsTeXFormat{pLaTeX2e}
+%<morisawa>\ProvidesPackage{morisawa}[2018/03/06 okumura, texjporg]
+%<*driver>
+\documentclass{jsarticle}
+\usepackage{doc}
+\xspcode"5C=1 %% \
+\xspcode"22=1 %% "
+\usepackage[fake]{morisawa}
+\addtolength{\textwidth}{-1in}
+\addtolength{\evensidemargin}{1in}
+\addtolength{\oddsidemargin}{1in}
+\addtolength{\marginparwidth}{1in}
+\setlength\marginparsep{5pt}
+\setlength\marginparpush{0pt}
+% \OnlyDescription
+\CodelineNumbered
+\DisableCrossrefs
+\setcounter{StandardModuleDepth}{1}
+\GetFileInfo{morisawa.sty}
+\begin{document}
+ \DocInput{morisawa.dtx}
+\end{document}
+%</driver>
+%
+% \fi
+%
+% \title{モリサワ基本5書体パッケージ}
+% \author{奥村晴彦}
+% \date{\filedate}
+% \maketitle
+%
+% \MakeShortVerb{\|}
+%
+% \section{はじめに}
+%
+% これはモリサワ基本5書体を使うためのパッケージです。
+% ご自由に修正してお使いください。
+%
+% [2002-12-19] いろいろなものに収録していただく際にライセンスを明確にする
+% 必要が生じてきました。アスキーのものが最近はmodified BSDライセンスになっ
+% ていますので,私のものもそれに準じてmodified BSDとすることにします。
+%
+% モリサワ基本5書体とは
+% \begin{itemize}
+% \item リュウミンL(Ryumin-Light)
+% \item 中ゴシックBBB(GothicBBB-Medium)
+% \item 太ミン(FutoMinA101-Bold)
+% \item 太ゴ(FutoGoB101-Bold)
+% \item じゅん(Jun101-Light)
+% \end{itemize}
+% のことです。
+%
+% これらを使うには,アスキーが配布している |morisawa.tar.gz|
+% が必要です。また,dvips(k)のmapファイルに次のように書いておきます。
+%
+%\begin{verbatim}
+% rml Ryumin-Light-H
+% rmlv Ryumin-Light-V
+% gbm GothicBBB-Medium-H
+% gbmv GothicBBB-Medium-V
+% ryumin-l Ryumin-Light-H
+% ryumin-l-v Ryumin-Light-V
+% gtbbb-m GothicBBB-Medium-H
+% gtbbb-m-v GothicBBB-Medium-V
+% futomin-b FutoMinA101-Bold-H
+% futomin-b-v FutoMinA101-Bold-V
+% futogo-b FutoGoB101-Bold-H
+% futogo-b-v FutoGoB101-Bold-V
+% jun101-l Jun101-Light-H
+% jun101-l-v Jun101-Light-V
+%\end{verbatim}
+%
+% もともとPSプリンタに実装されている場合以外は,
+% モリサワ5書体を買い揃えてもしかたがありませんが,
+% これらの名前は標準的なので,
+% 実際の出力時には他のフォントで置き換える場合でも,
+% これらの名前を仮に使っておくと便利です。
+%
+% たとえば『[改訂版]\LaTeXe 美文書作成入門』(2000年)
+% ではヒラギノに置き換えるために dvips(k)のmapファイルに
+% 次のように書いておきました。
+%
+%\begin{verbatim}
+% rml Ryumin-Light-H
+% rmlv Ryumin-Light-V
+% gbm GothicBBB-Medium-H
+% gbmv GothicBBB-Medium-V
+% ryumin-l HiraginoMin-W3-H
+% ryumin-l-v HiraginoMin-W3-V
+% gtbbb-m HiraginoKaku-W5-H
+% gtbbb-m-v HiraginoKaku-W5-V
+% futomin-b HiraginoMin-W3-H
+% futomin-b-v HiraginoMin-W3-H
+% futogo-b HiraginoKaku-W5-H
+% futogo-b-v HiraginoKaku-W5-V
+% jun101-l HiraginoKaku-W2-H
+% jun101-l-v HiraginoKaku-W2-V
+%\end{verbatim}
+%
+% \section{簡単な使い方}
+%
+% |{\kanjifamily{rml}\selectfont リュウミン}| → {\kanjifamily{rml}\selectfont リュウミン}
+%
+% |{\kanjifamily{gbm}\selectfont 中ゴシック}| → {\kanjifamily{gbm}\selectfont 中ゴシック}
+%
+% |{\kanjifamily{fma}\selectfont 太ミン}| → {\kanjifamily{fma}\selectfont 太ミン}
+%
+% |{\kanjifamily{gbm}\fontseries{bx}\selectfont 太ゴ}| → {\kanjifamily{gbm}\fontseries{bx}\selectfont 太ゴ}
+%
+% |{\kanjifamily{jun}\selectfont じゅん}| → {\kanjifamily{jun}\selectfont じゅん}
+%
+% |\textgt{\bfseries 太ゴ}| と書くと\textgt{\bfseries 太ゴ}になります。
+%
+% |\textbf{\gtfamily 太ゴ}| と書いても\textbf{\gtfamily 太ゴ}になります。
+%
+% |\textmg{じゅん}| または |{\mgfamily じゅん}| と書くと\textmg{じゅん}になります。
+%
+% |\texttt{じゅん}| や |{\ttfamily じゅん}| でも\texttt{じゅん}になります。
+%
+% 本文を{\kanjifamily{fma}\selectfont 太ミン}にするには |\renewcommand{\mcdefault}{fma}| とします。
+%
+% \StopEventually{}
+%
+% \section{オプションの定義}
+%
+% \begin{macrocode}
+%<*morisawa>
+\newif\if@fake \@fakefalse
+\DeclareOption{fake}{\@faketrue}
+\ProcessOptions\relax
+% \end{macrocode}
+%
+% \section{各フォントの定義}
+%
+% \texttt{fd} ファイルを使用するのはやめました。
+%
+% 明朝体です。ボールドを太ミンにするには
+%\begin{verbatim}
+% \DeclareFontShape{JY1}{rml}{bx}{n}{<-> s * [0.961] FutoMinA101-Bold-J}{}
+%\end{verbatim}
+% とすればいいのですが,ここでは互換性のため明朝のボールドを中ゴシックにします。
+%
+% \begin{macrocode}
+\DeclareKanjiFamily{JY1}{rml}{}
+\DeclareKanjiFamily{JT1}{rml}{}
+\if@fake
+ \DeclareFontShape{JY1}{rml}{m}{n}{<-> s * [0.961] jis}{}
+ \DeclareFontShape{JY1}{rml}{bx}{n}{<-> s * [0.961] jisg}{}
+ \DeclareFontShape{JT1}{rml}{m}{n}{<-> s * [0.961] tmin10}{}
+ \DeclareFontShape{JT1}{rml}{bx}{n}{<-> s * [0.961] tgoth10}{}
+\else
+ \DeclareFontShape{JY1}{rml}{m}{n}{<-> s * [0.961] Ryumin-Light-J}{}
+ \DeclareFontShape{JY1}{rml}{bx}{n}{<-> s * [0.961] GothicBBB-Medium-J}{}
+ \DeclareFontShape{JT1}{rml}{m}{n}{<-> s * [0.961] Ryumin-Light-V}{}
+ \DeclareFontShape{JT1}{rml}{bx}{n}{<-> s * [0.961] GothicBBB-Medium-V}{}
+\fi
+% \end{macrocode}
+%
+% 太明朝体です。
+%
+% \begin{macrocode}
+\DeclareKanjiFamily{JY1}{fma}{}
+\DeclareKanjiFamily{JT1}{fma}{}
+\if@fake
+ \DeclareFontShape{JY1}{fma}{m}{n}{<-> s * [0.961] jis}{}
+ \DeclareFontShape{JY1}{fma}{bx}{n}{<-> s * [0.961] jisg}{}
+ \DeclareFontShape{JT1}{fma}{m}{n}{<-> s * [0.961] tmin10}{}
+ \DeclareFontShape{JT1}{fma}{bx}{n}{<-> s * [0.961] tgoth10}{}
+\else
+ \DeclareFontShape{JY1}{fma}{m}{n}{<-> s * [0.961] FutoMinA101-Bold-J}{}
+ \DeclareFontShape{JY1}{fma}{bx}{n}{<-> s * [0.961] GothicBBB-Medium-J}{}
+ \DeclareFontShape{JT1}{fma}{m}{n}{<-> s * [0.961] FutoMinA101-Bold-V}{}
+ \DeclareFontShape{JT1}{fma}{bx}{n}{<-> s * [0.961] FutoGoB101-Bold-V}{}
+\fi
+% \end{macrocode}
+%
+% ゴシック体です。ボールド体にすると太ゴになります。
+%
+% \begin{macrocode}
+\DeclareKanjiFamily{JY1}{gbm}{}
+\DeclareKanjiFamily{JT1}{gbm}{}
+\if@fake
+ \DeclareFontShape{JY1}{gbm}{m}{n}{<-> s * [0.961] jisg}{}
+ \DeclareFontShape{JY1}{gbm}{bx}{n}{<-> s * [0.961] jisg}{}
+ \DeclareFontShape{JT1}{gbm}{m}{n}{<-> s * [0.961] tgoth10}{}
+ \DeclareFontShape{JT1}{gbm}{bx}{n}{<-> s * [0.961] tgoth10}{}
+\else
+ \DeclareFontShape{JY1}{gbm}{m}{n}{<-> s * [0.961] GothicBBB-Medium-J}{}
+ \DeclareFontShape{JY1}{gbm}{bx}{n}{<-> s * [0.961] FutoGoB101-Bold-J}{}
+ \DeclareFontShape{JT1}{gbm}{m}{n}{<-> s * [0.961] GothicBBB-Medium-V}{}
+ \DeclareFontShape{JT1}{gbm}{bx}{n}{<-> s * [0.961] FutoGoB101-Bold-V}{}
+\fi
+% \end{macrocode}
+%
+% 丸ゴシックの「じゅん101」です。
+%
+% \begin{macrocode}
+\DeclareKanjiFamily{JY1}{jun}{}
+\DeclareKanjiFamily{JT1}{jun}{}
+\if@fake
+ \DeclareFontShape{JY1}{jun}{m}{n}{<-> s * [0.961] jisg}{}
+ \DeclareFontShape{JY1}{jun}{bx}{n}{<->ssub*jun/m/n}{}
+ \DeclareFontShape{JT1}{jun}{m}{n}{<-> s * [0.961] tgoth10}{}
+ \DeclareFontShape{JT1}{jun}{bx}{n}{<->ssub*jun/m/n}{}
+\else
+ \DeclareFontShape{JY1}{jun}{m}{n}{<-> s * [0.961] Jun101-Light-J}{}
+ \DeclareFontShape{JY1}{jun}{bx}{n}{<->ssub*jun/m/n}{}
+ \DeclareFontShape{JT1}{jun}{m}{n}{<-> s * [0.961] Jun101-Light-V}{}
+ \DeclareFontShape{JT1}{jun}{bx}{n}{<->ssub*jun/m/n}{}
+\fi
+% \end{macrocode}
+%
+% \section{フォント関連コマンド}
+%
+% 標準の明朝を \texttt{rml},標準のゴシックを \texttt{gbm} とします。
+% 欧文にサンセリフ体を選ぶと和文はゴシック体になるようにします。
+%
+% \begin{macrocode}
+\renewcommand{\mcdefault}{rml}
+\renewcommand{\gtdefault}{gbm}
+% \DeclareRobustCommand\gtfamily{%
+% \not@math@alphabet\gtfamily\textgt
+% \romanfamily\sfdefault
+% \kanjifamily\gtdefault
+% \selectfont}
+\DeclareRobustCommand\sffamily{%
+ \not@math@alphabet\sffamily\mathsf
+ \romanfamily\sfdefault
+ \kanjifamily\gtdefault
+ \selectfont}
+% \end{macrocode}
+%
+% \begin{macro}{\mgfamily}
+% \begin{macro}{\mgdefault}
+% \begin{macro}{\textmg}
+%
+% 丸ゴシック関連のコマンド |\mgfamily|,|\mgdefault|,|\textmg|
+% を新設します。標準の丸ゴシックを \texttt{jun} とします。
+%
+% 欧文にタイプライタ体を選ぶと和文は丸ゴシック体になるようにしていましたが,
+% 中ゴシック体のほうがいいというご意見で,元に戻しました。
+% いや,それは単にmapファイルの問題だ,というのでまた丸ゴシック体に戻りました。|^^;|
+%
+% [2018-03-06] |\textmg| をrobustにしました。
+% \begin{macrocode}
+\newcommand{\mgdefault}{jun}
+\DeclareRobustCommand\mgfamily{%
+ \not@math@alphabet\mgfamily\textmg
+% \romanfamily\ttdefault
+ \kanjifamily\mgdefault
+ \selectfont}
+\DeclareRobustCommand\ttfamily{%
+ \not@math@alphabet\ttfamily\mathtt
+ \romanfamily\ttdefault
+ \kanjifamily\mgdefault
+% \kanjifamily\gtdefault
+ \selectfont}
+% \DeclareTextFontCommand{\textmg}{\mgfamily}
+% \def\textmg#1{\relax\ifmmode\hbox\fi{\mgfamily #1}}
+\DeclareRobustCommand\textmg[1]{%
+ \relax\ifmmode \expandafter\nfss@text \fi{\mgfamily #1}}
+% \end{macrocode}
+%
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% 基準となる長さを再設定をします。
+% これをしておかないと,標準ドキュメントクラスと組み合わせると
+% 段落の字下げが揃わなくなります。
+%
+% [2018-02-28] 基準とする文字を「全角空白」(EUCコード\texttt{0xA1A1})から
+% 「漢」(JISコード\texttt{0x3441})へ変更しました。
+% \begin{macrocode}
+\normalfont\normalsize
+\setbox0\hbox{\char\jis"3441}%
+\setlength\Cht{\ht0}
+\setlength\Cdp{\dp0}
+\setlength\Cwd{\wd0}
+\setlength\Cvs{\baselineskip}
+\setlength\Chs{\wd0}
+\setlength\parindent{1\Cwd}
+% \end{macrocode}
+%
+% 以上です。
+%
+% \begin{macrocode}
+%</morisawa>
+\endinput
+% \end{macrocode}
+%
+% ^^A \endinput の後に \CharacterTable を書いておけば,子ファイルには
+% ^^A 出力されません。チェックは *.dtx を処理したときにしてくれます。
+%
+% \Finale
diff --git a/fonts/morisawa/morisawa.ins b/fonts/morisawa/morisawa.ins
new file mode 100644
index 0000000000..c0984d0e36
--- /dev/null
+++ b/fonts/morisawa/morisawa.ins
@@ -0,0 +1,4 @@
+\def\batchfile{morisawa.ins}
+\input docstrip.tex
+\keepsilent
+\generateFile{morisawa.sty}{f}{\from{morisawa.dtx}{morisawa}}
diff --git a/fonts/morisawa/morisawa.pdf b/fonts/morisawa/morisawa.pdf
new file mode 100644
index 0000000000..2ae8c7c021
--- /dev/null
+++ b/fonts/morisawa/morisawa.pdf
Binary files differ
diff --git a/fonts/morisawa/tfm/FutoGoB101-Bold-H.tfm b/fonts/morisawa/tfm/FutoGoB101-Bold-H.tfm
new file mode 100644
index 0000000000..92b72a3fa2
--- /dev/null
+++ b/fonts/morisawa/tfm/FutoGoB101-Bold-H.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/FutoGoB101-Bold-J.tfm b/fonts/morisawa/tfm/FutoGoB101-Bold-J.tfm
new file mode 100644
index 0000000000..701106d78e
--- /dev/null
+++ b/fonts/morisawa/tfm/FutoGoB101-Bold-J.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/FutoGoB101-Bold-V.tfm b/fonts/morisawa/tfm/FutoGoB101-Bold-V.tfm
new file mode 100644
index 0000000000..7f9e9f91de
--- /dev/null
+++ b/fonts/morisawa/tfm/FutoGoB101-Bold-V.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/FutoMinA101-Bold-H.tfm b/fonts/morisawa/tfm/FutoMinA101-Bold-H.tfm
new file mode 100644
index 0000000000..1bf04b7ac3
--- /dev/null
+++ b/fonts/morisawa/tfm/FutoMinA101-Bold-H.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/FutoMinA101-Bold-J.tfm b/fonts/morisawa/tfm/FutoMinA101-Bold-J.tfm
new file mode 100644
index 0000000000..701106d78e
--- /dev/null
+++ b/fonts/morisawa/tfm/FutoMinA101-Bold-J.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/FutoMinA101-Bold-V.tfm b/fonts/morisawa/tfm/FutoMinA101-Bold-V.tfm
new file mode 100644
index 0000000000..a54690f565
--- /dev/null
+++ b/fonts/morisawa/tfm/FutoMinA101-Bold-V.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/GothicBBB-Medium-H.tfm b/fonts/morisawa/tfm/GothicBBB-Medium-H.tfm
new file mode 100644
index 0000000000..92b72a3fa2
--- /dev/null
+++ b/fonts/morisawa/tfm/GothicBBB-Medium-H.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/GothicBBB-Medium-J.tfm b/fonts/morisawa/tfm/GothicBBB-Medium-J.tfm
new file mode 100644
index 0000000000..701106d78e
--- /dev/null
+++ b/fonts/morisawa/tfm/GothicBBB-Medium-J.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/GothicBBB-Medium-V.tfm b/fonts/morisawa/tfm/GothicBBB-Medium-V.tfm
new file mode 100644
index 0000000000..7f9e9f91de
--- /dev/null
+++ b/fonts/morisawa/tfm/GothicBBB-Medium-V.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/Jun101-Light-H.tfm b/fonts/morisawa/tfm/Jun101-Light-H.tfm
new file mode 100644
index 0000000000..92b72a3fa2
--- /dev/null
+++ b/fonts/morisawa/tfm/Jun101-Light-H.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/Jun101-Light-J.tfm b/fonts/morisawa/tfm/Jun101-Light-J.tfm
new file mode 100644
index 0000000000..701106d78e
--- /dev/null
+++ b/fonts/morisawa/tfm/Jun101-Light-J.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/Jun101-Light-V.tfm b/fonts/morisawa/tfm/Jun101-Light-V.tfm
new file mode 100644
index 0000000000..7f9e9f91de
--- /dev/null
+++ b/fonts/morisawa/tfm/Jun101-Light-V.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/Ryumin-Light-H.tfm b/fonts/morisawa/tfm/Ryumin-Light-H.tfm
new file mode 100644
index 0000000000..1bf04b7ac3
--- /dev/null
+++ b/fonts/morisawa/tfm/Ryumin-Light-H.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/Ryumin-Light-J.tfm b/fonts/morisawa/tfm/Ryumin-Light-J.tfm
new file mode 100644
index 0000000000..701106d78e
--- /dev/null
+++ b/fonts/morisawa/tfm/Ryumin-Light-J.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/Ryumin-Light-V.tfm b/fonts/morisawa/tfm/Ryumin-Light-V.tfm
new file mode 100644
index 0000000000..a54690f565
--- /dev/null
+++ b/fonts/morisawa/tfm/Ryumin-Light-V.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/futogo-b-v.tfm b/fonts/morisawa/tfm/futogo-b-v.tfm
new file mode 100644
index 0000000000..dddd977640
--- /dev/null
+++ b/fonts/morisawa/tfm/futogo-b-v.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/futogo-b.tfm b/fonts/morisawa/tfm/futogo-b.tfm
new file mode 100644
index 0000000000..8dbf787b3e
--- /dev/null
+++ b/fonts/morisawa/tfm/futogo-b.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/futomin-b-v.tfm b/fonts/morisawa/tfm/futomin-b-v.tfm
new file mode 100644
index 0000000000..dddd977640
--- /dev/null
+++ b/fonts/morisawa/tfm/futomin-b-v.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/futomin-b.tfm b/fonts/morisawa/tfm/futomin-b.tfm
new file mode 100644
index 0000000000..8dbf787b3e
--- /dev/null
+++ b/fonts/morisawa/tfm/futomin-b.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/gtbbb-m-v.tfm b/fonts/morisawa/tfm/gtbbb-m-v.tfm
new file mode 100644
index 0000000000..dddd977640
--- /dev/null
+++ b/fonts/morisawa/tfm/gtbbb-m-v.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/gtbbb-m.tfm b/fonts/morisawa/tfm/gtbbb-m.tfm
new file mode 100644
index 0000000000..8dbf787b3e
--- /dev/null
+++ b/fonts/morisawa/tfm/gtbbb-m.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/jun101-l-v.tfm b/fonts/morisawa/tfm/jun101-l-v.tfm
new file mode 100644
index 0000000000..dddd977640
--- /dev/null
+++ b/fonts/morisawa/tfm/jun101-l-v.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/jun101-l.tfm b/fonts/morisawa/tfm/jun101-l.tfm
new file mode 100644
index 0000000000..8dbf787b3e
--- /dev/null
+++ b/fonts/morisawa/tfm/jun101-l.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/ryumin-l-v.tfm b/fonts/morisawa/tfm/ryumin-l-v.tfm
new file mode 100644
index 0000000000..dddd977640
--- /dev/null
+++ b/fonts/morisawa/tfm/ryumin-l-v.tfm
Binary files differ
diff --git a/fonts/morisawa/tfm/ryumin-l.tfm b/fonts/morisawa/tfm/ryumin-l.tfm
new file mode 100644
index 0000000000..8dbf787b3e
--- /dev/null
+++ b/fonts/morisawa/tfm/ryumin-l.tfm
Binary files differ
diff --git a/fonts/morisawa/vf/FutoGoB101-Bold-H.vf b/fonts/morisawa/vf/FutoGoB101-Bold-H.vf
new file mode 100644
index 0000000000..cd05161977
--- /dev/null
+++ b/fonts/morisawa/vf/FutoGoB101-Bold-H.vf
Binary files differ
diff --git a/fonts/morisawa/vf/FutoGoB101-Bold-J.vf b/fonts/morisawa/vf/FutoGoB101-Bold-J.vf
new file mode 100644
index 0000000000..5ad35b16e7
--- /dev/null
+++ b/fonts/morisawa/vf/FutoGoB101-Bold-J.vf
Binary files differ
diff --git a/fonts/morisawa/vf/FutoGoB101-Bold-V.vf b/fonts/morisawa/vf/FutoGoB101-Bold-V.vf
new file mode 100644
index 0000000000..ca49ad62b5
--- /dev/null
+++ b/fonts/morisawa/vf/FutoGoB101-Bold-V.vf
Binary files differ
diff --git a/fonts/morisawa/vf/FutoMinA101-Bold-H.vf b/fonts/morisawa/vf/FutoMinA101-Bold-H.vf
new file mode 100644
index 0000000000..2c7073d294
--- /dev/null
+++ b/fonts/morisawa/vf/FutoMinA101-Bold-H.vf
Binary files differ
diff --git a/fonts/morisawa/vf/FutoMinA101-Bold-J.vf b/fonts/morisawa/vf/FutoMinA101-Bold-J.vf
new file mode 100644
index 0000000000..2689155f37
--- /dev/null
+++ b/fonts/morisawa/vf/FutoMinA101-Bold-J.vf
Binary files differ
diff --git a/fonts/morisawa/vf/FutoMinA101-Bold-V.vf b/fonts/morisawa/vf/FutoMinA101-Bold-V.vf
new file mode 100644
index 0000000000..3473bdc22c
--- /dev/null
+++ b/fonts/morisawa/vf/FutoMinA101-Bold-V.vf
Binary files differ
diff --git a/fonts/morisawa/vf/GothicBBB-Medium-H.vf b/fonts/morisawa/vf/GothicBBB-Medium-H.vf
new file mode 100644
index 0000000000..3d684e0fa3
--- /dev/null
+++ b/fonts/morisawa/vf/GothicBBB-Medium-H.vf
Binary files differ
diff --git a/fonts/morisawa/vf/GothicBBB-Medium-J.vf b/fonts/morisawa/vf/GothicBBB-Medium-J.vf
new file mode 100644
index 0000000000..bc82dffaab
--- /dev/null
+++ b/fonts/morisawa/vf/GothicBBB-Medium-J.vf
Binary files differ
diff --git a/fonts/morisawa/vf/GothicBBB-Medium-V.vf b/fonts/morisawa/vf/GothicBBB-Medium-V.vf
new file mode 100644
index 0000000000..8f71c0dcd2
--- /dev/null
+++ b/fonts/morisawa/vf/GothicBBB-Medium-V.vf
Binary files differ
diff --git a/fonts/morisawa/vf/Jun101-Light-H.vf b/fonts/morisawa/vf/Jun101-Light-H.vf
new file mode 100644
index 0000000000..5968c36d00
--- /dev/null
+++ b/fonts/morisawa/vf/Jun101-Light-H.vf
Binary files differ
diff --git a/fonts/morisawa/vf/Jun101-Light-J.vf b/fonts/morisawa/vf/Jun101-Light-J.vf
new file mode 100644
index 0000000000..d0f787a625
--- /dev/null
+++ b/fonts/morisawa/vf/Jun101-Light-J.vf
Binary files differ
diff --git a/fonts/morisawa/vf/Jun101-Light-V.vf b/fonts/morisawa/vf/Jun101-Light-V.vf
new file mode 100644
index 0000000000..1322b81285
--- /dev/null
+++ b/fonts/morisawa/vf/Jun101-Light-V.vf
Binary files differ
diff --git a/fonts/morisawa/vf/Ryumin-Light-H.vf b/fonts/morisawa/vf/Ryumin-Light-H.vf
new file mode 100644
index 0000000000..2ea789e5aa
--- /dev/null
+++ b/fonts/morisawa/vf/Ryumin-Light-H.vf
Binary files differ
diff --git a/fonts/morisawa/vf/Ryumin-Light-J.vf b/fonts/morisawa/vf/Ryumin-Light-J.vf
new file mode 100644
index 0000000000..57a9e14c0e
--- /dev/null
+++ b/fonts/morisawa/vf/Ryumin-Light-J.vf
Binary files differ
diff --git a/fonts/morisawa/vf/Ryumin-Light-V.vf b/fonts/morisawa/vf/Ryumin-Light-V.vf
new file mode 100644
index 0000000000..d5ac758061
--- /dev/null
+++ b/fonts/morisawa/vf/Ryumin-Light-V.vf
Binary files differ