diff --git a/dlangide_msvc.visualdproj b/dlangide_msvc.visualdproj
index 43e4ed1..090d60d 100644
--- a/dlangide_msvc.visualdproj
+++ b/dlangide_msvc.visualdproj
@@ -71,9 +71,9 @@
1
$(IntDir)\$(TargetName).json
0
- DebugInfo DCD
+ KeyInput DCD
0
- EmbedStandardResources
+ EmbedStandardResources NO_OPENGL USE_FREETYPE
0
0
0
@@ -111,7 +111,7 @@
0
0
0
- 0
+ 1
0
0
0
@@ -174,7 +174,7 @@
1
$(IntDir)\$(TargetName).json
0
- DebugInfo DCD
+
0
EmbedStandardResources
0
@@ -277,9 +277,9 @@
1
$(IntDir)\$(TargetName).json
0
- DebugInfo DCD
+ KeyInput DCD
0
- EmbedStandardResources
+ EmbedStandardResources NO_OPENGL USE_FREETYPE
0
0
0
@@ -317,7 +317,7 @@
0
0
0
- 0
+ 1
0
0
0
@@ -380,7 +380,7 @@
1
$(IntDir)\$(TargetName).json
0
- DebugInfo DCD
+
0
EmbedStandardResources
0
diff --git a/dub.json b/dub.json
index dd9fa4e..f744a70 100644
--- a/dub.json
+++ b/dub.json
@@ -12,7 +12,7 @@
"stringImportPaths": ["views"],
"dependencies": {
- "dlangui": "==0.9.150",
+ "dlangui": "==0.9.151",
"dsymbol": "~>0.2.9",
"dcd": "~>0.9.1"
},
@@ -23,6 +23,10 @@
"libs-linux": ["z"],
+ "versions-windows": [
+ "USE_FREETYPE"
+ ],
+
"configurations" : [
{
"name" : "default"
diff --git a/src/dlangide.d b/src/dlangide.d
index 62e0133..587c382 100644
--- a/src/dlangide.d
+++ b/src/dlangide.d
@@ -50,7 +50,12 @@ extern (C) int UIAppMain(string[] args) {
// you can override antialiasing setting here
FontManager.minAnitialiasedFontSize = 0;
/// set font gamma (1.0 is neutral, < 1.0 makes glyphs lighter, >1.0 makes glyphs bolder)
- FontManager.fontGamma = 0.8;
+ FontManager.fontGamma = 1.0;
+ version (NO_OPENGL) {
+ FontManager.subpixelRenderingMode = SubpixelRenderingMode.BGR;
+ } else {
+ FontManager.subpixelRenderingMode = SubpixelRenderingMode.None;
+ }
version (USE_OPENGL) {
// you can turn on subpixel font rendering (ClearType) here
FontManager.subpixelRenderingMode = SubpixelRenderingMode.None; //
diff --git a/src/dlangide/workspace/idesettings.d b/src/dlangide/workspace/idesettings.d
index 424ccd5..c4a76bb 100644
--- a/src/dlangide/workspace/idesettings.d
+++ b/src/dlangide/workspace/idesettings.d
@@ -32,7 +32,7 @@ class IDESettings : SettingsFile {
ui.setIntegerDef("minAntialiasedFontSize", 0);
ui.setFloatingDef("fontGamma", 0.8);
ui.setStringDef("uiFontFace", "Default");
- ui.setIntegerDef("uiFontSize", 10);
+ ui.setIntegerDef("uiFontSize", 11);
ui.setBooleanDef("showToolbar", true);
ui.setBooleanDef("showStatusbar", true);
version (Windows) {