blob: b4353cd0c34fded3909c9f799e3b8f57c6a39325 (
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
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
|
# Harano Aji Fonts ver. 20210410
https://github.com/trueroad/HaranoAjiFonts
Harano Aji Fonts (Harano Aji Mincho and Harano Aji Gothic)
are fonts obtained by replacing Adobe-Identity-0 (AI0) CIDs
of Source Han fonts (Source Han Serif and Source Han Sans)
with Adobe-Japan1 (AJ1) CIDs.
There are 14 fonts, 7 weights each for Mincho and Gothic.
* Harano Aji Mincho (based on Source Han Serif)
+ HaranoAjiMincho-ExtraLight
+ HaranoAjiMincho-Light
+ HaranoAjiMincho-Regular
+ HaranoAjiMincho-Medium
+ HaranoAjiMincho-SemiBold
+ HaranoAjiMincho-Bold
+ HaranoAjiMincho-Heavy
* Harano Aji Gothic (based on Source Han Sans)
+ HaranoAjiGothic-ExtraLight
+ HaranoAjiGothic-Light
+ HaranoAjiGothic-Normal
+ HaranoAjiGothic-Regular
+ HaranoAjiGothic-Medium
+ HaranoAjiGothic-Bold
+ HaranoAjiGothic-Heavy
# Packages
There are 2 packages.
* haranoaji package
+ HaranoAjiMincho-Light
+ HaranoAjiMincho-Regular
+ HaranoAjiMincho-Bold
+ HaranoAjiGothic-Regular
+ HaranoAjiGothic-Medium
+ HaranoAjiGothic-Bold
+ HaranoAjiGothic-Heavy
* haranoaji-extra package
+ HaranoAjiMincho-ExtraLight
+ HaranoAjiMincho-Medium
+ HaranoAjiMincho-SemiBold
+ HaranoAjiMincho-Heavy
+ HaranoAjiGothic-ExtraLight
+ HaranoAjiGothic-Light
+ HaranoAjiGothic-Normal
haranoaji package contains the major 7 fonts used in the preset settings
in the following packages.
haranoaji-extra package contains the remaining 7 fonts.
* The packages
+ https://www.ctan.org/pkg/ptex-fontmaps
+ https://www.ctan.org/pkg/luatexja
+ https://www.ctan.org/pkg/zxjafont
+ https://www.ctan.org/pkg/pxchfon
# Examples
## LuaLaTeX
luatexja package ver. 20191117.0 or above is required.
### Single weight
```
\documentclass{ltjsarticle}
\usepackage[haranoaji,nfssonly]{luatexja-preset}
\begin{document}
\section{吾輩は猫である}
吾輩は猫である。名前はまだ無い。
\end{document}
```
### Multi weight
```
\documentclass{ltjsarticle}
\usepackage[haranoaji,deluxe,match,nfssonly]{luatexja-preset}
\begin{document}
\section{吾輩は\textbf{猫}である}
吾輩は\textbf{猫}である。名前はまだ\textbf{無い}。
\end{document}
```
## XeLaTeX
zxjafont package ver. 0.6 or above is required.
### Single weight
```
\documentclass{article}
\usepackage[haranoaji,,oneweight]{zxjafont}
\begin{document}
\section{吾輩は猫である}
吾輩は猫である。名前はまだ無い。
\end{document}
```
### Multi weight
```
\documentclass{article}
\usepackage[haranoaji]{zxjafont}
\begin{document}
\section{\sffamily\mdseries 吾輩は\textbf{猫}である}
吾輩は\textbf{猫}である。名前はまだ\textbf{無い}。
\end{document}
```
# LICENSE
Copyright (C) 2019-2021
Masamichi Hosoda, with Reserved Font Name 'Harano Aji'.
Copyright 2014-2021 Adobe (http://www.adobe.com/),
with Reserved Font Name 'Source'.
Copyright 2017 Adobe Systems Incorporated (http://www.adobe.com/),
with Reserved Font Name 'Source'.
Source is a trademark of Adobe in the United States and/or other countries.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
See LICENSE.
|