mirror of https://github.com/buggins/dlangui.git
add missing import
This commit is contained in:
parent
afea75828e
commit
ac7743ad5c
|
@ -1468,7 +1468,7 @@ version (Windows) {
|
|||
}
|
||||
|
||||
} else {
|
||||
version(USE_FREETYPE) {
|
||||
import dlangui.graphics.ftfonts;
|
||||
bool registerFonts(FreeTypeFontManager ft, string path) {
|
||||
if (!exists(path) || !isDir(path))
|
||||
return false;
|
||||
|
@ -1482,7 +1482,6 @@ version (Windows) {
|
|||
ft.registerFont(path ~ "DejaVuSansMono-BoldOblique.ttf", FontFamily.MonoSpace, "DejaVuSansMono", true, FontWeight.Bold);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/// initialize font manager - default implementation
|
||||
/// On win32 - first it tries to init freetype, and falls back to win32 fonts.
|
||||
|
|
Loading…
Reference in New Issue