ofolis / consolig

Consolas with custom programming ligatures
SIL Open Font License 1.1
45 stars 2 forks source link

Make >> the same height as > #16

Closed th-bu closed 3 years ago

th-bu commented 3 years ago

I'll just let the screenshot do the talking :)

grafik

In those situations the >> looks really akward.

th-bu commented 3 years ago

Interesting, this only happens at font size 9. At 10 it's the same height.

ofolis commented 3 years ago

I think that I have a fix in the works for this. This is a result of a lack of TrueType instructions on the glyph. More soon -- this is what I'm working on at the moment.

ofolis commented 3 years ago

Been a few days, but I had a breakthrough. I can now apply TT instructions to Consolas (which will fix this issue). I now just need to learn how to craft the TT instructions effectively. More soon.

ofolis commented 3 years ago

image

So this is how the brackets will look in the upcoming release. It's using the existing geometry, but with my fixes to the font hinting code, it already looks a bit better.

I can also revisit the base geometry if everyone thinks it still needs some work. Should have a release ready to go within the week.

ofolis commented 3 years ago

Hokay, @Jeddix -- let me know if https://github.com/ofolis/consolig/releases/tag/v0.4.0 solves the issue.

th-bu commented 3 years ago

Works perfectly now in Visual Studio 2019 with font size 9.

grafik

The >> still looks funny in that context but I guess you can keep it like that for the C++ guys 😄.

ofolis commented 3 years ago

Awesome, and yeah, I hear you re: funkiness. I'll be working on trying to get more customization baked into the builder in the next release.