subframe7536 / maple-font

[try V7!] Maple Mono: Open source monospace font with round corner, ligatures and Nerd-Font for IDE and command line. 带连字和控制台图标的圆角等宽字体,中英文宽度完美2:1
SIL Open Font License 1.1
4.41k stars 62 forks source link

Exception while freezing Maple Mono by fontfreeze #122

Closed SsparKluo closed 1 year ago

SsparKluo commented 1 year ago

Looks like as the same issue in #96

subframe7536 commented 1 year ago

It is a known isuue. For some unknown reasons, when freeze font features by fontfreeze will cause error, so I write the build guide instead of directly recommand to use fontfreeze

subframe7536 commented 1 year ago

In my plan of V7, all the code will be rewritten in js/ts, a new website will be provided to introduce the font features and build custom font inside the browser just like fontfreeze.

So currently I will close the issue

sonulohani commented 1 year ago

@subframe7536 @SsparKluo You can uncheck this and generate the font. This will work image

SsparKluo commented 1 year ago

@subframe7536 @SsparKluo You can uncheck this and generate the font. This will work image

Thanks for your suggestion. It does have no error, but features are not frozen too, at least for terminals without ligature support.

subframe7536 commented 1 year ago

@SsparKluo maybe you should check you terminal in https://github.com/tonsky/FiraCode#terminal-compatibility-list .

AFAIK, enabling ligatures by default will use clig instead of calt, and then the cursor inside ligature will be rendered incorrectly.

SsparKluo commented 1 year ago

I haven't met the rendering issue in windows terminal.

As for those terminal not support ligature, those frozen font variants, like cv01, still work.

subframe7536 commented 1 year ago

could you please provide me some example font files?

SsparKluo commented 1 year ago

could you please provide me some example font files?

Sure, there is an old version of maple mono I froze before MapleMono-SC-NF-Regular_freeze.zip.

And the feature cv01 works in the vscode integrated terminal image

subframe7536 commented 1 year ago

For character variants, it can correctly be freezed

MapleMonoFreeze-ttf.zip is generated by the build script, which enable all character variants, you can test it

SsparKluo commented 1 year ago

It works, thanks