i-tu / Hasklig

Hasklig - a code font with monospaced ligatures
SIL Open Font License 1.1
5.56k stars 156 forks source link

Bold font mid-line causes misalignment #93

Closed SeinopSys closed 6 years ago

SeinopSys commented 6 years ago

I use highlighting settings in my IDE (PhpStorm 2017.1.4) that makes certain parts of the code bold, and when I switch to this font the bold characters cause misalignment in the rest of the text. Here's an illustration of how this looks:

9icbi4xcr9 1

Notice how the y in the second like is hanging into the space the - in the line above is occupying. Another example with a longer bold section:

fhd8upqy3m 1

The text in the bottom is actually 1 character shorter but it's rendered even longer than the line above it.

This seems to happen only with the weight variants Hasklig Medium, Hasklig Light, Hasklig ExtraLight and Hasklig Black but not Hasklig Semibold or the one simply called Hasklig in the editor's font selection drop-down.

i-tu commented 6 years ago

Thanks for your report. This is probably a problem with PhpStorm, as I'm unable to reproduce this problem.

screen shot 2017-08-08 at 10 09 56

Could you please bring this up with the people working on PhpStorm? I'm closing this for the moment, until there's some compelling evidence that the problem lies in Hasklig.