This is one of those weird Windows things I noticed for years but could never put into words (always thought it was a monitor issue).
Once I got a Macbook I immediately realized I’ll never be able to edit code on anything else ever again.
Here's a good example of the difference between Windows and macOS font rendering. If you can't tell the difference, or it doesn't bother you, I envy you greatly. You should probably buy a PC instead of a Mac next, if you work with web development.