FreeType: add more hardcoded paths to TTF fonts; temporary solution

This commit is contained in:
Vadim Lopatin 2014-12-28 22:13:23 +03:00
parent 981f53b825
commit baecfc2216
1 changed files with 2 additions and 0 deletions

View File

@ -1063,6 +1063,8 @@ version (Windows) {
FreeTypeFontManager ft = new FreeTypeFontManager();
// TODO: use FontConfig
ft.registerFont("/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf", FontFamily.SansSerif, "DejaVu", false, FontWeight.Normal);
ft.registerFont("/usr/share/fonts/TTF/DejaVuSans.ttf", FontFamily.SansSerif, "DejaVu", false, FontWeight.Normal);
ft.registerFont("/usr/share/fonts/dejavu/DejaVuSans.ttf", FontFamily.SansSerif, "DejaVu", false, FontWeight.Normal);
FontManager.instance = ft;
return sdlmain(args);