mirror of https://github.com/buggins/dlangui.git
fix SDL config DUB build under windows - fix #304
This commit is contained in:
parent
31e99433cb
commit
c41225853c
|
|
@ -718,6 +718,8 @@ class FreeTypeFontManager : FontManager {
|
|||
private int myabs(int n) { return n >= 0 ? n : -n; }
|
||||
|
||||
|
||||
version(Windows) {
|
||||
} else {
|
||||
|
||||
bool registerFontConfigFonts(FreeTypeFontManager fontMan) {
|
||||
import fontconfig;
|
||||
|
|
@ -940,3 +942,4 @@ bool registerFontConfigFonts(FreeTypeFontManager fontMan) {
|
|||
|
||||
return facesFound > 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1240,7 +1240,6 @@ int myWinMain(void* hInstance, void* hPrevInstance, char* lpCmdLine, int iCmdSho
|
|||
Log.e("No font files found!!!");
|
||||
Log.e("Currently, only hardcoded font paths implemented.");
|
||||
Log.e("Probably you can modify sdlapp.d to add some fonts for your system.");
|
||||
Log.e("TODO: use fontconfig");
|
||||
Log.e("******************************************************************");
|
||||
assert(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue