Hey all, I'm currently working on a project using your brillant font library, however I would like to know if its possible to turn off anti-aliasing on a font to bring out its true pixelness
Hey all, I'm currently working on a project using your brillant font library, however I would like to know if its possible to turn off anti-aliasing on a font to bring out its true pixelness
Possible
It's possible, but you'll have to change the C++ code in the importer.
Specifically, in BitmapFontProcessor.cpp (found in Sources\Nuclex.Fonts.Content.Pipeline.TrueTypeImporter\Source), in addition to
FT_LOAD_RENDERthe flagFT_LOAD_MONOCHROMEneeds to be passed toFT_Load_Char().This will, however, output the character data in packed form (eg. 1 byte stores 8 pixels), so instead of
glyph->Bitmap[index + 3] = *pixelAddress;you'd have to isolate the specific bit there (rather trivial using anstd::vector<bool>).Post new comment