% gt-m=SourceHanSans-Regular, % gothic medium (with deluxe option)
% gt-bx=HiraKakuProN-W6,ular, % gothic bold
% gt-eb=HiraKakuProN-W6,ular, % gothic extra bold
- mg-m=HG Maru Gothic PRO, % rounded gothic
+ mg-m=HGMaruGothicMPRO, % rounded gothic
},
deluxe,expert,jis2004,match,nfssonly
]{luatexja-preset}
\textit{gothic}&bold&HG Gothic E&HG Gothic E&HG Gothic E\\\cmidrule{2-5}
&extra bold&HG Soei Kaku Gothic UB&HG Soei Kaku Gothic UB&HG Soei Kaku Gothic UB\\\midrule
\textit{rounded gothic}&&
-HG Maru Gothic PRO&HG Maru Gothic PRO&HG Maru Gothic PRO\\
+HG MaruGothic M PRO&HG MaruGothic M PRO&HG MaruGothic M PRO\\
%</en>
%<*ja>
&medium&IPA明朝&IPAex明朝&MS明朝\\
\textgt{ゴシック体}&bold&HGゴシックE&HGゴシックE&HGゴシックE\\\cmidrule{2-5}
&extra bold&HG創英角ゴシックUB&HG創英角ゴシックUB&HG創英角ゴシックUB\\\midrule
\textgt{丸ゴシック体}&&
-HG丸ゴシック体PRO&HG丸ゴシック体PRO&HG丸ゴシック体PRO\\
+HG丸ゴシックM-PRO&HG丸ゴシックM-PRO&HG丸ゴシックM-PRO\\
%</ja>
\bottomrule
\end{tabular}\par\medskip}
}
\msg_new:nnn { luatexja-preset }{ no-font }{
- Font~ for~ #1~ (#2)~ is~ not~found.~ Hence~ I~ substitute~ #3~ (#4)~ for~ it.
+ Font~ #1~ (#2)~ is~ not~found.~ Hence~ I~ substitute~ #3~ (#4)~ for~ it.
}
\bool_if:NT \l_ltjpreset_deluxe_bool {
\ltjpreset_substitute:nnnn { gt } { eb } { gt } { bx }
end
end
local function prepare_extra_data_font(id, res)
- if type(res)=='table' and res.shared and res.filename then
- font_extra_info[id] = font_extra_basename[file.nameonly(res.filename)]
+ if type(res)=='table' and res.shared and (res.psname or res.filename) then
+ font_extra_info[id] = font_extra_basename[res.psname or file.nameonly(res.filename)]
end
end
luatexbase.add_to_callback(