Closed vladkryv closed 2 months ago
have you ever try to restart IDEA or Windows?
@subframe7536 now I checked, this happens with 14.0 font size; with 15.0 the character height changes a bit but the width is normal, with 16.0 everything is fine as you have in the video.
In addition: 13.5 changes the height a bit (same as 15.0); 14.5 is fine (more precisely, both are wide); 15.5 changes the width (same as 14.0).
https://github.com/subframe7536/maple-font/assets/83036866/364951f5-befe-42f3-8643-d811e86ae36d
True. I can reproduce it. Mostly it is caused by IDEA's rendering strategy. I have tried many other fonts, they also have some weird transform between font sizes.
However, what confusing me is the differences bewteen font weights. It seems that some "optimization" is effect when the font weight is regular or bold. Indeed, I have no idea to solve it currently.
In addition, there also have some font size or spacing differences when the font have double width character or not, which have annoyed me for a long time.
@vladkryv Find it out. You can test this version source.zip
Ascender
/ Descender
should not same as Safe top
/ Safe bottom
Strange things. Direct export with design tools renders as above, but bug still exist if built with script
The issue is not caused by Ascender
/ Descender
You can test this version source.zip
The problem with wide inter-character indentation is gone, but in this version there are a lot of artifacts, for example some letters are clearly thinner than others and so on, here are screenshots
This is caused by font hint, which is enabled by default in FontLab
Fix it by correct the font name table and change usWeightClass
in static version
ExtraLight
: 200 -> 275Thin
: 100 -> 250release in v7.0-beta16
I have tried several other fonts, this behavior is not reproduced with them.
OS: Windows 11 Font version: v7.0 Beta15 IntelliJ IDEA: 2024.1