Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > d69bee0114756fcb921d0ac84d9b6175 > files > 5

brutalchess-0.5.2-20.mga9.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;