Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
fix #7 font name.
  • Loading branch information
GuiWonder committed Oct 6, 2024
1 parent e2a835e commit 57d9b2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
## 使用图形界面
### 1. 给定字体
创建一个给定字体的代替字体。
> NOTE: 关于 Windows 内置字体的选择,可通过“Windows 资源管理器”进入 C:\Windows\Fonts,找到所需字体,用鼠标将字体拖入本工具窗口“模板字体”中即可。
### 2. Windows 中文字体
将字体转换为 Windows 内置 CJK 字体,如雅黑、正黑、宋体、细明体等代替字体。可使用多种字重
将字体转换为 Windows 内置 CJK 字体,如雅黑、正黑、宋体、细明体等代替字体。可支持更多的字重
> NOTE: 目标为 `yugoth` 时,不建议使用 `"Semilight"``"SemiBold"`
### 3. 16 苹方字体
6 种粗细的苹方字体。
Expand Down
2 changes: 1 addition & 1 deletion files/weiwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def bldttcft(font, tgft, wt):
nmslist=[wtbuil(ncfg[tgft+'l'], wt), wtbuil(ncfg['n'+tgft+'l'], wt)]
else:
nmslist=[ncfg[tgft+end[wt]], ncfg['n'+tgft+end[wt]]]
ttflist=[otpth(tgft+end[wt]+'.ttf'), otpth('p'+tgft+end[wt]+'.ttf')]
ttflist=[otpth(tgft+end[wt]+'.ttf'), otpth('n'+tgft+end[wt]+'.ttf')]
ttcfil=otpth(tgft+end[wt]+'.ttc')
elif tgft in ('mingliu', 'mingliub'):
if wt not in ('Regular', 'Bold', 'Light'):
Expand Down

0 comments on commit 57d9b2e

Please sign in to comment.