diff options
author | Jason Pleau <jason@jpleau.ca> | 2014-12-07 11:55:39 -0500 |
---|---|---|
committer | Jason Pleau <jason@jpleau.ca> | 2014-12-07 11:55:39 -0500 |
commit | 2b41383c36418f4f2739240bdbec961a1be5307e (patch) | |
tree | 06c151e2ec36f269460d9c205e74c139682ae36f | |
parent | 64c1b9e6d403470ee0c2f6740b7204f7bce8f1af (diff) |
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.
-rw-r--r-- | examples/LiberationSans-Regular.ttf | bin | 0 -> 139764 bytes | |||
-rw-r--r-- | examples/arial.ttf | bin | 773236 -> 0 bytes | |||
-rw-r--r-- | examples/example.cc | 4 |
3 files changed, 2 insertions, 2 deletions
diff --git a/examples/LiberationSans-Regular.ttf b/examples/LiberationSans-Regular.ttf Binary files differnew file mode 100644 index 0000000..254ace4 --- /dev/null +++ b/examples/LiberationSans-Regular.ttf diff --git a/examples/arial.ttf b/examples/arial.ttf Binary files differdeleted file mode 100644 index ab68fb1..0000000 --- a/examples/arial.ttf +++ /dev/null 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; } |