- Fixed font settings for Unix.

This commit is contained in:
Cas Cremers 2007-05-19 15:43:57 +02:00
parent f47c1e7e5e
commit 3dfb8d6173

View File

@ -159,8 +159,9 @@ class AttackThread(threading.Thread):
elif sys.platform.startswith("win"): elif sys.platform.startswith("win"):
self.fontname = "Courier" self.fontname = "Courier"
else: else:
font = wx.Font(9,wx.SWISS,wx.NORMAL,wx.NORMAL) #font = wx.Font(9,wx.SWISS,wx.NORMAL,wx.NORMAL)
self.fontname = font.GetFaceName() #self.fontname = font.GetFaceName()
self.fontname = "\"Helvetica\""
# write all graph lines but add layout modifiers # write all graph lines but add layout modifiers
for l in txt.splitlines(): for l in txt.splitlines():