consolig icon indicating copy to clipboard operation
consolig copied to clipboard

Letter "i" inside of word looks wrong (in Bold font)

Open DrPepperBianco opened this issue 3 years ago • 2 comments

Hello,

I currently had to recreate the font from scratch. I realized that the i insife words (like "config") looks wrong.

I then took an old commit, from last year, when I initially compiled the font. There the problem didn't appear.

This is built with commit #db254ea (from March 2021): image

This is built with commit #dba44d6 (from March 2020): image

The "i" in the newer commit looks odd. It is not bold, like the rest of the word.

DrPepperBianco avatar Apr 09 '21 14:04 DrPepperBianco

I forgot to mention this, I only have the problem in Visual Studio. In Visual Studio Code it seems to work correctly. But VS Code is not using bold font, so I'm not a 100% sure about that.

Also, I played a around a little in MS Word. The ligatures initially don't work there. You have to activate "Use Contextual Alternates": image

Also, the "i" thing only happens after "f", so it is the "fi" ligature. Maybe there is some way to deactivate that specific ligature? I assume it would be enough to just remove a file from the repository, that contains the "fi" ligature before building the project. But I have no clue, which one.

DrPepperBianco avatar Apr 09 '21 15:04 DrPepperBianco

Okay, after a little digging, I feel relatively confident that this is a result of the ligature substitutions only being at normal weight. I need to still create the ligatures for the bold typeface. Currently, the font swaps in regular weight glyphs into the bold font. This substitution logic extends to fi here.

I'm not going to close this in case I'm still missing something, but it is probably another dup of #8 .

ofolis avatar Apr 13 '21 03:04 ofolis