aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Pleau <jason@jpleau.ca>2014-12-07 11:55:39 -0500
committerJason Pleau <jason@jpleau.ca>2014-12-07 11:55:39 -0500
commit2b41383c36418f4f2739240bdbec961a1be5307e (patch)
tree06c151e2ec36f269460d9c205e74c139682ae36f
parent64c1b9e6d403470ee0c2f6740b7204f7bce8f1af (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.ttfbin0 -> 139764 bytes
-rw-r--r--examples/arial.ttfbin773236 -> 0 bytes
-rw-r--r--examples/example.cc4
3 files changed, 2 insertions, 2 deletions
diff --git a/examples/LiberationSans-Regular.ttf b/examples/LiberationSans-Regular.ttf
new file mode 100644
index 0000000..254ace4
--- /dev/null
+++ b/examples/LiberationSans-Regular.ttf
Binary files differ
diff --git a/examples/arial.ttf b/examples/arial.ttf
deleted file mode 100644
index ab68fb1..0000000
--- a/examples/arial.ttf
+++ /dev/null
Binary files 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;
}