kiliman / operator-mono-lig

Add ligatures to Operator Mono similar to Fira Code
MIT License
3.2k stars 202 forks source link

Triple equal ligatures rendered incorrectly in different font size. #141

Open dsngo opened 4 years ago

dsngo commented 4 years ago

Renders ligatures incorrectly

Ive recently been using operator-mono-lig to patch ligatures for Operator Font. On the default font size setting of vscode (which is 14px) the ligatures is rendered horrifically, especially the triple equal glyph. I have attached a photo of it.

I either have to change the fontsize to 11px or 16 whichpx is too small or too large to get over it. I never have this issue with Dank Mono or Fira Code. Is there anyone else having this issue?

The resolution Ive used is 1920x1080. Im using the lastest release of the patch and Operator SSm version.

kiliman commented 4 years ago

Sorry about that. Hinting is hard. It's even harder when you are patching an existing font vs building a new font like Fira Code or Dank Mono.

Glyphs with horizontal and vertical lines are especially difficult when you have a limited number of pixels available.

I use 16 px on a 4K screen so it wasn't an issue for me. I will try it out on different resolutions and pixel sizes to try and catch these early. Our resident designer @amitkparekh is in the process of redoing all the ligatures, so we'll pay closer attention to hinting.

Thanks for the report.

dsngo commented 4 years ago

Hey, thanks a lot for replying. This definitely sounds great. In the meantime, I think the optimal fontsize and resolution should be mentioned in the readme though.