0 Members and 1 Guest are viewing this topic.
So you had to recompile the source?
if you mean that it will be added to SFML in the near future.
QuoteSo you had to recompile the source?Yes. Using the mono mode for glyphs cannot be done externally, even with an ugly hack.Quoteif you mean that it will be added to SFML in the near future.Don't wait for it. It's not validated, and even if it is, nobody knows when it's going to be implemented.
https://github.com/SFML/SFML/blob/master/src/SFML/Graphics/Font.cpp#L485FT_LOAD_TARGET_NORMAL -> FT_LOAD_TARGET_MONOhttps://github.com/SFML/SFML/blob/master/src/SFML/Graphics/Font.cpp#L503FT_RENDER_MODE_NORMAL -> FT_RENDER_MODE_MONOhttps://github.com/SFML/SFML/blob/master/src/SFML/Graphics/Font.cpp#L716setSmooth(true) -> setSmooth(false)http://www.sfml-dev.org/tutorials/2.2/compile-with-cmake.php
The compile part looks a bit complicated