Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

合并字体后,没有输出ttf,也没有报错 #12

Open
kidzgy opened this issue Aug 29, 2024 · 2 comments
Open

合并字体后,没有输出ttf,也没有报错 #12

kidzgy opened this issue Aug 29, 2024 · 2 comments

Comments

@kidzgy
Copy link

kidzgy commented Aug 29, 2024

合并两字体:

  1. IosevkaFixed-Extended
  2. SarasaGothicSC-Regular

`%~d0
cd "%~dp0"

.\otfccdump.exe --ignore-hints -o base.otd "%~1"
.\otfccdump.exe --ignore-hints -o ext.otd "%~2"

.\merge-otd.exe -n "Sarasa Iosevka;Regular;Normal;Normal" base.otd ext.otd

.\otfccbuild.exe -q -O3 -o out.ttf base.otd

del base.otd ext.otd

pause`

不知道为什么,合并这两个字体时,没有输出ttf,也没有报错信息。如果我把英文字体改为CascadiaMono-Regular,合并是可以输出ttf的。

微信截图_20240829194018

fonts.zip

@CyanoHao
Copy link
Collaborator

直接合并字符数会超过 OpenType 上限。

参见 be5invis/Sarasa-Gothic#342

@kidzgy
Copy link
Author

kidzgy commented Aug 29, 2024

直接合并字符数会超过 OpenType 上限。

参见 be5invis/Sarasa-Gothic#342

原来如此,感谢解答!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants