From 79a3cd02a15808ab4620153674d15ba3f059ae5e Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Tue, 7 Apr 2015 15:26:00 +0900 Subject: [PATCH] luatexja-preset.sty: added "moga-mobo" option. --- doc/luatexja.dtx | 31 +++++++++++++++++++++++++++++++ src/addons/luatexja-preset.sty | 22 ++++++++++++++++++---- 2 files changed, 49 insertions(+), 4 deletions(-) diff --git a/doc/luatexja.dtx b/doc/luatexja.dtx index 1754cf3..0bc8a28 100644 --- a/doc/luatexja.dtx +++ b/doc/luatexja.dtx @@ -1661,6 +1661,37 @@ Std/StdNフォントであり,その他はAdobe-Japan1-5対応である. \end{tabular} \end{center} + \item[moga-mobo] MogaMincho, MogaGothic, and MoboGothic. +These fonts can be downloaded from +\url{http://yozvox.web.fc2.com/82A882B782B782DF8374834883938367.html}. + +\begin{center}\small +\begin{tabular}{clll} +\toprule +\bf family&\bf series&\bf default, \texttt{90jis}~option&\bf \texttt{jis2004} option\\ +\midrule + &medium&Moga90Mincho&MogaMincho\\ +%\smash{\raisebox{1.5ex}{\textit{mincho}}}% +%\smash{\raisebox{1.5ex}{\gt 明朝}}% + &bold&Moga90Mincho Bold&MogaMincho Bold\\ +\midrule + &&Moga90Gothic&MogaGothic\\ + &\smash{\raisebox{1.5ex}{medium}} + &Moga90Gothic&MogaGothic\\ +\cmidrule(l){2-4} +%\textit{gothic}% +%\gt ゴシック + &bold&Moga90Gothic Bold&MogaGothic Bold\\ + &heavy&Moga90Gothic Bold&MogaGothic Bold\\ +\midrule +%\textit{rounded gothic} +%\gt 丸ゴシック +&&Mobo90Gothic&MoboGothic\\ +\bottomrule +\end{tabular} +\end{center} + + \end{cslist} %\paragraph{Presets for single weight} %\paragraph{単ウェイト用プリセット一覧} diff --git a/src/addons/luatexja-preset.sty b/src/addons/luatexja-preset.sty index b466bc1..f9c17dc 100644 --- a/src/addons/luatexja-preset.sty +++ b/src/addons/luatexja-preset.sty @@ -156,13 +156,24 @@ % according to http://support.apple.com/kb/HT5944 \DeclareOption{yu-osx}{ \ltjpreset_set_multi:n { - YuMincho~Medium , YuMincho~Demibold , % mc/m, mc/bx - YuGothic~Medium , YuGothic~Bold , % gt/m, gt/bx (multiweight)) - YuGothic~Bold , YuGothic~Bold , % gt/m (uni), gt/eb - YuGothic~Bold % mg/m + "YuMincho~Medium" , "YuMincho~Demibold" , % mc/m, mc/bx + "YuGothic~Medium" , "YuGothic~Bold" , % gt/m, gt/bx (multiweight)) + "YuGothic~Bold" , "YuGothic~Bold" , % gt/m (uni), gt/eb + "YuGothic~Bold" % mg/m } } +% moga-mobo +\DeclareOption{moga-mobo}{ + \ltjpreset_set_multi:n { + Moga90Mincho, "Moga90Mincho~Bold" , % mc/m, mc/bx + Moga90Gothic, "Moga90Gothic~Bold" , % gt/m, gt/bx (multiweight)) + "Moga90Gothic~Bold", "Moga90Gothic~Bold", % gt/m (uni), gt/eb + Mobo90Gothic % mg/m + } +} + + % ipa, ipaex, ms \DeclareOption{ipa}{ \ltjpreset_set_uni:nn { IPAMincho } { IPAGothic } @@ -223,6 +234,9 @@ { \bool_set_true:N \l_ltjpreset_shape_nlck_bool } \clist_if_in:NnT \l_ltjpreset_font_list { HiraMinProN-W3 } { \bool_set_true:N \l_ltjpreset_shape_nlck_bool } + \clist_if_in:NnT \l_ltjpreset_font_list { Moga90Mincho } + { \tl_remove_all:Nn \l_ltjpreset_font_list {90} }%%% これでいいのか? + } %%%% リストからの展開 -- 2.11.0