|
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#传承化中文字体) |
5 | 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)字形。 |
6 | 5 | ## 預覽
|
7 | 6 | 
|
8 | 7 | 
|
9 |
| -## 關於字體 |
| 8 | +## 關於字型 |
10 | 9 | ### 說明
|
11 |
| -當前字體命名為“ **尚古 Advocate Ancient Fonts** 。 |
| 10 | +本專案字型名稱為「 **尚古 Advocate Ancient Fonts** 」 。 |
12 | 11 | #### 1. [多編碼漢字](./main/mulcodechar.txt)(如青-靑 尚-尙 兑-兌 温-溫等)合併為舊字形
|
13 | 12 | > Advocate Ancient Sans | 尙古黑体 | 尙古黑體,<br />
|
14 | 13 | > Advocate Ancient Serif | 尙古明体 | 尙古明體,<br />
|
|
25 | 24 | > Advocate Ancient Serif JP | 尙古明体JP | 尙古明體JP,<br />
|
26 | 25 | > Advocate Ancient Mono JP | 尙古等宽JP | 尙古等寬JP。<br />
|
27 | 26 | #### 3. 簡轉繁體
|
28 |
| -簡入繁出的字體,可根據文字内容動態匹配一簡多繁的情況。 |
| 27 | +簡入繁出的字型,可根據文字内容動態匹配一簡多繁的情況。 |
29 | 28 | > Advocate Ancient Sans ST | 尙古黑体 转繁体 | 尙古黑體 轉繁體,<br />
|
30 | 29 | > Advocate Ancient Serif ST | 尙古明体 转繁体 | 尙古明體 轉繁體。<br />
|
31 | 30 |
|
32 | 31 | ▼ 一簡多繁測試,此功能使用 OpenType 特性。<br />
|
33 | 32 | 
|
34 | 33 | 
|
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 下使用。 |
37 | 41 |
|
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 系列字型。 |
41 | 45 | ## 授權
|
42 | 46 | 遵循 SIL Open Font License 1.1。
|
43 |
| -## 使用工具生成字體 |
44 |
| -### 1. 執行命令 |
| 47 | +## 構建字型檔 |
| 48 | +### 1. 構建單個字型檔 |
45 | 49 | 執行命令`python sourcehantocl.py`
|
46 | 50 | * 選項1:是否移除未使用的字形:1.移除這些字形 2.保留異體選擇器中的字形 3.不移除任何字形
|
47 | 51 | * 選項2:是否合併多個編碼的漢字,例如:青-靑 尚-尙 兑-兌 温-溫等?輸入Y/N
|
48 | 52 | * 選項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 /> |
54 | 54 |
|
| 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。 |
55 | 59 | ## 特別感謝
|
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/)*(舊版轉繁體採用的方法)* |
64 | 78 | ## 關於作者
|
65 | 79 |
|
0 commit comments