From: Jason Pleau Date: Sun, 7 Dec 2014 16:55:39 +0000 (-0500) Subject: example: replace arial with a free font X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=2b41383c36418f4f2739240bdbec961a1be5307e;p=clyne%2Fentityx.git example: replace arial with a free font Arial is a proprietary font and cannot be included in another package in distributions like Debian. Replaced it with Liberation. --- diff --git a/examples/LiberationSans-Regular.ttf b/examples/LiberationSans-Regular.ttf new file mode 100644 index 0000000..254ace4 Binary files /dev/null and b/examples/LiberationSans-Regular.ttf differ diff --git a/examples/arial.ttf b/examples/arial.ttf deleted file mode 100644 index ab68fb1..0000000 Binary files a/examples/arial.ttf and /dev/null differ diff --git a/examples/example.cc b/examples/example.cc index d6385b3..e7f400a 100644 --- a/examples/example.cc +++ b/examples/example.cc @@ -359,8 +359,8 @@ int main() { sf::RenderWindow window(sf::VideoMode::getDesktopMode(), "EntityX Example", sf::Style::Fullscreen); sf::Font font; - if (!font.loadFromFile("arial.ttf")) { - cerr << "error: failed to load arial.ttf" << endl; + if (!font.loadFromFile("LiberationSans-Regular.ttf")) { + cerr << "error: failed to load LiberationSans-Regular.ttf" << endl; return 1; }