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?

Thanks.



Attachment(s):
phpstorm v-align.jpg
5 comments
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?

0
Comment actions Permalink

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

0
Comment actions Permalink

Using the TTF version of Inconsolata solves the issue,

http://www.google.com/fonts/specimen/Inconsolata
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.

0

Please sign in to leave a comment.