Browse Source

default font name

tags/3.0
Gang Zhuo 9 years ago
parent
commit
f7c9f2049c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      shadowsocks-csharp/Model/LogViewerConfig.cs

+ 2
- 2
shadowsocks-csharp/Model/LogViewerConfig.cs View File

@@ -16,7 +16,7 @@ namespace Shadowsocks.Model
public LogViewerConfig() public LogViewerConfig()
{ {
this.fontName = "Console";
this.fontName = "Consolas";
this.fontSize = 8; this.fontSize = 8;
this.bgColor = "black"; this.bgColor = "black";
this.textColor = "white"; this.textColor = "white";
@@ -29,7 +29,7 @@ namespace Shadowsocks.Model
{ {
try try
{ {
return new Font(fontName, fontSize);
return new Font(fontName, fontSize, FontStyle.Regular);
} }
catch (Exception) catch (Exception)
{ {


Loading…
Cancel
Save