# HG changeset patch # User Edouard Tisserant # Date 1585986092 -7200 # Node ID 5cb6ab87b1854e03f39c589e625044af30c41da1 # Parent c8d923dd707fea540782022f5de43858c04d7424 Fix unmatched "Courier" font for monospace fonts on latest ubuntu 20.04. Selected "FreeMono" instead, present since at least 18.04 diff -r c8d923dd707f -r 5cb6ab87b185 BeremizIDE.py --- a/BeremizIDE.py Fri Apr 03 14:37:41 2020 +0200 +++ b/BeremizIDE.py Sat Apr 04 09:41:32 2020 +0200 @@ -103,7 +103,7 @@ } else: faces = { - 'mono': 'Courier', + 'mono': 'FreeMono', 'size': 10, } diff -r c8d923dd707f -r 5cb6ab87b185 controls/CustomStyledTextCtrl.py --- a/controls/CustomStyledTextCtrl.py Fri Apr 03 14:37:41 2020 +0200 +++ b/controls/CustomStyledTextCtrl.py Sat Apr 04 09:41:32 2020 +0200 @@ -40,7 +40,7 @@ else: faces = { 'times': 'Times', - 'mono': 'Courier', + 'mono': 'FreeMono', 'helv': 'Helvetica', 'other': 'new century schoolbook', 'size': 12, diff -r c8d923dd707f -r 5cb6ab87b185 controls/LogViewer.py --- a/controls/LogViewer.py Fri Apr 03 14:37:41 2020 +0200 +++ b/controls/LogViewer.py Sat Apr 04 09:41:32 2020 +0200 @@ -339,7 +339,7 @@ if wx.Platform == '__WXMSW__': self.Font = wx.Font(8, wx.SWISS, wx.NORMAL, wx.NORMAL, faceName='Courier New') else: - self.Font = wx.Font(10, wx.SWISS, wx.NORMAL, wx.NORMAL, faceName='Courier') + self.Font = wx.Font(10, wx.SWISS, wx.NORMAL, wx.NORMAL, faceName='FreeMono') self.MessagePanel.Bind(wx.EVT_LEFT_UP, self.OnMessagePanelLeftUp) self.MessagePanel.Bind(wx.EVT_RIGHT_UP, self.OnMessagePanelRightUp) self.MessagePanel.Bind(wx.EVT_LEFT_DCLICK, self.OnMessagePanelLeftDCLick) diff -r c8d923dd707f -r 5cb6ab87b185 editors/ConfTreeNodeEditor.py --- a/editors/ConfTreeNodeEditor.py Fri Apr 03 14:37:41 2020 +0200 +++ b/editors/ConfTreeNodeEditor.py Sat Apr 04 09:41:32 2020 +0200 @@ -48,7 +48,7 @@ else: faces = { 'times': 'Times', - 'mono': 'Courier', + 'mono': 'FreeMono', 'helv': 'Helvetica', 'other': 'new century schoolbook', 'size': 18, diff -r c8d923dd707f -r 5cb6ab87b185 editors/Viewer.py --- a/editors/Viewer.py Fri Apr 03 14:37:41 2020 +0200 +++ b/editors/Viewer.py Sat Apr 04 09:41:32 2020 +0200 @@ -82,7 +82,7 @@ else: faces = { 'times': 'Times', - 'mono': 'Courier', + 'mono': 'FreeMono', 'helv': 'Helvetica', 'other': 'new century schoolbook', 'size': 10,