Change vertical font alignment on line

View attached screenshot, look at the caret.

When I increase the font size and line spacing, the font becomes bottom aligned, and seemingly leaking below the line.

How can I correct this and maybe center align it?


phpstorm v-align.jpg
Comment actions Permalink

I noticed the main problem is the line spacing, the problem becomes more visible as the line spacing increases, problem is with a bigger font, I need more space between the lines. Ideas?

Comment actions Permalink

I have noticed that the problem only happens with the Inconsolata font.

Comment actions Permalink

Using the TTF version of Inconsolata solves the issue,
You can download the font using the link above, just click open it in Google fonts.  You will see a download button.

**IMO i think this version doesn't look as good as the OTF font.


Please sign in to leave a comment.