comic-shanns icon indicating copy to clipboard operation
comic-shanns copied to clipboard

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

Open reknih opened this issue 3 years ago • 1 comments

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

reknih avatar Apr 07 '21 07:04 reknih

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.

Artoria2e5 avatar Jan 29 '24 06:01 Artoria2e5