kiliman / operator-mono-lig

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

less_slash is slighter lower than regular greater than #98

Closed urielzen closed 4 years ago

urielzen commented 5 years ago

Operator Mono Lig Light At default zoom in VSCode in Windows the less_slash is slighter lower than regular greater than. It is hard to see, but it is about a pixel lower at this zoom.

image

image

Same thing for the slash_greater and the regular less than. image

image

kiliman commented 5 years ago

Thanks for pointing out these issues. I'll take a look and see if it's an easy fix.

kiliman commented 4 years ago

Sorry for the delay. Here's what it looks like on Mac and Windows. As you can see, I don't have the issues you're having. Can you clear out the build folder and regenerate the files and let me know if you still have this issue? What happens if you change the font size?

EDIT: Turns out the Windows font was set at 16px. When I changed it to 14px, I too see the issue you're having. I just have a feeling that's a font rasterizing issue. Windows is trying to grid-fit and since the paths are different, you're getting different pixels rendered. Can you bump it to 15px? If not, you can always just turn off those 2 ligatures. See #113 for details.

Mac OS Operator Mono Lig Light Font Size: 14px (default)

image

Windows 10 Operator Mono Lig Light Font Size: 14px (default)

image

urielzen commented 4 years ago

No worries, this was just nitpicking too much. Thanks a lot for you all your work.