Skip to content
Snippets Groups Projects
Commit 5aa3e5c5 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fun (not) with fonts

Running SBBSCTRL on Windows 11 with a 4K monitor looked horrible.
The default font sizes varied widely - I'm not sure why this wasn't
apparent before now. And the default font ("MS Sans Serif") is no longer
included in modern Windows versions, so when choosing a Log font, the
pre-selected font was just blank. So change use of "MS Sans Serif"
everywhere to "Microsoft Sans Serif" which appears to have been around since
Win95 and be the preferred alternative. I would consider Segoe, but that
wasn't introduced into Windows until Vista and I'm not sure (yet) what
troubles that might introduce. I'll experiment with a WinXP VM maybe
and find out.
parent 7724052c
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
Showing
with 61 additions and 56 deletions
...@@ -9,7 +9,7 @@ object AboutBoxForm: TAboutBoxForm ...@@ -9,7 +9,7 @@ object AboutBoxForm: TAboutBoxForm
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -13 Font.Height = -13
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
OldCreateOrder = False OldCreateOrder = False
Position = poScreenCenter Position = poScreenCenter
...@@ -13377,7 +13377,7 @@ object AboutBoxForm: TAboutBoxForm ...@@ -13377,7 +13377,7 @@ object AboutBoxForm: TAboutBoxForm
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -15 Font.Height = -15
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [fsBold] Font.Style = [fsBold]
ParentFont = False ParentFont = False
ParentShowHint = False ParentShowHint = False
...@@ -13414,7 +13414,7 @@ object AboutBoxForm: TAboutBoxForm ...@@ -13414,7 +13414,7 @@ object AboutBoxForm: TAboutBoxForm
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -15 Font.Height = -15
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [fsBold] Font.Style = [fsBold]
ParentFont = False ParentFont = False
ParentShowHint = False ParentShowHint = False
...@@ -13435,7 +13435,7 @@ object AboutBoxForm: TAboutBoxForm ...@@ -13435,7 +13435,7 @@ object AboutBoxForm: TAboutBoxForm
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -15 Font.Height = -15
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [fsBold] Font.Style = [fsBold]
ParentFont = False ParentFont = False
ParentShowHint = False ParentShowHint = False
......
...@@ -10,8 +10,8 @@ object ClientForm: TClientForm ...@@ -10,8 +10,8 @@ object ClientForm: TClientForm
DragMode = dmAutomatic DragMode = dmAutomatic
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite Font.Color = clWhite
Font.Height = -10 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
OldCreateOrder = False OldCreateOrder = False
OnHide = FormHide OnHide = FormHide
......
...@@ -9,12 +9,12 @@ object ConfigWizard: TConfigWizard ...@@ -9,12 +9,12 @@ object ConfigWizard: TConfigWizard
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -13 Font.Height = -13
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
OldCreateOrder = False OldCreateOrder = False
Position = poScreenCenter Position = poScreenCenter
OnShow = FormShow OnShow = FormShow
PixelsPerInch = 120 PixelsPerInch = 96
TextHeight = 16 TextHeight = 16
object Shape1: TShape object Shape1: TShape
Left = 0 Left = 0
...@@ -599,7 +599,7 @@ object ConfigWizard: TConfigWizard ...@@ -599,7 +599,7 @@ object ConfigWizard: TConfigWizard
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -15 Font.Height = -15
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [fsBold] Font.Style = [fsBold]
ParentFont = False ParentFont = False
end end
...@@ -1084,7 +1084,7 @@ object ConfigWizard: TConfigWizard ...@@ -1084,7 +1084,7 @@ object ConfigWizard: TConfigWizard
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -15 Font.Height = -15
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [fsBold] Font.Style = [fsBold]
ParentFont = False ParentFont = False
end end
...@@ -1136,7 +1136,7 @@ object ConfigWizard: TConfigWizard ...@@ -1136,7 +1136,7 @@ object ConfigWizard: TConfigWizard
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -15 Font.Height = -15
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [fsBold] Font.Style = [fsBold]
ParentFont = False ParentFont = False
end end
......
...@@ -14,7 +14,7 @@ object CtrlPathDialog: TCtrlPathDialog ...@@ -14,7 +14,7 @@ object CtrlPathDialog: TCtrlPathDialog
DesignSize = ( DesignSize = (
473 473
114) 114)
PixelsPerInch = 120 PixelsPerInch = 96
TextHeight = 16 TextHeight = 16
object Bevel1: TBevel object Bevel1: TBevel
Left = 10 Left = 10
......
...@@ -8,11 +8,6 @@ object EventsForm: TEventsForm ...@@ -8,11 +8,6 @@ object EventsForm: TEventsForm
DefaultMonitor = dmPrimary DefaultMonitor = dmPrimary
DragKind = dkDock DragKind = dkDock
DragMode = dmAutomatic DragMode = dmAutomatic
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -10
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False OldCreateOrder = False
OnHide = FormHide OnHide = FormHide
PixelsPerInch = 96 PixelsPerInch = 96
...@@ -27,7 +22,7 @@ object EventsForm: TEventsForm ...@@ -27,7 +22,7 @@ object EventsForm: TEventsForm
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite Font.Color = clWhite
Font.Height = -12 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
HideScrollBars = False HideScrollBars = False
ParentFont = False ParentFont = False
......
...@@ -6,7 +6,11 @@ object FtpCfgDlg: TFtpCfgDlg ...@@ -6,7 +6,11 @@ object FtpCfgDlg: TFtpCfgDlg
ClientHeight = 245 ClientHeight = 245
ClientWidth = 286 ClientWidth = 286
Color = clBtnFace Color = clBtnFace
ParentFont = True Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Microsoft Sans Serif'
Font.Style = []
OldCreateOrder = True OldCreateOrder = True
Position = poScreenCenter Position = poScreenCenter
OnShow = FormShow OnShow = FormShow
......
...@@ -10,8 +10,8 @@ object FtpForm: TFtpForm ...@@ -10,8 +10,8 @@ object FtpForm: TFtpForm
DragMode = dmAutomatic DragMode = dmAutomatic
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -10 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
OldCreateOrder = False OldCreateOrder = False
OnHide = FormHide OnHide = FormHide
...@@ -147,7 +147,7 @@ object FtpForm: TFtpForm ...@@ -147,7 +147,7 @@ object FtpForm: TFtpForm
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite Font.Color = clWhite
Font.Height = -12 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
HideScrollBars = False HideScrollBars = False
ParentFont = False ParentFont = False
......
...@@ -8,8 +8,8 @@ object LoginAttemptsForm: TLoginAttemptsForm ...@@ -8,8 +8,8 @@ object LoginAttemptsForm: TLoginAttemptsForm
Color = clBtnFace Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
FormStyle = fsStayOnTop FormStyle = fsStayOnTop
OldCreateOrder = False OldCreateOrder = False
......
...@@ -6,7 +6,11 @@ object MailCfgDlg: TMailCfgDlg ...@@ -6,7 +6,11 @@ object MailCfgDlg: TMailCfgDlg
ClientHeight = 246 ClientHeight = 246
ClientWidth = 286 ClientWidth = 286
Color = clBtnFace Color = clBtnFace
ParentFont = True Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Microsoft Sans Serif'
Font.Style = []
OldCreateOrder = True OldCreateOrder = True
Position = poScreenCenter Position = poScreenCenter
OnShow = FormShow OnShow = FormShow
......
...@@ -11,8 +11,8 @@ object MailForm: TMailForm ...@@ -11,8 +11,8 @@ object MailForm: TMailForm
DragMode = dmAutomatic DragMode = dmAutomatic
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
OldCreateOrder = False OldCreateOrder = False
Position = poDefault Position = poDefault
...@@ -150,7 +150,7 @@ object MailForm: TMailForm ...@@ -150,7 +150,7 @@ object MailForm: TMailForm
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite Font.Color = clWhite
Font.Height = -12 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
HideScrollBars = False HideScrollBars = False
ParentFont = False ParentFont = False
......
...@@ -9,8 +9,8 @@ object MainForm: TMainForm ...@@ -9,8 +9,8 @@ object MainForm: TMainForm
DragMode = dmAutomatic DragMode = dmAutomatic
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
Icon.Data = { Icon.Data = {
0000010001002020100000000000E80200001600000028000000200000004000 0000010001002020100000000000E80200001600000028000000200000004000
...@@ -11,8 +11,8 @@ object NodeForm: TNodeForm ...@@ -11,8 +11,8 @@ object NodeForm: TNodeForm
DragMode = dmAutomatic DragMode = dmAutomatic
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite Font.Color = clWhite
Font.Height = -11 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
OldCreateOrder = False OldCreateOrder = False
Position = poDefault Position = poDefault
......
...@@ -8,14 +8,14 @@ object PreviewForm: TPreviewForm ...@@ -8,14 +8,14 @@ object PreviewForm: TPreviewForm
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -14 Font.Height = -14
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
OldCreateOrder = False OldCreateOrder = False
PopupMenu = PopupMenu PopupMenu = PopupMenu
Position = poDefaultPosOnly Position = poDefaultPosOnly
OnClose = FormClose OnClose = FormClose
OnShow = FormShow OnShow = FormShow
PixelsPerInch = 120 PixelsPerInch = 96
TextHeight = 16 TextHeight = 16
object PopupMenu: TPopupMenu object PopupMenu: TPopupMenu
Left = 144 Left = 144
......
...@@ -6,7 +6,11 @@ object PropertiesDlg: TPropertiesDlg ...@@ -6,7 +6,11 @@ object PropertiesDlg: TPropertiesDlg
ClientHeight = 234 ClientHeight = 234
ClientWidth = 352 ClientWidth = 352
Color = clBtnFace Color = clBtnFace
ParentFont = True Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Microsoft Sans Serif'
Font.Style = []
OldCreateOrder = True OldCreateOrder = True
Position = poScreenCenter Position = poScreenCenter
ShowHint = True ShowHint = True
...@@ -723,7 +727,7 @@ object PropertiesDlg: TPropertiesDlg ...@@ -723,7 +727,7 @@ object PropertiesDlg: TPropertiesDlg
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -13 Font.Height = -13
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
MinFontSize = 0 MinFontSize = 0
MaxFontSize = 0 MaxFontSize = 0
......
...@@ -6,11 +6,6 @@ object ServicesCfgDlg: TServicesCfgDlg ...@@ -6,11 +6,6 @@ object ServicesCfgDlg: TServicesCfgDlg
ClientHeight = 245 ClientHeight = 245
ClientWidth = 286 ClientWidth = 286
Color = clBtnFace Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -10
Font.Name = 'MS Sans Serif'
Font.Style = []
Icon.Data = { Icon.Data = {
0000010001002020100000000000E80200001600000028000000200000004000 0000010001002020100000000000E80200001600000028000000200000004000
0000010004000000000080020000000000000000000000000000000000000000 0000010004000000000080020000000000000000000000000000000000000000
...@@ -36,6 +31,11 @@ object ServicesCfgDlg: TServicesCfgDlg ...@@ -36,6 +31,11 @@ object ServicesCfgDlg: TServicesCfgDlg
000FF800000FFC00001FFE00001FE0000001C000000180000001800000018000 000FF800000FFC00001FFE00001FE0000001C000000180000001800000018000
00018000000180000001FC00001FFC00001FFE00001FFC00000FF800000FF800 00018000000180000001FC00001FFC00001FFE00001FFC00000FF800000FF800
001FF800003FFC180C7FFE380EFFFFF80FFFFFF80FFFFFF80FFFFFFFFFFF} 001FF800003FFC180C7FFE380EFFFFF80FFFFFF80FFFFFF80FFFFFFFFFFF}
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Microsoft Sans Serif'
Font.Style = []
OldCreateOrder = False OldCreateOrder = False
Position = poScreenCenter Position = poScreenCenter
OnClose = FormClose OnClose = FormClose
......
...@@ -9,8 +9,8 @@ object ServicesForm: TServicesForm ...@@ -9,8 +9,8 @@ object ServicesForm: TServicesForm
DragKind = dkDock DragKind = dkDock
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -10 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
OldCreateOrder = False OldCreateOrder = False
OnHide = FormHide OnHide = FormHide
...@@ -131,7 +131,7 @@ object ServicesForm: TServicesForm ...@@ -131,7 +131,7 @@ object ServicesForm: TServicesForm
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite Font.Color = clWhite
Font.Height = -12 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
HideScrollBars = False HideScrollBars = False
ParentFont = False ParentFont = False
......
...@@ -6,7 +6,11 @@ object SoundCfgDlg: TSoundCfgDlg ...@@ -6,7 +6,11 @@ object SoundCfgDlg: TSoundCfgDlg
ClientHeight = 186 ClientHeight = 186
ClientWidth = 313 ClientWidth = 313
Color = clBtnFace Color = clBtnFace
ParentFont = True Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Microsoft Sans Serif'
Font.Style = []
OldCreateOrder = True OldCreateOrder = True
Position = poScreenCenter Position = poScreenCenter
OnShow = FormShow OnShow = FormShow
......
...@@ -10,7 +10,7 @@ object SpyForm: TSpyForm ...@@ -10,7 +10,7 @@ object SpyForm: TSpyForm
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -10 Font.Height = -10
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
FormStyle = fsStayOnTop FormStyle = fsStayOnTop
Icon.Data = { Icon.Data = {
......
...@@ -12,8 +12,8 @@ object StatsForm: TStatsForm ...@@ -12,8 +12,8 @@ object StatsForm: TStatsForm
DragMode = dmAutomatic DragMode = dmAutomatic
Font.Charset = ANSI_CHARSET Font.Charset = ANSI_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -10 Font.Height = -12
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
OldCreateOrder = False OldCreateOrder = False
OnHide = FormHide OnHide = FormHide
...@@ -26,13 +26,7 @@ object StatsForm: TStatsForm ...@@ -26,13 +26,7 @@ object StatsForm: TStatsForm
Height = 143 Height = 143
Caption = 'Today' Caption = 'Today'
Color = clBtnFace Color = clBtnFace
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentColor = False ParentColor = False
ParentFont = False
TabOrder = 0 TabOrder = 0
object LogonsTodayLabel: TLabel object LogonsTodayLabel: TLabel
Left = 7 Left = 7
......
...@@ -8,7 +8,7 @@ object StatsLogForm: TStatsLogForm ...@@ -8,7 +8,7 @@ object StatsLogForm: TStatsLogForm
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -13 Font.Height = -13
Font.Name = 'MS Sans Serif' Font.Name = 'Microsoft Sans Serif'
Font.Style = [] Font.Style = []
Icon.Data = { Icon.Data = {
0000010001002020100000000000E80200001600000028000000200000004000 0000010001002020100000000000E80200001600000028000000200000004000
...@@ -38,7 +38,7 @@ object StatsLogForm: TStatsLogForm ...@@ -38,7 +38,7 @@ object StatsLogForm: TStatsLogForm
OldCreateOrder = False OldCreateOrder = False
Position = poScreenCenter Position = poScreenCenter
OnShow = FormShow OnShow = FormShow
PixelsPerInch = 120 PixelsPerInch = 96
TextHeight = 16 TextHeight = 16
object Log: TMemo object Log: TMemo
Left = 0 Left = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment