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.49k stars 62 forks source link

OverflowError: unsigned byte integer is greater than maximum #96

Closed sonulohani closed 1 year ago

sonulohani commented 1 year ago

I am using font MapleMono https://github.com/subframe7536/Maple-font/releases/tag/v6.2 and I see this issue in https://mutsuntsai.github.io/fontfreeze/ image

The issue is in the font: https://github.com/MuTsunTsai/fontfreeze/issues/7

subframe7536 commented 1 year ago

I'll fix it as soon as I have some spare time

subframe7536 commented 1 year ago

according to https://github.com/MuTsunTsai/fontfreeze/issues/8, it should be caused by nerdfont patcher. it can be easily customized when #89 complete

Finii commented 1 year ago

it should be caused by nerdfont patcher

Well, it seems an ancient version of the patcher is used here: Version 2.1.0

image

Current is 3.0.2; if you do not want to switch to the v3 codepoints, at least v2.3.3 should be used.

More importantly, and probably the reason for the bug, is to use a recent (i.e. Release 2023.01.01) fontforge together with the font-patcher. There have been various bugfixes in fontforge that could result in broken fonts like mentioned above.

subframe7536 commented 1 year ago

@Finii thanks for your suggestion! it will be fixed in v6.4

subframe7536 commented 1 year ago

v6.4 release. upgrade Nerd Font to v3.0.2