add missing import

This commit is contained in:
Vadim Lopatin 2015-03-27 09:17:18 +03:00
parent ac7743ad5c
commit 740857d7bd
1 changed files with 1 additions and 0 deletions

View File

@ -1470,6 +1470,7 @@ version (Windows) {
} else {
import dlangui.graphics.ftfonts;
bool registerFonts(FreeTypeFontManager ft, string path) {
import std.file;
if (!exists(path) || !isDir(path))
return false;
ft.registerFont(path ~ "DejaVuSans.ttf", FontFamily.SansSerif, "DejaVuSans", false, FontWeight.Normal);