Package: brutalchess / 0.5.2+dfsg-4

05_use_our_fonts.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
--- a/src/gamecore.cpp
+++ b/src/gamecore.cpp
@@ -484,6 +484,8 @@
 		// add debugging
 	} else if(FontLoader::loadFont("sans", FONTS_DIR + string("ZEROES__.TTF"), 32)) {
 		// add debugging
+	} else if(FontLoader::loadFont("sans", string("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"), 32)) {
+		cout << "Load font: " << string("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf") << endl;
 	} else {
 		cerr << "Failed to load fonts." << endl;
 		return false;