shannpersand / comic-shanns

a classy font
MIT License
973 stars 95 forks source link

Artifacts if rendered with a non-integer display scaling factor on Windows #11

Open reknih opened 3 years ago

reknih commented 3 years ago

Hey, thanks for the fun font project! I'm enjoying the bit of whimsy when coding!

One of my displays is set to a 1.25 scaling factor. On that display, the font displays ugly rendering artefacts around the edges, especially at sizes typically used in a editor (the font size in the attached screenshot is 16px, the editor is VS Code). These artifacts are especially noticable on letters like the lower-case e and s. There are no such issues if the window is moved over to a 2x display.

comic-shanns-artefacts

Artoria2e5 commented 5 months ago

Sounds like hinting getting too zealous. Have you tried switching between the TTF and OTF versions and/or changing antialias settings on vscode? Running ttfautohint on the TTF font should also fix it.