The change (at Font.cpp): FT_Glyph_To_Bitmap(&glyphDesc, FT_RENDER_MODE_NORMAL, 0, 1);
to
FT_Glyph_To_Bitmap(&glyphDesc, FT_RENDER_MODE_MONO, 0, 1);
(with a way to toggle it that fits with the rest of the Font interface)
The reason:I'm into retro-looking games with big pixels and low color count palettes. I like using SFML2 because it has a
really confortable interface, has window init, scaling, rotation, fonts, network, almost everything I need already handled.
Except for antialiasing of fonts. I managed to just change the libraries code but that's no solution and I think it's a missing feature.
Analogously it would be a pain if "
setSmooth()" wasn't there to toggle textures anti-aliasing from nearest neighbour (off) to bilinear.
I've attached an image explaining it better (
direct link, make sure it's unzoomed/1:1 pixel ratio)...
For both FreeType render modes, there are both No-zoom version and a render-to-texture (RTT) version where my problem is more evident.
Hope you give it a thought
Best regards
-MartÃn
[attachment deleted by admin]