Skip to content

Commit 41e3900

Browse files
committed
0.2.2: Classic variant available; remove redundant glyphs in shipped fonts
1 parent ee89bc3 commit 41e3900

17 files changed

+42
-56
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44

55
下载[最新版](https://github.com/CyanoHao/Warcraft-Font-Merger/releases/latest)的字体合并补全工具并解压缩。
66

7-
字体合并补全工具有 4 个版本,各个版本的自带字库不同。
7+
字体合并补全工具有 5 个版本,各个版本的自带字库不同。
88
* `WarFontMerger-SC1-版本号.7z`:简体中文压缩字库(覆盖 GB18030,字体文件采用压缩技术,体积小但字形质量一般)。
99
* `WarFontMerger-SC2-版本号.7z`:简体中文标准字库(覆盖 GB18030,字形质量较好,**推荐**)。
10-
* `WarFontMerger-SC3-版本号.7z`:简体中文大字库(覆盖中日韩各国字符,字形和标准字库一致,体积较大)。
11-
* `WarFontMerger-TC3-版本号.7z`:繁体中文大字库(覆盖中日韩各国字符,字形采用台湾标准,体积较大)。
10+
* `WarFontMerger-SC3-版本号.7z`:简体中文大字库(覆盖中日韩各国字符,字形和标准字库一致,体积稍大)。
11+
* `WarFontMerger-TC-版本号.7z`:繁体中文大字库(覆盖中日韩各国字符,字形采用台湾标准,体积稍大)。
12+
* `WarFontMerger-Classic-版本号.7z`:传统字形大字库(覆盖中日韩各国字符,字形采用传统印刷体风格,体积稍大)。
1213

1314
除了合并补全工具自带的字体库之外,[WMF 开源字体库](https://github.com/CyanoHao/WFM-Free-Font) 中的字体也经过验证可以用于该工具。
1415

@@ -98,7 +99,7 @@ rm *.otd
9899

99100
## 开发计划
100101

101-
### 支持对每个字体自定义变换矩阵,并提供图形界面
102+
### 支持对每个字体自定义变换矩阵
102103

103104
这样可以更好地匹配原有字体的风格。例如,修改倾斜角度、压缩字符宽度,甚至旋转字符。
104105

build.bash

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
VERSION=0.2.1
2-
3-
mkdir -p release
1+
VERSION=0.2.2
42

53
x86_64-w64-mingw32-g++ src/merge-otd.cpp src/iostream.cpp -Isrc/ -std=c++14 -O3 -static -o bin/merge-otd.exe
64
strip bin/merge-otd.exe
75

6+
mkdir -p release
87
cd release
98

109

@@ -15,13 +14,12 @@ mkdir -p $R
1514
cp ../script/link.url $R/主页-使用说明.url
1615
cp ../script/fonts.url $R/获取更多字体.url
1716
cp ../bin/{otfccbuild,otfccdump,merge-otd}.exe $R/
18-
cp ../script/comp-xs.bat $R/补全.bat
17+
cp ../script/comp.bat $R/补全.bat
1918
cp ../script/merge.bat $R/合并.bat
20-
cp ../script/merge+comp-xs.bat $R/合并补全.bat
19+
cp ../script/merge+comp.bat $R/合并补全.bat
2120
cp ../script/pack-zh.bat $R/打包.bat
22-
cp ../font/DroidSansFallbackFull.ttf $R/cjk.ttf
23-
cp ../font/SourceHanSansCN-Medium-WesternSymbol.ttf $R/latinx.ttf
24-
cp ../font/NotoSans-SemiCondensedMedium.ttf $R/latin.ttf
21+
cp ../font/Nowar-Sans-CJK-XS-Regular.ttf $R/cjk.ttf
22+
cp ../font/Nowar-Sans-LCG-Medium.ttf $R/latin.ttf
2523

2624
7z a -mx -myx -ms=on WarFontMerger-SC1-$VERSION.7z $R/
2725
rar a -ma5 -m5 -s $R.rar $R/
@@ -38,8 +36,8 @@ cp ../script/comp.bat $R/补全.bat
3836
cp ../script/merge.bat $R/合并.bat
3937
cp ../script/merge+comp.bat $R/合并补全.bat
4038
cp ../script/pack-zh.bat $R/打包.bat
41-
cp ../font/SourceHanSansCN-Medium.ttf $R/cjk.ttf
42-
cp ../font/NotoSans-SemiCondensedMedium.ttf $R/latin.ttf
39+
cp ../font/Nowar-Sans-CJK-CN-Medium.ttf $R/cjk.ttf
40+
cp ../font/Nowar-Sans-LCG-Medium.ttf $R/latin.ttf
4341

4442
7z a -mx -myx -ms=on WarFontMerger-SC2-$VERSION.7z $R/
4543
rar a -ma5 -m5 -s $R.rar $R/
@@ -56,8 +54,8 @@ cp ../script/comp.bat $R/补全.bat
5654
cp ../script/merge.bat $R/合并.bat
5755
cp ../script/merge+comp.bat $R/合并补全.bat
5856
cp ../script/pack.bat $R/打包.bat
59-
cp ../font/SourceHanSansSC-Medium.ttf $R/cjk.ttf
60-
cp ../font/NotoSans-SemiCondensedMedium.ttf $R/latin.ttf
57+
cp ../font/Nowar-Sans-CJK-SC-Medium.ttf $R/cjk.ttf
58+
cp ../font/Nowar-Sans-LCG-Medium.ttf $R/latin.ttf
6159

6260
7z a -mx -myx -ms=on WarFontMerger-SC3-$VERSION.7z $R/
6361
rar a -ma5 -m5 -s $R.rar $R/
@@ -74,8 +72,26 @@ cp ../script/comp.bat $R/補全.bat
7472
cp ../script/merge.bat $R/合併.bat
7573
cp ../script/merge+comp.bat $R/合併補全.bat
7674
cp ../script/pack.bat $R/打包.bat
77-
cp ../font/SourceHanSansTC-Medium.ttf $R/cjk.ttf
78-
cp ../font/NotoSans-SemiCondensedMedium.ttf $R/latin.ttf
75+
cp ../font/Nowar-Sans-CJK-TC-Medium.ttf $R/cjk.ttf
76+
cp ../font/Nowar-Sans-LCG-Medium.ttf $R/latin.ttf
77+
78+
7z a -mx -myx -ms=on WarFontMerger-TC-$VERSION.7z $R/
79+
rar a -ma5 -m5 -s $R.rar $R/
80+
81+
82+
R=字型合併補全工具-傳統字形大字庫-$VERSION
83+
84+
mkdir -p $R
85+
86+
cp ../script/link.url $R/主頁-使用說明\(簡體\).url
87+
cp ../script/fonts.url $R/獲取更多字型\(簡體\).url
88+
cp ../bin/{otfccbuild,otfccdump,merge-otd}.exe $R/
89+
cp ../script/comp.bat $R/補全.bat
90+
cp ../script/merge.bat $R/合併.bat
91+
cp ../script/merge+comp.bat $R/合併補全.bat
92+
cp ../script/pack.bat $R/打包.bat
93+
cp ../font/Nowar-Sans-CJK-CL-Medium.ttf $R/cjk.ttf
94+
cp ../font/Nowar-Sans-LCG-Medium.ttf $R/latin.ttf
7995

80-
7z a -mx -myx -ms=on WarFontMerger-TC3-$VERSION.7z $R/
96+
7z a -mx -myx -ms=on WarFontMerger-Classic-$VERSION.7z $R/
8197
rar a -ma5 -m5 -s $R.rar $R/

build32.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=0.2.1-32bit
1+
VERSION=0.2.2-32bit
22

33
i686-w64-mingw32-g++ src/merge-otd.cpp src/iostream.cpp -Isrc/ -std=c++14 -O3 -static -Wl,--large-address-aware -o bin32/merge-otd.exe
44
strip bin32/merge-otd.exe
@@ -18,8 +18,8 @@ cp ../script/comp.bat $R/补全.bat
1818
cp ../script/merge.bat $R/合并.bat
1919
cp ../script/merge+comp.bat $R/合并补全.bat
2020
cp ../script/pack-zh.bat $R/打包.bat
21-
cp ../font/SourceHanSansCN-Medium.ttf $R/cjk.ttf
22-
cp ../font/NotoSans-SemiCondensedMedium.ttf $R/latin.ttf
21+
cp ../font/Nowar-Sans-CJK-CN-Medium.ttf $R/cjk.ttf
22+
cp ../font/Nowar-Sans-LCG-Medium.ttf $R/latin.ttf
2323

2424
7z a -mx -myx -ms=on WarFontMerger-SC2-$VERSION.7z $R/
2525
rar a -ma5 -m5 -s $R.rar $R/

font/DroidSansFallbackFull.ttf

-3.85 MB
Binary file not shown.
-440 KB
Binary file not shown.

font/Nowar-Sans-CJK-CL-Medium.ttf

10.5 MB
Binary file not shown.

font/Nowar-Sans-CJK-XS-Regular.ttf

3.92 MB
Binary file not shown.

0 commit comments

Comments
 (0)