aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/LiberationSans-Regular.ttfbin0 -> 139764 bytes
-rw-r--r--examples/arial.ttfbin773236 -> 0 bytes
-rw-r--r--examples/example.cc6
3 files changed, 3 insertions, 3 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..6f036a1 100644
--- a/examples/example.cc
+++ b/examples/example.cc
@@ -13,7 +13,7 @@
*
* Compile with:
*
- * c++ -O3 -std=c++11 -Wall -lsfml-system -lsfml-window -lsfml-graphics -lentityx readme.cc -o readme
+ * c++ -O3 -std=c++11 -Wall -lsfml-system -lsfml-window -lsfml-graphics -lentityx example.cc -o example
*/
#include <cmath>
#include <unordered_set>
@@ -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;
}