Hopefully fixed compiling on Linux.

This commit is contained in:
Aloshi 2014-08-31 09:57:38 -05:00
parent 531fb50e01
commit 7c31d7ca0a

View file

@ -382,6 +382,10 @@ std::vector<std::string> getFallbackFontPaths()
// TODO
const char* paths[] = {
// Japanese
"/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"
@ -395,7 +399,7 @@ std::vector<std::string> getFallbackFontPaths()
}
fontPaths.shrink_to_fit();
return fonts;
return fontPaths;
#endif
}