From 2b41383c36418f4f2739240bdbec961a1be5307e Mon Sep 17 00:00:00 2001 From: Jason Pleau Date: Sun, 7 Dec 2014 11:55:39 -0500 Subject: 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. --- examples/LiberationSans-Regular.ttf | Bin 0 -> 139764 bytes examples/arial.ttf | Bin 773236 -> 0 bytes examples/example.cc | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 examples/LiberationSans-Regular.ttf delete mode 100644 examples/arial.ttf 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; } -- cgit v1.2.3