Skip to content

crash RE removal of gui/fonts #199

@StarryWisdom

Description

@StarryWisdom

on a linux build emptyepsilon.ini is saved in ~/.emptyepsilon/options.ini
after having run a stock version of EE this file will be seen by this branch if run on the same machine, regardless of directory
in stock EE the font_bold and font_regular both include gui/fonts in their path
in this fork they have the gui/fonts stripped off
this results in a segfault when the font is unable to be opened with a backtrace of

sf::Font::loadFromStream(sf::InputStream&) () from /usr/lib/x86_64-linux-gnu/libsfml-graphics.so.2.5
main (argc=1, argv=0x7fffffffe138) at main.cpp:273

this is due to the ini file having a path of gui/fonts/BebasNeue Bold.otf which main.cpp:270 changes to gui/fonts/gui/fonts/BebasNeue Bold.otf which in turn doesnt exist resulting in a crash
it is quite annoying to be unable to run both this fork and stock EE on the same machine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions