Skip to content

Commit cc88cab

Browse files
committed
update readme
1 parent 1bfbb5d commit cc88cab

File tree

3 files changed

+77
-47
lines changed

3 files changed

+77
-47
lines changed

README-SC.md

+36-20
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
[繁體中文](https://github.com/GuiWonder/SourceHanToClassic#思源中文傳承化字體) **简体中文**
1+
[正體中文](../../#傳承化中文字型) **简体中文**
22

3-
# 思源中文传承化字体
4-
[思源黑体](https://github.com/adobe-fonts/source-han-sans)[思源宋体](https://github.com/adobe-fonts/source-han-serif)[思源等宽](https://github.com/adobe-fonts/source-han-mono)日文版修改传承字形(旧字形)字体。1.004 版开始加入思源旧版(1.0x 版)字形,1.010 版开始加入[秋空󠄁黑体CL](https://github.com/ChiuMing-Neko/ChiuKongGothic)字形。
3+
# 传承化中文字体
4+
[思源黑体](https://github.com/adobe-fonts/source-han-sans)[思源宋体](https://github.com/adobe-fonts/source-han-serif)[思源等宽](https://github.com/adobe-fonts/source-han-mono)日文版修改传承字形(旧字形)。1.004 版开始加入思源旧版(1.0x 版)字形,1.010 版开始加入[秋空󠄁黑体CL](https://github.com/ChiuMing-Neko/ChiuKongGothic)字形。
55

66
## 预览
77
![image](./pic/aa0001.png)
88
![image](./pic/Pic0002.jpg)
99
## 关于字体
1010
### 说明
11-
当前字体命名为**尚古 Advocate Ancient Fonts**
11+
本项目字体名称为**尚古 Advocate Ancient Fonts**
1212
#### 1. [多编码汉字](./main/mulcodechar.txt)(如青-靑 尚-尙 兑-兌 温-溫等)合并为旧字形
1313
> Advocate Ancient Sans | 尙古黑体 | 尙古黑體,<br />
1414
> Advocate Ancient Serif | 尙古明体 | 尙古明體,<br />
@@ -32,34 +32,50 @@
3232
▼ 一简多繁测试,此功能使用 OpenType 特性。<br />
3333
![image](./pic/FANTI1.png)
3434
![image](./pic/FANTI2.png)
35-
### 格式
36-
目前提供 OTF 与 OTC 两种格式。
35+
### 格式说明
36+
#### 1. OpenType 格式(OTF/OTC)
37+
原版格式。
38+
#### 2. TrueType 格式(TTF/TTC)
39+
基于 [Source-Han-TrueType](https://github.com/Pal3love/Source-Han-TrueType) 无损转换,兼容性更好。
40+
#### 3. TrueType hented (TTF/TTC)
41+
基于 [Source Han Sans TTF](https://github.com/be5invis/source-han-sans-ttf) 可实现 Windows 下低分辨率小字清晰,建议仅在 Windows 下使用。
3742

3843
## 下载字体
3944
1. 可从本站 [Releases](https://github.com/GuiWonder/SourceHanToClassic/releases) 页面下载字体。
4045
2. 可从[腾讯微云](https://share.weiyun.com/VEoOc5xK)下载 AdvocateAncient 系列字体。
4146
## 授权
4247
遵循 SIL Open Font License 1.1。
43-
## 使用工具生成字体
44-
### 1. 运行命令
48+
## 构建字体
49+
### 1. 构建单个字体文件
4550
运行命令`python sourcehantocl.py`
4651
* 选项1:是否移除未使用的字形:1.移除这些字形 2.保留异体选择器中的字形 3.不移除任何字形
4752
* 选项2:是否合并多个编码的汉字,例如:青-靑 尚-尙 兑-兌 温-溫等?输入Y/N
4853
* 选项3:标点击择:1.日本 2.简体中文 3.正体中文(居中)
49-
* 选项4:简化字字形选择:1.日本 2.中国大陆
50-
* 可在 config.json 中设置字体名称
51-
### 2. 运行带参数命令
52-
将输入输出文件与上述选项作为参数运行,例如:<br />
54+
* 选项4:简化字字形选择:1.日本 2.中国大陆<br />
55+
56+
也可将输入输出文件与上述选项作为参数运行,例如:<br />
5357
`python sourcehantocl.py SourceHanSans-Regular.otf AdvocateAncientSans-Regular.otf 2 y 3 2`<br />
58+
### 2. 构建所有字体文件
59+
运行命令`python3 buildotf.py``python3 buildttf.py` 运行环境为 Linux,需要足够的存储空间,构建 ttf 还需要 wine。
5460

5561
## 特别感谢
56-
* [Adobe Fonts](https://github.com/adobe-fonts) [思源黑体](https://github.com/adobe-fonts/source-han-sans) [思源宋体](https://github.com/adobe-fonts/source-han-serif) [思源等宽](https://github.com/adobe-fonts/source-han-mono)
57-
* [秋空󠄁黑体](https://github.com/ChiuMing-Neko/ChiuKongGothic)
58-
* [otfcc](https://github.com/caryll/otfcc)
59-
* [I.字坊](https://github.com/ichitenfont)[傳承字形標準化文件](https://github.com/ichitenfont/inheritedglyphs)[I.明體](https://github.com/ichitenfont/I.Ming)
60-
* [Open Chinese Convert](https://github.com/BYVoid/OpenCC)
61-
* [《正确实现简转繁字体》](https://ayaka.shn.hk/s2tfont/)*(旧版转繁体采用的方法)*
62-
* [AFDKO](https://github.com/adobe-type-tools/afdko/)
63-
* [Belleve Invis](https://github.com/be5invis)[Source Han Sans TTF](https://github.com/be5invis/source-han-sans-ttf)[更纱黑体](https://github.com/be5invis/Sarasa-Gothic)
62+
#### 1. 字图来源
63+
- [思源黑体](https://github.com/adobe-fonts/source-han-sans) v2.004 v1.004
64+
- [思源宋体](https://github.com/adobe-fonts/source-han-serif) v2.001 v1.001
65+
- [思源等宽](https://github.com/adobe-fonts/source-han-mono) v1.002
66+
- [秋空󠄁黑体CL](https://github.com/ChiuMing-Neko/ChiuKongGothic) v1.300
67+
#### 2. 字体处理工具
68+
- [otfcc](https://github.com/caryll/otfcc)
69+
- [AFDKO](https://github.com/adobe-type-tools/afdko/)
70+
#### 3. TrueType 格式转换
71+
- [Source-Han-TrueType](https://github.com/Pal3love/Source-Han-TrueType)
72+
- [Source Han Sans TTF](https://github.com/be5invis/source-han-sans-ttf)
73+
#### 4. 字形参考
74+
- [传承字形标准化文件](https://github.com/ichitenfont/inheritedglyphs) [I.明体](https://github.com/ichitenfont/I.Ming)
75+
- [zi.tools 字統网](https://zi.tools/)
76+
- [字形维基(GlyphWiki)](https://glyphwiki.org/)
77+
#### 5. 简转繁参考
78+
- [OpenCC 开放中文转换](https://github.com/BYVoid/OpenCC)
79+
- [《正确实现简转繁字体》](https://ayaka.shn.hk/s2tfont/)*(旧版转繁体采用的方法)*
6480
## 关于作者
6581
- **Email:** [email protected]

README.md

+41-27
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
**繁體中文** [简体中文](./README-SC.md#思源中文传承化字体)
2-
3-
# 思源中文傳承化字體
4-
[思源黑體](https://github.com/adobe-fonts/source-han-sans)[思源宋體](https://github.com/adobe-fonts/source-han-serif)[思源等寬](https://github.com/adobe-fonts/source-han-mono)日文版修改傳承字形(舊字形)字體。1.004 版開始加入思源舊版(1.0x 版)字形,1.010 版開始加入[秋空󠄁黑體CL](https://github.com/ChiuMing-Neko/ChiuKongGothic)字形。
1+
**正體中文** [简体中文](./README-SC.md#传承化中文字体)
52

3+
# 傳承化中文字型
4+
[思源黑體](https://github.com/adobe-fonts/source-han-sans)[思源宋體](https://github.com/adobe-fonts/source-han-serif)[思源等寬](https://github.com/adobe-fonts/source-han-mono)日文版修改傳承字形(舊字形)。1.004 版開始加入思源舊版(1.0x 版)字形,1.010 版開始加入[秋空󠄁黑體CL](https://github.com/ChiuMing-Neko/ChiuKongGothic)字形。
65
## 預覽
76
![image](./pic/aa0001.png)
87
![image](./pic/Pic0002.jpg)
9-
## 關於字體
8+
## 關於字型
109
### 說明
11-
當前字體命名為“ **尚古 Advocate Ancient Fonts**
10+
本專案字型名稱為「 **尚古 Advocate Ancient Fonts**
1211
#### 1. [多編碼漢字](./main/mulcodechar.txt)(如青-靑 尚-尙 兑-兌 温-溫等)合併為舊字形
1312
> Advocate Ancient Sans | 尙古黑体 | 尙古黑體,<br />
1413
> Advocate Ancient Serif | 尙古明体 | 尙古明體,<br />
@@ -25,41 +24,56 @@
2524
> Advocate Ancient Serif JP | 尙古明体JP | 尙古明體JP,<br />
2625
> Advocate Ancient Mono JP | 尙古等宽JP | 尙古等寬JP。<br />
2726
#### 3. 簡轉繁體
28-
簡入繁出的字體,可根據文字内容動態匹配一簡多繁的情況。
27+
簡入繁出的字型,可根據文字内容動態匹配一簡多繁的情況。
2928
> Advocate Ancient Sans ST | 尙古黑体 转繁体 | 尙古黑體 轉繁體,<br />
3029
> Advocate Ancient Serif ST | 尙古明体 转繁体 | 尙古明體 轉繁體。<br />
3130
3231
▼ 一簡多繁測試,此功能使用 OpenType 特性。<br />
3332
![image](./pic/FANTI1.png)
3433
![image](./pic/FANTI2.png)
35-
### 格式
36-
目前提供 OTF 與 OTC 兩種格式。
34+
### 格式說明
35+
#### 1. OpenType 格式(OTF/OTC)
36+
原版格式。
37+
#### 2. TrueType 格式(TTF/TTC)
38+
基於 [Source-Han-TrueType](https://github.com/Pal3love/Source-Han-TrueType) 無損轉換,兼容性更好。
39+
#### 3. TrueType hented (TTF/TTC)
40+
基於 [Source Han Sans TTF](https://github.com/be5invis/source-han-sans-ttf) 可實現 Windows 下低解析度小字清晰,建議僅在 Windows 下使用。
3741

38-
## 下載字體
39-
1. 可從本站 [Releases](https://github.com/GuiWonder/SourceHanToClassic/releases) 頁面下載字體
40-
2. 可從[騰訊微雲](https://share.weiyun.com/VEoOc5xK)下載 AdvocateAncient 系列字體
42+
## 下載字型
43+
1. 可從本站 [Releases](https://github.com/GuiWonder/SourceHanToClassic/releases) 頁面下載字型
44+
2. 可從[騰訊微雲](https://share.weiyun.com/VEoOc5xK)下載 AdvocateAncient 系列字型
4145
## 授權
4246
遵循 SIL Open Font License 1.1。
43-
## 使用工具生成字體
44-
### 1. 執行命令
47+
## 構建字型檔
48+
### 1. 構建單個字型檔
4549
執行命令`python sourcehantocl.py`
4650
* 選項1:是否移除未使用的字形:1.移除這些字形 2.保留異體選擇器中的字形 3.不移除任何字形
4751
* 選項2:是否合併多個編碼的漢字,例如:青-靑 尚-尙 兑-兌 温-溫等?輸入Y/N
4852
* 選項3:標點選擇:1.日本 2.簡體中文 3.正體中文(居中)
49-
* 選項4:簡化字字形選擇:1.日本 2.中國大陸
50-
* 可在 config.json 中設定字體名稱
51-
### 2. 執行帶引數命令
52-
將輸入輸出檔案與上述選項作為引數執行,例如:<br />
53-
`python sourcehantocl.py SourceHanSans-Regular.otf AdvocateAncientSans-Regular.otf 2 y 3 2`<br />
53+
* 選項4:簡化字字形選擇:1.日本 2.中國大陸 <br />
5454

55+
也可將輸入輸出檔案與上述選項作為引數執行,例如:<br />
56+
`python sourcehantocl.py SourceHanSans-Regular.otf AdvocateAncientSans-Regular.otf 2 y 3 2`<br />
57+
### 2. 構建所有字型檔
58+
執行命令`python3 buildotf.py``python3 buildttf.py` 執行環境為 Linux,需要足夠存儲空間,構建 ttf 還需要 wine。
5559
## 特別感謝
56-
* [Adobe Fonts](https://github.com/adobe-fonts) [思源黑體](https://github.com/adobe-fonts/source-han-sans) [思源宋體](https://github.com/adobe-fonts/source-han-serif) [思源等寬](https://github.com/adobe-fonts/source-han-mono)
57-
* [秋空󠄁黑體](https://github.com/ChiuMing-Neko/ChiuKongGothic)
58-
* [otfcc](https://github.com/caryll/otfcc)
59-
* [I.字坊](https://github.com/ichitenfont)[傳承字形標準化文件](https://github.com/ichitenfont/inheritedglyphs)[I.明體](https://github.com/ichitenfont/I.Ming)
60-
* [Open Chinese Convert](https://github.com/BYVoid/OpenCC)
61-
* [《正確實現簡轉繁字型》](https://ayaka.shn.hk/s2tfont/hant/)*(舊版轉繁體採用的方法)*
62-
* [AFDKO](https://github.com/adobe-type-tools/afdko/)
63-
* [Belleve Invis](https://github.com/be5invis)[Source Han Sans TTF](https://github.com/be5invis/source-han-sans-ttf)[更紗黑體](https://github.com/be5invis/Sarasa-Gothic)
60+
#### 1. 字圖來源
61+
- [思源黑體](https://github.com/adobe-fonts/source-han-sans) v2.004 v1.004
62+
- [思源宋體](https://github.com/adobe-fonts/source-han-serif) v2.001 v1.001
63+
- [思源等寬](https://github.com/adobe-fonts/source-han-mono) v1.002
64+
- [秋空󠄁黑體CL](https://github.com/ChiuMing-Neko/ChiuKongGothic) v1.300
65+
#### 2. 字型處理工具
66+
- [otfcc](https://github.com/caryll/otfcc)
67+
- [AFDKO](https://github.com/adobe-type-tools/afdko/)
68+
#### 3. TrueType 格式轉換
69+
- [Source-Han-TrueType](https://github.com/Pal3love/Source-Han-TrueType)
70+
- [Source Han Sans TTF](https://github.com/be5invis/source-han-sans-ttf)
71+
#### 4. 字形參考
72+
- [傳承字形標準化文件](https://github.com/ichitenfont/inheritedglyphs) [I.明體](https://github.com/ichitenfont/I.Ming)
73+
- [zi.tools 字統网](https://zi.tools/)
74+
- [字形維基(GlyphWiki)](https://glyphwiki.org/)
75+
#### 5. 簡轉繁參考
76+
- [OpenCC 開放中文轉換](https://github.com/BYVoid/OpenCC)
77+
- [《正確實現簡轉繁字型》](https://ayaka.shn.hk/s2tfont/hant/)*(舊版轉繁體採用的方法)*
6478
## 關於作者
6579
- **Email:** [email protected]

pic/FANTI2.png

11.3 KB
Loading

0 commit comments

Comments
 (0)