Merge branch 'master' of github.com:buggins/dlangide

This commit is contained in:
Vadim Lopatin 2015-01-26 12:11:58 +03:00
commit 00ef54ccf3
1 changed files with 7 additions and 2 deletions

View File

@ -20,8 +20,13 @@ extern (C) int UIAppMain(string[] args) {
FontManager.hintingMode = HintingMode.Normal;
// you can override antialiasing setting here
FontManager.minAnitialiasedFontSize = 0;
// you can turn on subpixel font rendering (ClearType) here
FontManager.subpixelRenderingMode = SubpixelRenderingMode.None; //SubpixelRenderingMode.BGR; //SubpixelRenderingMode.None; //
version (USE_OPENGL) {
// you can turn on subpixel font rendering (ClearType) here
FontManager.subpixelRenderingMode = SubpixelRenderingMode.None; //
} else {
// you can turn on subpixel font rendering (ClearType) here
FontManager.subpixelRenderingMode = SubpixelRenderingMode.BGR; //SubpixelRenderingMode.None; //
}
// create window
Window window = Platform.instance.createWindow("Dlang IDE", null);