I think I found a bug with TGUI on Android. Let's use the minimal example from the documentation and just add this:
It works fine on OS X, but on Android it will crash with this log: https://pastebin.com/WBe1BGnT
If you don't use custom font then it works without any issues.
Code (cpp) Select
sf::Font font;
if(!font.loadFromFile("assets/sansation.ttf"))
{
std::cerr << "Could not load font" << std::endl;
return 1;
}
gui.setFont(font);It works fine on OS X, but on Android it will crash with this log: https://pastebin.com/WBe1BGnT
If you don't use custom font then it works without any issues.