mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25:38 +00:00
Hopefully fixed compiling on Linux.
This commit is contained in:
parent
531fb50e01
commit
7c31d7ca0a
|
@ -382,6 +382,10 @@ std::vector<std::string> getFallbackFontPaths()
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
const char* paths[] = {
|
const char* paths[] = {
|
||||||
|
// Japanese
|
||||||
|
"/usr/share/fonts/truetype/fonts-japanese-gothic.ttf",
|
||||||
|
|
||||||
|
// Latin
|
||||||
"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf",
|
"/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"
|
"/usr/share/fonts/dejavu/DejaVuSerif.ttf"
|
||||||
|
@ -395,7 +399,7 @@ std::vector<std::string> getFallbackFontPaths()
|
||||||
}
|
}
|
||||||
|
|
||||||
fontPaths.shrink_to_fit();
|
fontPaths.shrink_to_fit();
|
||||||
return fonts;
|
return fontPaths;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue