mirror of https://github.com/buggins/dlangide.git
better fonts
This commit is contained in:
parent
033f682d88
commit
a7c203525c
|
@ -71,9 +71,9 @@
|
|||
<doXGeneration>1</doXGeneration>
|
||||
<xfilename>$(IntDir)\$(TargetName).json</xfilename>
|
||||
<debuglevel>0</debuglevel>
|
||||
<debugids>DebugInfo DCD</debugids>
|
||||
<debugids>KeyInput DCD</debugids>
|
||||
<versionlevel>0</versionlevel>
|
||||
<versionids>EmbedStandardResources</versionids>
|
||||
<versionids>EmbedStandardResources NO_OPENGL USE_FREETYPE</versionids>
|
||||
<dump_source>0</dump_source>
|
||||
<mapverbosity>0</mapverbosity>
|
||||
<createImplib>0</createImplib>
|
||||
|
@ -111,7 +111,7 @@
|
|||
<multiobj>0</multiobj>
|
||||
<singleFileCompilation>0</singleFileCompilation>
|
||||
<oneobj>0</oneobj>
|
||||
<mscoff>0</mscoff>
|
||||
<mscoff>1</mscoff>
|
||||
<trace>0</trace>
|
||||
<quiet>0</quiet>
|
||||
<verbose>0</verbose>
|
||||
|
@ -174,7 +174,7 @@
|
|||
<doXGeneration>1</doXGeneration>
|
||||
<xfilename>$(IntDir)\$(TargetName).json</xfilename>
|
||||
<debuglevel>0</debuglevel>
|
||||
<debugids>DebugInfo DCD</debugids>
|
||||
<debugids />
|
||||
<versionlevel>0</versionlevel>
|
||||
<versionids>EmbedStandardResources</versionids>
|
||||
<dump_source>0</dump_source>
|
||||
|
@ -277,9 +277,9 @@
|
|||
<doXGeneration>1</doXGeneration>
|
||||
<xfilename>$(IntDir)\$(TargetName).json</xfilename>
|
||||
<debuglevel>0</debuglevel>
|
||||
<debugids>DebugInfo DCD</debugids>
|
||||
<debugids>KeyInput DCD</debugids>
|
||||
<versionlevel>0</versionlevel>
|
||||
<versionids>EmbedStandardResources</versionids>
|
||||
<versionids>EmbedStandardResources NO_OPENGL USE_FREETYPE</versionids>
|
||||
<dump_source>0</dump_source>
|
||||
<mapverbosity>0</mapverbosity>
|
||||
<createImplib>0</createImplib>
|
||||
|
@ -317,7 +317,7 @@
|
|||
<multiobj>0</multiobj>
|
||||
<singleFileCompilation>0</singleFileCompilation>
|
||||
<oneobj>0</oneobj>
|
||||
<mscoff>0</mscoff>
|
||||
<mscoff>1</mscoff>
|
||||
<trace>0</trace>
|
||||
<quiet>0</quiet>
|
||||
<verbose>0</verbose>
|
||||
|
@ -380,7 +380,7 @@
|
|||
<doXGeneration>1</doXGeneration>
|
||||
<xfilename>$(IntDir)\$(TargetName).json</xfilename>
|
||||
<debuglevel>0</debuglevel>
|
||||
<debugids>DebugInfo DCD</debugids>
|
||||
<debugids />
|
||||
<versionlevel>0</versionlevel>
|
||||
<versionids>EmbedStandardResources</versionids>
|
||||
<dump_source>0</dump_source>
|
||||
|
|
6
dub.json
6
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"
|
||||
|
|
|
@ -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; //
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue