- Fixed font settings for Unix.
This commit is contained in:
@@ -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():
|
||||||
|
|||||||
Reference in New Issue
Block a user