Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 4cf107b631b7f5b002d80ac83136117a > files > 5

brutalchess-0.5.2-16.mga6.src.rpm

--- 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/TTF/dejavu/DejaVuSans.ttf"), 32)) {
+		cout << "Load font: " << string("/usr/share/fonts/TTF/dejavu/DejaVuSans.ttf") << endl;
 	} else {
 		cerr << "Failed to load fonts." << endl;
 		return false;