作者:殷小苗_535 | 来源:互联网 | 2023-08-15 16:45
This is how 14pt looks in Xcode, and also in Terminal. Note the caret location/size line height – it's too high, like there is too much padding on top.
For comparison, this is Inconsolata 14pt – line height is correct, no extra padding on top:
And this one is Menlo 14pt, note how big it is compared with Fantasque and Inconsolata.
Strangely, some apps don't show this extra padding on top, like BBEdit (but they may be using Carbon font rendering) and Java-based apps (AppCode).
该提问来源于开源项目:belluzj/fantasque-sans
Should be OK in latest release.