Added Gentoo's directory for DejaVu Serif, /usr/share/fonts/dejavu/DejaVuSerif.ttf, to the list of fonts to try.

This commit is contained in:
Aloshi 2012-12-30 10:40:07 -06:00
parent d0cea1b8e7
commit cadc9a9ec6

View file

@ -15,9 +15,10 @@ int Font::getSize() { return mSize; }
std::string Font::getDefaultPath()
{
int fontCount = 2;
int fontCount = 3;
std::string fonts[] = {"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf",
"/usr/share/fonts/TTF/DejaVuSerif.ttf" };
"/usr/share/fonts/TTF/DejaVuSerif.ttf",
"/usr/share/fonts/dejavu/DejaVuSerif.ttf" };
for(int i = 0; i < fontCount; i++)
{