Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Radegast

#1
Help requests / Android crash on setFont()
06 February 2016, 20:58:15
I think I found a bug with TGUI on Android. Let's use the minimal example from the documentation and just add this:

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.