default font name

This commit is contained in:
Gang Zhuo
2015-09-22 22:30:05 -04:00
parent 969ee15ad6
commit f7c9f2049c
+2 -2
View File
@@ -16,7 +16,7 @@ namespace Shadowsocks.Model
public LogViewerConfig()
{
this.fontName = "Console";
this.fontName = "Consolas";
this.fontSize = 8;
this.bgColor = "black";
this.textColor = "white";
@@ -29,7 +29,7 @@ namespace Shadowsocks.Model
{
try
{
return new Font(fontName, fontSize);
return new Font(fontName, fontSize, FontStyle.Regular);
}
catch (Exception)
{