Fall back to the DroidSansFallbackFull.ttf font on Linux.

This commit is contained in:
Alec Lofquist 2014-09-27 17:17:40 -05:00
parent 030c840cfb
commit 50d2ba2291

View file

@ -384,13 +384,7 @@ std::vector<std::string> getFallbackFontPaths()
// TODO // TODO
const char* paths[] = { const char* paths[] = {
// Japanese "/usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf" // japanese, chinese, present on Debian
"/usr/share/fonts/truetype/fonts-japanese-gothic.ttf",
// Latin
"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf",
"/usr/share/fonts/TTF/DejaVuSerif.ttf",
"/usr/share/fonts/dejavu/DejaVuSerif.ttf"
}; };
std::vector<std::string> fontPaths; std::vector<std::string> fontPaths;