source-foundry / Hack

A typeface designed for source code
http://sourcefoundry.org/hack/
Other
16.52k stars 613 forks source link

"M, X" (and more to a lesser degree) are cut off when italicized #653

Open nosvagor opened 1 year ago

nosvagor commented 1 year ago

Relevant kitty config:

font_size            14.0
font_family          monospace
italic_font          Hack Italic
bold_italic_font     Hack Bold Italic

I use Hack as a stand-in for italic, since Fira Code does not have italic at this time. I've had this problem for a while, and assumed it's some issue with my config. I've yet to identify/solve the issue, so I thought I'd try here.

Visual example: image image

Originally I thought it was only M or X, but testing other letters revealed more issues.

I can adjust the cell width in kitty to over 100%, e.g., modify_font cell_width 120% but this is an ugly solution.

Also, using an alternative font, like JetBrains Mono, seems to work just fine, but I would like to use Hack if I can!