From 3dfb8d61730ce5736fe9bd72a7f11e45cf129de8 Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Sat, 19 May 2007 15:43:57 +0200 Subject: [PATCH] - Fixed font settings for Unix. --- gui/Gui/Scytherthread.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gui/Gui/Scytherthread.py b/gui/Gui/Scytherthread.py index fb10a33..301d9e7 100644 --- a/gui/Gui/Scytherthread.py +++ b/gui/Gui/Scytherthread.py @@ -159,8 +159,9 @@ class AttackThread(threading.Thread): elif sys.platform.startswith("win"): self.fontname = "Courier" else: - font = wx.Font(9,wx.SWISS,wx.NORMAL,wx.NORMAL) - self.fontname = font.GetFaceName() + #font = wx.Font(9,wx.SWISS,wx.NORMAL,wx.NORMAL) + #self.fontname = font.GetFaceName() + self.fontname = "\"Helvetica\"" # write all graph lines but add layout modifiers for l in txt.splitlines():