comic-shanns
comic-shanns copied to clipboard
Artifacts if rendered with a non-integer display scaling factor on Windows
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.
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.