using liberationSans instead of arial

This commit is contained in:
incredibleLeitman 2020-11-28 23:30:31 +01:00
parent 0d49399240
commit 7dd46556c8

View File

@ -9,9 +9,9 @@
Display::Display (const std::vector<Point> &pts)
{
if (!m_font.loadFromFile("arial.ttf"))
if (!m_font.loadFromFile("LiberationSans-Regular.ttf"))
{
std::cerr << "font arial.ttf could not be loaded!" << std::endl;
std::cerr << "font LiberationSans-Regular.ttf could not be loaded!" << std::endl;
}
m_textStatus.setPosition(OFFSET, HEIGHT - 2*OFFSET);
@ -210,7 +210,6 @@ void Display::update ()
if (pt.getFillColor() == sf::Color::Green)
{
std::cout << "distance to green point " << pt.getPosition().x << ", " << pt.getPosition().y << ": " << distance << std::endl;
}
else if (pt.getFillColor() == sf::Color::Red)
{