Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiWonder committed Jan 25, 2024
1 parent 205adfe commit 25d52f7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README-TC.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[简体中文](../../#中文字体简繁处理工具) **繁體中文**
# 中文字型簡繁處理工具
繁體字型製作 簡轉繁字型 同義字(簡體字 繁體字 異體字)補全字型檔 合併簡繁字型 合併字型等。
## 重要說明
1. **/~https://github.com/GuiWonder/TCFontCreator 是本工具作者唯一網站。**
2. **本工具不存在任何收費、積分、廣告、打賞、捐贈等行為。**
## 功能
#### 1. 生成簡轉繁字型
提供繁體、繁體臺灣、繁體香港、繁體舊字形 4 種風格。
Expand Down Expand Up @@ -43,3 +40,6 @@
* [FontForge](/~https://github.com/fontforge/fontforge)
* [Open Chinese Convert](/~https://github.com/BYVoid/OpenCC)
* [《正確實現簡轉繁字型》](https://ayaka.shn.hk/s2tfont/hant/)[繁媛明朝](/~https://github.com/ayaka14732/FanWunMing) 作者 [Ayaka](/~https://github.com/ayaka14732)

## 其他說明
/~https://github.com/GuiWonder/TCFontCreator 是本工具作者唯一網站。
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
**简体中文** [繁體中文](README-TC.md#中文字型簡繁處理工具)
# 中文字体简繁处理工具
繁体字体制作 简转繁字体 同义字(简体字 繁体字 异体字)补全字库 合并简繁字体 合并字体等。
## 重要说明
1. **/~https://github.com/GuiWonder/TCFontCreator 是本工具作者唯一网站。**
2. **本工具不存在任何收费、积分、广告、打赏、捐赠等行为。**
## 功能
#### 1. 生成简转繁字体
提供繁体、繁体台湾、繁体香港、繁体旧字形 4 种风格。
Expand Down Expand Up @@ -43,3 +40,6 @@
* [FontForge](/~https://github.com/fontforge/fontforge)
* [Open Chinese Convert](/~https://github.com/BYVoid/OpenCC)
* [《正确实现简转繁字体》](https://ayaka.shn.hk/s2tfont/)[繁媛明朝](/~https://github.com/ayaka14732/FanWunMing) 作者 [Ayaka](/~https://github.com/ayaka14732)

## 其他说明
/~https://github.com/GuiWonder/TCFontCreator 是本工具作者唯一网站。
4 changes: 2 additions & 2 deletions gui/TCFontCreator/FormMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion main/converto.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,9 @@ def fontaddfont(font, fin2, gb=False):
scl = 1.0
if font["head"]["unitsPerEm"] != font2["head"]["unitsPerEm"]:
scl = font["head"]["unitsPerEm"] / font2["head"]["unitsPerEm"]
allcd1=set(font['cmap'].keys())
for f2glyph in font2['glyph_order']:
if f2glyph not in f2glcode or set(f2glcode[f2glyph]).issubset(set(font['cmap'].keys())):
if f2glyph not in f2glcode or set(f2glcode[f2glyph]).issubset(allcd1):
continue
newnm1 = f2glyph
j = 1
Expand Down

0 comments on commit 25d52f7

Please sign in to comment.