-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgenkofonts.sty
151 lines (115 loc) · 6.79 KB
/
genkofonts.sty
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
\ProvidesPackage{genkofonts}[2019/9/25 v1.0 pLaTeX package file]
%%%%%%%%%%%%%%%%%%%%% 補充的字體命令 %%%%%%%%%%%%%%%%%%%(開始)
\DeclareFontFamily{JY2}{ugenkomin}{}
\DeclareFontFamily{JT2}{ugenkomin}{}
\DeclareFontShape{JY2}{ugenkomin}{m}{n}{<->ugenkomin-h}{}
\DeclareFontShape{JY2}{ugenkomin}{m}{it}{<->ssub*ugenkomin/m/n}{}
\DeclareFontShape{JY2}{ugenkomin}{m}{sl}{<->ssub*ugenkomin/m/n}{}
\DeclareFontShape{JY2}{ugenkomin}{m}{sc}{<->ssub*ugenkomin/m/n}{}
\DeclareFontShape{JT2}{ugenkomin}{m}{n}{<->ugenkomin-v}{}
\DeclareFontShape{JT2}{ugenkomin}{m}{it}{<->ssub*ugenkomin/m/n}{}
\DeclareFontShape{JT2}{ugenkomin}{m}{sl}{<->ssub*ugenkomin/m/n}{}
\DeclareFontShape{JT2}{ugenkomin}{m}{sc}{<->ssub*ugenkomin/m/n}{}
\DeclareRobustCommand\ugenkomin{\kanjifamily{ugenkomin}\selectfont}
\DeclareFontFamily{JY2}{ugenkominb}{}
\DeclareFontFamily{JT2}{ugenkominb}{}
\DeclareFontShape{JY2}{ugenkominb}{m}{n}{<->ugenkominb-h}{}
\DeclareFontShape{JY2}{ugenkominb}{m}{it}{<->ssub*ugenkominb/m/n}{}
\DeclareFontShape{JY2}{ugenkominb}{m}{sl}{<->ssub*ugenkominb/m/n}{}
\DeclareFontShape{JY2}{ugenkominb}{m}{sc}{<->ssub*ugenkominb/m/n}{}
\DeclareFontShape{JT2}{ugenkominb}{m}{n}{<->ugenkominb-v}{}
\DeclareFontShape{JT2}{ugenkominb}{m}{it}{<->ssub*ugenkominb/m/n}{}
\DeclareFontShape{JT2}{ugenkominb}{m}{sl}{<->ssub*ugenkominb/m/n}{}
\DeclareFontShape{JT2}{ugenkominb}{m}{sc}{<->ssub*ugenkominb/m/n}{}
\DeclareRobustCommand\ugenkominb{\kanjifamily{ugenkominb}\selectfont}
\DeclareFontFamily{JY2}{ugenkogt}{}
\DeclareFontFamily{JT2}{ugenkogt}{}
\DeclareFontShape{JY2}{ugenkogt}{m}{n}{<->ugenkogt-h}{}
\DeclareFontShape{JY2}{ugenkogt}{m}{it}{<->ssub*ugenkogt/m/n}{}
\DeclareFontShape{JY2}{ugenkogt}{m}{sl}{<->ssub*ugenkogt/m/n}{}
\DeclareFontShape{JY2}{ugenkogt}{m}{sc}{<->ssub*ugenkogt/m/n}{}
\DeclareFontShape{JT2}{ugenkogt}{m}{n}{<->ugenkogt-v}{}
\DeclareFontShape{JT2}{ugenkogt}{m}{it}{<->ssub*ugenkogt/m/n}{}
\DeclareFontShape{JT2}{ugenkogt}{m}{sl}{<->ssub*ugenkogt/m/n}{}
\DeclareFontShape{JT2}{ugenkogt}{m}{sc}{<->ssub*ugenkogt/m/n}{}
\DeclareRobustCommand\ugenkogt{\kanjifamily{ugenkogt}\selectfont}
\DeclareFontFamily{JY2}{ugenkogtb}{}
\DeclareFontFamily{JT2}{ugenkogtb}{}
\DeclareFontShape{JY2}{ugenkogtb}{m}{n}{<->ugenkogtb-h}{}
\DeclareFontShape{JY2}{ugenkogtb}{m}{it}{<->ssub*ugenkogtb/m/n}{}
\DeclareFontShape{JY2}{ugenkogtb}{m}{sl}{<->ssub*ugenkogtb/m/n}{}
\DeclareFontShape{JY2}{ugenkogtb}{m}{sc}{<->ssub*ugenkogtb/m/n}{}
\DeclareFontShape{JT2}{ugenkogtb}{m}{n}{<->ugenkogtb-v}{}
\DeclareFontShape{JT2}{ugenkogtb}{m}{it}{<->ssub*ugenkogtb/m/n}{}
\DeclareFontShape{JT2}{ugenkogtb}{m}{sl}{<->ssub*ugenkogtb/m/n}{}
\DeclareFontShape{JT2}{ugenkogtb}{m}{sc}{<->ssub*ugenkogtb/m/n}{}
\DeclareRobustCommand\ugenkogtb{\kanjifamily{ugenkogtb}\selectfont}
\DeclareFontFamily{JY2}{ugenkoxin}{}
\DeclareFontFamily{JT2}{ugenkoxin}{}
\DeclareFontShape{JY2}{ugenkoxin}{m}{n}{<->ugenkoxin-h}{}
\DeclareFontShape{JY2}{ugenkoxin}{m}{it}{<->ssub*ugenkoxin/m/n}{}
\DeclareFontShape{JY2}{ugenkoxin}{m}{sl}{<->ssub*ugenkoxin/m/n}{}
\DeclareFontShape{JY2}{ugenkoxin}{m}{sc}{<->ssub*ugenkoxin/m/n}{}
\DeclareFontShape{JT2}{ugenkoxin}{m}{n}{<->ugenkoxin-v}{}
\DeclareFontShape{JT2}{ugenkoxin}{m}{it}{<->ssub*ugenkoxin/m/n}{}
\DeclareFontShape{JT2}{ugenkoxin}{m}{sl}{<->ssub*ugenkoxin/m/n}{}
\DeclareFontShape{JT2}{ugenkoxin}{m}{sc}{<->ssub*ugenkoxin/m/n}{}
\DeclareRobustCommand\ugenkoxin{\kanjifamily{ugenkoxin}\selectfont}
\DeclareFontFamily{JY2}{ugenkokai}{}
\DeclareFontFamily{JT2}{ugenkokai}{}
\DeclareFontShape{JY2}{ugenkokai}{m}{n}{<->ugenkokai-h}{}
\DeclareFontShape{JY2}{ugenkokai}{m}{it}{<->ssub*ugenkokai/m/n}{}
\DeclareFontShape{JY2}{ugenkokai}{m}{sl}{<->ssub*ugenkokai/m/n}{}
\DeclareFontShape{JY2}{ugenkokai}{m}{sc}{<->ssub*ugenkokai/m/n}{}
\DeclareFontShape{JT2}{ugenkokai}{m}{n}{<->ugenkokai-v}{}
\DeclareFontShape{JT2}{ugenkokai}{m}{it}{<->ssub*ugenkokai/m/n}{}
\DeclareFontShape{JT2}{ugenkokai}{m}{sl}{<->ssub*ugenkokai/m/n}{}
\DeclareFontShape{JT2}{ugenkokai}{m}{sc}{<->ssub*ugenkokai/m/n}{}
\DeclareRobustCommand\ugenkokai{\kanjifamily{ugenkokai}\selectfont}
\DeclareFontFamily{JY2}{ugenkokaib}{}
\DeclareFontFamily{JT2}{ugenkokaib}{}
\DeclareFontShape{JY2}{ugenkokaib}{m}{n}{<->ugenkokaib-h}{}
\DeclareFontShape{JY2}{ugenkokaib}{m}{it}{<->ssub*ugenkokaib/m/n}{}
\DeclareFontShape{JY2}{ugenkokaib}{m}{sl}{<->ssub*ugenkokaib/m/n}{}
\DeclareFontShape{JY2}{ugenkokaib}{m}{sc}{<->ssub*ugenkokaib/m/n}{}
\DeclareFontShape{JT2}{ugenkokaib}{m}{n}{<->ugenkokaib-v}{}
\DeclareFontShape{JT2}{ugenkokaib}{m}{it}{<->ssub*ugenkokaib/m/n}{}
\DeclareFontShape{JT2}{ugenkokaib}{m}{sl}{<->ssub*ugenkokaib/m/n}{}
\DeclareFontShape{JT2}{ugenkokaib}{m}{sc}{<->ssub*ugenkokaib/m/n}{}
\DeclareRobustCommand\ugenkokaib{\kanjifamily{ugenkokaib}\selectfont}
\DeclareFontFamily{JY2}{ugenkorei}{}
\DeclareFontFamily{JT2}{ugenkorei}{}
\DeclareFontShape{JY2}{ugenkorei}{m}{n}{<->ugenkorei-h}{}
\DeclareFontShape{JY2}{ugenkorei}{m}{it}{<->ssub*ugenkorei/m/n}{}
\DeclareFontShape{JY2}{ugenkorei}{m}{sl}{<->ssub*ugenkorei/m/n}{}
\DeclareFontShape{JY2}{ugenkorei}{m}{sc}{<->ssub*ugenkorei/m/n}{}
\DeclareFontShape{JT2}{ugenkorei}{m}{n}{<->ugenkorei-v}{}
\DeclareFontShape{JT2}{ugenkorei}{m}{it}{<->ssub*ugenkorei/m/n}{}
\DeclareFontShape{JT2}{ugenkorei}{m}{sl}{<->ssub*ugenkorei/m/n}{}
\DeclareFontShape{JT2}{ugenkorei}{m}{sc}{<->ssub*ugenkorei/m/n}{}
\DeclareRobustCommand\ugenkorei{\kanjifamily{ugenkorei}\selectfont}
\AtBeginDvi{%
% 明體字体
\special{pdf:mapline ugenkomin-h UniJIS2004-UTF16-H FOT-TsukuAOldMinPr6N-M.otf}
\special{pdf:mapline ugenkomin-v UniJIS2004-UTF16-V FOT-TsukuAOldMinPr6N-M.otf}
\special{pdf:mapline ugenkominb-h unicode GenWanMinTW-Medium.ttf}
\special{pdf:mapline ugenkominb-v unicode GenWanMinTW-Medium.ttf -w 1}
% 黑体字体
\special{pdf:mapline ugenkogt-h UniJIS2004-UTF16-H A-OTF-ShinGoPr6N-Regular.otf}
\special{pdf:mapline ugenkogt-v UniJIS2004-UTF16-V A-OTF-ShinGoPr6N-Regular.otf}
\special{pdf:mapline ugenkogtb-h UniJIS2004-UTF16-H A-OTF-ShinGoPr6N-Bold.otf}
\special{pdf:mapline ugenkogtb-v UniJIS2004-UTF16-V A-OTF-ShinGoPr6N-Bold.otf}
% 行书字体
\special{pdf:mapline ugenkoxin-h UniJIS2004-UTF16-H DFGyoShoPro5-W5.otf}
\special{pdf:mapline ugenkoxin-v UniJIS2004-UTF16-V DFGyoShoPro5-W5.otf}
% 楷体字体
\special{pdf:mapline ugenkokaib-h UniJIS2004-UTF16-H A-OTF-SeiKaiCB1Pr5-Regular.otf}
\special{pdf:mapline ugenkokaib-v UniJIS2004-UTF16-V A-OTF-SeiKaiCB1Pr5-Regular.otf}
\special{pdf:mapline ugenkokai-h unicode FZKSGBXS10.ttf}
\special{pdf:mapline ugenkokai-v unicode FZKSGBXS10.ttf -w 1}
% 隶书字体
\special{pdf:mapline ugenkorei-h UniJIS2004-UTF16-H A-OTF-Reisho101Std-Medium.otf}
\special{pdf:mapline ugenkorei-v UniJIS2004-UTF16-V A-OTF-Reisho101Std-Medium.otf}
}
\endinput
% end of 'genkofonts.sty'