summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/addons/luatexja-zhfonts.sty
blob: 8e215d3f6eb9ae0413ac91b3821f7b6a1b2e24d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
% luatexja-zhfonts.sty
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luatexja-zhfonts}[2013/09/10 Setting for Chinese fonts]
\RequirePackage{luatexja-fontspec}

% SinoType 华文字体
\DeclareOption{SinoType}{
\setmainjfont[BoldFont=STZhongsong]{STSong}
\setsansjfont[BoldFont=STXihei]{STXihei}
\newjfontface\kai{STKaiti}
\newjfontface\fang{STFangsong}
}

% ZhongYi 中易字体
\DeclareOption{ZhongYi}{
\setmainjfont[BoldFont=SimHei]{SimSun}
\setsansjfont[BoldFont=SimHei]{SimHei}
\newjfontface\kai{KaiTi}
\newjfontface\fang{FangSong}
}

% Adobe Adobe字体
\DeclareOption{Adobe}{
\setmainjfont[BoldFont=AdobeHeitiStd-Regular]{AdobeSongStd-Light}
\setsansjfont[BoldFont=AdobeHeitiStd-Regular]{AdobeHeitiStd-Regular}
\newjfontface\kai{AdobeKaitiStd-Regular}
\newjfontface\fang{AdobeFangsongStd-Regular}
}

% Founder 方正字体
\DeclareOption{Founder}{
\setmainjfont[BoldFont=FZXiaoBiaoSong-B05]{FZShuSong-Z01}
\setsansjfont[BoldFont=FZHei-B01]{FZHei-B01}
\newjfontface\kai{FZKai-Z03}
\newjfontface\fang{FZFangSong-Z02}
}

% HanYi-J 汉仪字体-文房字宝-简体
% HanYi-F 汉仪字体-文房字宝-繁体
% 书宋一简 HYA9GJM.ttf
% 中宋简  HYA3GJM.ttf
% 中黑简  HYB1GJM.ttf
% 粗黑简  HYB9GJM.ttf
% 楷体简  HYC1GJM.ttf
% 仿宋简  HYD1GJM.ttf
\DeclareOption{HanYi-J}{
\setmainjfont[BoldFont=HYA9GJM.ttf]{HYA3GJM.ttf}
\setsansjfont[BoldFont=HYB9GJM.ttf]{HYB1GJM.ttf}
\newjfontface\kai{HYC1GJM.ttf}
\newjfontface\fang{HYD1GJM.ttf}
}

\DeclareOption{HanYi-F}{
\setmainjfont[BoldFont=HYA9GFM.ttf]{HYA3GFM.ttf}
\setsansjfont[BoldFont=HYB9GFM.ttf]{HYB1GFM.ttf}
\newjfontface\kai{HYC1GFM.ttf}
\newjfontface\fang{HYD1GFM.ttf}
}

% cwTeX TrueType (in Debian/Ubuntu)
\DeclareOption{cwttf}{
\setmainjfont[BoldFont=cwTeXHeiBold]{cwTeXMing}
\setsansjfont[BoldFont=cwTeXHeiBold]{cwTeXHeiBold}
\newjfontface\kai{cwTeXKai}
\newjfontface\fang{cwTeXFangSong}
}

% Fandol fonts http://fandol-doc.googlecode.com/files/fandol-fonts.7z
\DeclareOption{Fandol}{
\setmainjfont[BoldFont=FandolSong-Bold]{FandolSong-Regular}
\setsansjfont[BoldFont=FandolHei-Bold]{FandolHei-Regular}
\newjfontface\kai{FandolKai-Regular}
\newjfontface\fang{FandolFang-Regular}
}

\ProcessOptions\relax
\endinput