1
Hello, I use jetbrains rider.
I can't load any font in my project
and I really don't know why they don't want to, I have no error message, just the function returns false
I can't load any font in my project
Quote
sf::Font font;
if (font.loadFromFile("C:\\Windows\\Fonts\\Arial.ttf"))
{
isValid = true;
currentText = sf::Text("Hello World", font, 24);
Debug::Log("Load font aerial.ttf");
}
else
{
isValid = false;
currentText = sf::Text("Hello World", font, 24);
Debug::Log("Can't Load font aerial.ttf");
}
and I really don't know why they don't want to, I have no error message, just the function returns false