mirror of https://github.com/buggins/dlangide.git
Merge branch 'master' of github.com:buggins/dlangide
This commit is contained in:
commit
00ef54ccf3
src
|
@ -20,8 +20,13 @@ extern (C) int UIAppMain(string[] args) {
|
||||||
FontManager.hintingMode = HintingMode.Normal;
|
FontManager.hintingMode = HintingMode.Normal;
|
||||||
// you can override antialiasing setting here
|
// you can override antialiasing setting here
|
||||||
FontManager.minAnitialiasedFontSize = 0;
|
FontManager.minAnitialiasedFontSize = 0;
|
||||||
// you can turn on subpixel font rendering (ClearType) here
|
version (USE_OPENGL) {
|
||||||
FontManager.subpixelRenderingMode = SubpixelRenderingMode.None; //SubpixelRenderingMode.BGR; //SubpixelRenderingMode.None; //
|
// 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
|
// create window
|
||||||
Window window = Platform.instance.createWindow("Dlang IDE", null);
|
Window window = Platform.instance.createWindow("Dlang IDE", null);
|
||||||
|
|
Loading…
Reference in New Issue