jesusmgg / comic-shanns-mono

a classy font for programming
MIT License
102 stars 6 forks source link

glyph get cut-off on the top/bottom in terminal #5

Closed rtgiskard closed 9 months ago

rtgiskard commented 11 months ago

I'm using foot terminal with archlinux, with font comic mono, the glyph is lilkely to be cut off, here is the report, looks like the issue is related to font.

The font used in the report is comic-mono-font, which is related but not this one, after search for a while, I find this active fork and try to switch to this one. this is a comparison of the font effect.

L_this_R_comic_mono

the old comic-mono (on the right) is more like to be cut off more at the top, but it's more clear with small size. this font is also cut off but is slightly better, here is it in a larger size, which you can tell the difference:

截图 2023-07-29 20-46-14

And for unicode like this, it will be very obvious:

echo  Î Ñ

the two comic fonts all loose the top part like this: 截图 2023-07-29 20-56-21

another font lxgw-wenkai looks well:

截图 2023-07-29 20-56-29

As I have no experience with font edition, is there any option to adjust the font to make sure the font is more standard so it will not be cut-off and loose info? And is it possible to convert with a similar script to make the font more clear with a small size(like 12pt or about 14px) in terminal?

rtgiskard commented 11 months ago

Here is comparison for the glyphs of the two font with fontconfig, both font hold the right glyphs, but the glyphs in comic is much higher

截图 2023-07-29 21-17-54

Mikaela commented 9 months ago

I seem to have opened a duplicate a couple of days ago #6 and it turned out to be a foot issue after all which is fixed in git.

Workaround: line-height=15 at least with font size 12.

rtgiskard commented 9 months ago

Thanks for the note!