Here is a comparison of FreeType (via freetype-rs) and swash (via cosmic-text) using the free Virtue font, rendered at a size of 12 px and scaled by a factor of 4x. FreeType (on the top) is using LoadFlag::TARGET_MONO to generate a 1-bit bitmap using monochrome-optimized hinting, whereas swash (on the bottom) is using an alpha test where alpha >= 0x85. (0x86 looks identical. Lower thresholds cause the comma to look blocker, and higher ones open a hole in the bottom of "a".)
Note carefully the renderings of C, R, A, G, u, a, y, and d.
My apologies if aliased monochrome rasterization is out of scope here.
Here is a comparison of FreeType (via freetype-rs) and swash (via cosmic-text) using the free Virtue font, rendered at a size of 12 px and scaled by a factor of 4x. FreeType (on the top) is using
LoadFlag::TARGET_MONOto generate a 1-bit bitmap using monochrome-optimized hinting, whereas swash (on the bottom) is using an alpha test where alpha >= 0x85. (0x86 looks identical. Lower thresholds cause the comma to look blocker, and higher ones open a hole in the bottom of "a".)Note carefully the renderings of C, R, A, G, u, a, y, and d.
My apologies if aliased monochrome rasterization is out of scope here.